https://pantsbuild.org/ logo
h

hundreds-father-404

09/01/2020, 8:46 AM
Would this be what you’re looking for? https://www.pantsbuild.org/v2.0/docs/rules-api-testing#approach-4-run_pants-integration-tests-for-pants This test utility allows you to run full Pants commands as an integration test. In your test, you could run ./pants setup-py for example. You could then do whatever you want with the result, including inspecting the files that were created.