Open joehoag opened 1 week ago
What is Orchestrator? I'm not aware of it
Orchestrator clears out all app state before each test, and runs each test in its own instrumentation "sandbox". It is used to make sure that each test is run "fresh" and is not affected by leftover state from previous tests.
One thing that you could do is to merge the Junit XML reports together. I remember the junit-merge tool but I haven't tested in a while. There are other though. Maybe that addresses your goal. I have no experience with Orchestractor.
Thanks. We would pursue a merging solution as a last resort. Right now I'm working on finding some sort of hook that tells me when all of my tests have completed running. With that, I could tweak EnhancedLegacyXmlReportGeneratingListener.java to only produce the results file once all tests have completed.
@joehoag if you find it, that would be great if it could generalized and eventually included on this project. Can you get a sample and simple project that showcases the current behaviour so I can eventually try to replicate it?
Hello. I am attempting to use xray-junit-extensions for an Android project. When we enable Orchestrator, I think that each test is interpreted as an individual test plan, and so we get a separate XML results file for each test / test case. So if we ran 1000 tests, we would get 1000 xml results files.
When we disable Orchestrator, we get the expected result: a single XML results file that contains all test cases.
We need to have Orchestrator enabled. Can you give me any advice as to how to overcome the one-results-file-per-test-case problem?