wide-midnight-78598
06/22/2024, 3:27 PMThis also gives you fine-grained invalidation. If you runAs in, if I change, and then you only change one file, then only tests that depended on that changed file will need to rerun.pants test ::
foo
and bar
, baz
, and thud
rely on foo - I expect each of those targets tests to re-run.
But what if foo
is in a package, and the generated pex_binary
is depended on by 5 other subprojects in a monorepo - would the tests for those subproejcts also kick off?wide-midnight-78598
06/22/2024, 3:27 PMtest
goal for pythondamp-crowd-4950
06/22/2024, 5:01 PMwide-midnight-78598
06/22/2024, 5:23 PMpytest
seems to check for transitive dependencies, but I wasn't sure if it tests them or not offhandedly.
As in pants --transitive test foo
vs pants test foo
- whether the transitive is redundant on test targetswide-midnight-78598
06/22/2024, 5:34 PMRun Pytest for batch of foo_tests and 60 other files
Shouldn't 32 be the cap?damp-crowd-4950
06/22/2024, 8:48 PM# pants-plugins/BUILD:
pants_requirements(name="pants")
this requirement seems to be incompatible with fastapi.. because I didn't regenerate the lock file until now, I didn't see it and I had completely forgotten the plugin..
removing pants_requirements make everything works again..
But there is still there the issue.. is not affecting me now.. but is still there.