Specify which pytest tests to run from a file

How do I select which pytest tests to run from a file?

For example, a file foo.txt containing a list of tests to be executed:

tests_directory/foo.py::test_001
tests_directory/bar.py::test_some_other_test

Similarly,

← Назад к списку