Is there an easy way to run "reflection" python te...
# general
s
Is there an easy way to run "reflection" python tests on pants metadata? I want to run some pants command like
pants list
and feed the result to a python test for processing
b
I've been thinking about (but haven't implemented), a plugin for reflection targets, like
pants_list(generated_file_name="./list.txt")
or
pants_peek(generated_file_name="peek.json")
that are "codegen" targets (generating the given file name) that can be consumed by tests etc.
Other than that, have the tests run outside a sandbox and internally invoke
pants --concurrent ...
might be a way to get the functionality working? not great though
s
Yeah, same thoughts