proud-dentist-22844
05/17/2021, 4:02 PMtests to unit-tests or similar?
ie for python_tests() is adjusting name= or tags= preferable for distinguishing unit/integration tests?
If tags= is the better option, then what is the purpose of name=?happy-kitchen-89482
05/17/2021, 4:51 PMhappy-kitchen-89482
05/17/2021, 4:52 PMhappy-kitchen-89482
05/17/2021, 4:52 PM./pants list ::test and any variants I could think of gives an errorhappy-kitchen-89482
05/17/2021, 4:53 PMhappy-kitchen-89482
05/17/2021, 4:53 PMname= is for addressing individual targets, e.g., in dependencies= of other targets, or on the cmd line if necessaryhappy-kitchen-89482
05/17/2021, 4:54 PMhappy-kitchen-89482
05/17/2021, 4:54 PM:: globbing now, and whether it could work with target namesproud-dentist-22844
05/17/2021, 4:55 PM::test 😉
Is there any case where you would put a test target in a dependencies= field? Why would anything depend on a python_tests target?proud-dentist-22844
05/17/2021, 4:59 PMproud-dentist-22844
05/17/2021, 5:25 PMname="integration" https://www.pantsbuild.org/v2.5/docs/advanced-target-selection#tags-annotating-targetshappy-kitchen-89482
05/17/2021, 7:27 PMdependencies=, nothing comes to mind, as we move towards "targets are just metadata applied to source files" it's certainly possible that not all targets have addresses.happy-kitchen-89482
05/17/2021, 7:28 PMintegration, but the name isn't used in target selection AFAICT.