radeklat / delfino

A toolbox of command line helper script, wrapping tools used during Python development.
MIT License
12 stars 3 forks source link

Fix test type detection #13

Closed jacksmith15 closed 2 years ago

jacksmith15 commented 2 years ago

Currently if the --debug is not provided to delfino test, then an empty positional argument is passed to pytest. This is interpreted as "current directory" by pytest, which means that each test type runs the full suite of tests available under the project root directory (assuming the command is run from the root).

This PR updates the pytest invocation to omit the -s argument if --debug is not supplied.

jacksmith15 commented 2 years ago

Superseded by https://github.com/radeklat/delfino/pull/15