File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -395,9 +395,16 @@ total = numeric_sum(some_numeric_values)
395395
396396We recommend using Pytest for running tests in your development environments. To
397397run unit tests in your source folder, from your package root, use
398- ` pytest {path/to/source} ` . To run tests from an installed package (outside of
398+ ` pytest {path/to/source} ` .
399+ To run tests from an installed package (outside of
399400your source repository), use ` pytest --pyargs {package name} ` .
400401
402+ You can set the default test path in ` pyproject.toml ` , see:
403+ [ Configuring pytest] ({% link pages/tutorials/test.md %}#configuring-pytest)
404+
405+ We recommend configuring pytest to run ONLY your fastest, least demanding test suite by default.
406+
407+
401408#### Mocking and Patching to Isolate the code under test
402409
403410When the unit you are testing touches any external unit (usually something you
You can’t perform that action at this time.
0 commit comments