Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×The answer:
install an 'instrumentation' in the android manifest for the 'missing junit xml generator' from GitHub.
Google it.
Then after the instrumentation is installed, you can run:
ant emma instrument install test fetch
The last 'fetch' is a custom.properties target to pull the XML files from the emulator
Then, in the Ant build job, you can optionally turn off the 'this build produced junit test results' and use the extra JUnit Parser, or just ust the Test results from the Ant job itself.
Bamboo could be a solution for you. Once the JUnit's are executed as tasks, you could make them artifacts. You can then deploy them using Bamboo's depolyment funcitonality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
couple of things:
1) I dont know what "JUnit's are executed as tasks" means. I know what a task is. I can run "Ant", but I guess you mean "Execute JUnit test cases with 'ant test'".
2) Various projects including "Deployment Projects"...wow! Lot's of information to obsorb. I wish there was a "Quick Start Guide" that just told me what to do. I really hate guessing.
Since I found the Android instrument for producing JUnit test results in XML, and have finally figured out how to use Ant to fetch the results from the emulator, and finally figured out how to use the JUnit Parser in Bamboo, I got 'something'....but still not sure if this is 'best practice'.
When buying bamboo, you should be 'told what to do' instead of trying to figure it out. Why does everyone have to recreate the wheel? Let's get best practices out there. Bamboo and Atlassian should differentiate itself from Jenkins/Hudson. Don't make people PAY to figure out how to use your software (Atlassian University). You should invest in this training for customers and remove the roadblocks to customer adoption.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.