Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/AUTHORING.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ Without Jupyter (in CI, or for a notebook someone else wrote): `labconstrictor-t

`test` runs each tool through a real worker, as the hosts do, on small samples:

The examples below use `small.tif`, a 64 x 64 test image. To make one (any small image works for the smoke test):

```bash
python -c "import numpy, tifffile; tifffile.imwrite('small.tif', numpy.random.default_rng(0).random((64, 64), dtype='float32'))"
```

Then:

```bash
labconstrictor-tools test --module my_app_lc_tools --pythonpath src --cases tests.json
labconstrictor-tools test --module my_app_lc_tools --pythonpath src --sample image=small.tif # a smoke test of every tool
Expand Down
Loading