python - How to test single file under pytest -
how test single file in pytest? find ignore options , no "test file only" option in docs.
preferably work on command line instead of setup.cfg
, run different file tests in ide. entire suite takes long.
simply run py.test
path file
something like
py.test tests/unit/some_test_file.py
Comments
Post a Comment