PSA: it's now feasible to incrementally port your ...
# general
h
PSA: it's now feasible to incrementally port your tests to Pants! You can combine the
skip_tests
field with this nifty query, then pipe the output into your original test runner:
Copy code
./pants filter --target-type=python_test :: | \
  xargs ./pants peek | \
  jq -r '.[] | select(.skip_tests== true) | .["sources"][]'
Now documented at https://www.pantsbuild.org/v2.8/docs/existing-repositories#3-set-up-tests
monthly thank you to @flat-zoo-31952 for
peek
and to @proud-dentist-22844 and @rapid-bird-79300 for the ideas behind
skip_tests
🙇 Still one of my fav features of Pants
3
❤️ 3
😊 1