stale-insurance-57290
02/24/2020, 4:10 PM./pants test [...] is invoked? Both
1. file name pattern matching to validate that all files are included in (e.g.) a junit_tests target and 
2. checking that all (e.g.) junit_tests targets are reachable from some target
would be usefulaloof-angle-91616
02/24/2020, 4:18 PM> find tests/ -type f | while read -r file; do
  lines="$(./pants --owner-of="$file" list | wc -l)"
  if [[ "$lines" -ge 1 ]]; then
    echo "found target for $file"
  else
    echo "did not find target for $file"
    exit 1
  fi
donealoof-angle-91616
02/24/2020, 4:19 PM./pants dependencies as well as ./pants dependeesstale-insurance-57290
02/24/2020, 4:23 PM./pants test $TARGET, are there any (e.g.) junit_tests targets in the directory containing $TARGET or any of its subdirectories that won't get runstale-insurance-57290
02/24/2020, 4:24 PMaloof-angle-91616
02/24/2020, 4:26 PM./pants path/to/target/dir::aloof-angle-91616
02/24/2020, 4:27 PMfilter task, which stil requires a separate pants invocationaloof-angle-91616
02/24/2020, 4:27 PMhundreds-father-404
02/24/2020, 4:27 PM./pants --owner-of=“$file” list(This is deprecated. Use
./pants list $file)aloof-angle-91616
02/24/2020, 4:28 PMstale-insurance-57290
02/24/2020, 4:29 PMaloof-angle-91616
02/24/2020, 4:29 PM--query option in those PRs would be useful for you please feel free to weigh in on functionality you might find useful in https://github.com/pantsbuild/pants/pull/7356