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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -