We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c11c7d3 commit 9ae8d76Copy full SHA for 9ae8d76
1 file changed
TESTING.md
@@ -1,5 +1,15 @@
1
# Testing 🧪🧫 in Fiji / ImageJ2
2
3
+## Using 🎭 Poetry, pytest 🐍🔬 and Python 3 for plain Python code
4
+
5
+The easiest way to run [`pytest`][pytest] (using Python 3) is when you're
6
+already having a working [poetry] setup. In that case tests can simply be run by
7
+using the `run-poetry.sh` wrapper script, for example:
8
9
+```bash
10
+scripts/run-poetry.sh run pytest tests/test_misc.py
11
+```
12
13
## Using pytest 🐍🔬 and Python 3 for plain Python code
14
15
Those parts of the package that do not interact / depend on ImageJ objects can
0 commit comments