rhythmic-morning-87313
05/15/2022, 4:45 AMpython_tests()
with pytest? (i.e., select specific test(s) to run)rhythmic-morning-87313
05/15/2022, 4:47 AM./pants test tests/manager/test_scheduler.py:
and but could not so for individual cases.green-match-66337
05/15/2022, 4:54 AMgreen-match-66337
05/15/2022, 4:55 AMrhythmic-morning-87313
05/15/2022, 5:51 AM-k
option is for selecting markersrhythmic-morning-87313
05/15/2022, 5:51 AMrhythmic-morning-87313
05/15/2022, 5:53 AMrhythmic-morning-87313
05/15/2022, 5:53 AMgreen-match-66337
05/15/2022, 9:07 AM# Run just one test.
❯ ./pants test helloworld/util/lang_test.py -- -k test_language_translator
rhythmic-morning-87313
05/15/2022, 9:16 AMpython_tests()
does not make the test cases recognized by pantsrhythmic-morning-87313
05/15/2022, 9:16 AMname
kwarg to python_tests()
which is automatically added by ./pants tailor
in a subdirectory of test suite.happy-kitchen-89482
05/15/2022, 2:52 PMname
, if there isn't one then the target name defaults to the name of the enclosing directory. But that means that only one target in a directory can omit the name
. Was that the case?