quaint-telephone-89068
01/11/2023, 5:20 PM./pants test on a python_test with skip_tests=True, I get a warning like:
12:13:45.44 [WARN] No applicable files or targets matched. The `test` goal works with these target types:
* python_test
* shunit2_test
However, you only specified file arguments with these target types:
* python_test
Please specify relevant file and/or target arguments. Run `./pants --filter-target-type=python_test,shunit2_test list ::` to find all applicable targets in your project, or run `./pants --filter-target-type=python_test,shunit2_test filedeps ::` to find all applicable files.
This is confusing / unhelpful, and the suggested ./pants list run outputs the skipped file which makes things more confusing.
A more helpful message would point out that the matched targets have the correct type, but are skipped.
Pants version
v2.15.0rc1
OS
Both
pantsbuild/pantsuser
01/12/2023, 3:02 PM