<#17965 Confusing warning log when running `test` ...
# github-notifications
q
#17965 Confusing warning log when running `test` on a skipped target Issue created by danxmoran Describe the bug If I run
./pants test
on a
python_test
with
skip_tests=True
, I get a warning like:
Copy code
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/pants