modern-laptop-2439904/23/2022, 3:42 AM
and generating a cucumber.json report as a result of multiple test files being executed? I'm finding since a pants session is per-file, using the
option results in pants over-writing the cucumber JSON with the latest test-file execution.
happy-kitchen-8948204/24/2022, 11:38 PM
points to some global location? Yeah, that won't work. This is similar to coverage reports, which we handle specially, so we might have to do the same here.
modern-laptop-2439904/25/2022, 4:35 PM
soYeah - I looked at their code. Pretty basic file-write at the end of an execution.points to some global location?
Alternatively, is having a separate cucumber JSON file per test file useful? Or do they really need to be merged to one file to be of use?Similar to a coverage report, the cucumber report is more useful if it shows everything for sure. FWIW on the npm piece - The
piece requires NPM, so perhaps not much by way of overhead.
implementations instead of focusing on migrating to the pants model. #naiveStatements
happy-kitchen-8948204/25/2022, 5:05 PM
modern-laptop-2439904/26/2022, 2:57 PM
Can you elaborate on what you mean by "holistically"? What would the example be in this case?Sure. When executing
there is a single session that tests all modules in scope, whereas
generates a session per python module. I suppose I'm really just speaking to this: https://github.com/pantsbuild/pants/issues/14941
./pants test ::
Alternatively, is having a separate cucumber JSON file per test file useful? Or do they really need to be merged to one file to be of use?I noticed today an option in the
that there's an option to use
to consolidate multiple JSON files... When I get back to this work, I may try this out and statically define a location since
dirs per session. I'll report back what I find.
happy-kitchen-8948204/26/2022, 4:35 PM