Win a copy of Eclipse Collections Categorically: Level up your programming game this week in the Open Source Projects forum!
Forums Login/signup

Get report from running external tests

+Pie Number of slices to send: Send
Hello,

I’m running my Unittests from a CMS, I call in that class the code to start the unittesten of my plugin. Now is my question can I get a report from that? Where I can find the results of the tests.
+Pie Number of slices to send: Send
I am not expert in junit reports, but I am not sure to understand you escenario. Who is triggering your unit tests?

If I have understood your tests are launched inside your running application, aren't they?

If so, options you could try are:
- use cactus http://jakarta.apache.org/cactus/how_it_works.html which has report support (I don't have experience with cactus)
- log your tests and later read the logs
- invoke yourself the junitreport ant task programatically: http://stackoverflow.com/questions/3916717/antcreate-junit-report-task-programmatically
- use a junit runner that generates reports, http://code.google.com/p/reporting-junit-runner/
+Pie Number of slices to send: Send
I call a method inside my plugins and that method activated inside my java code the test code. So they will run the code and I need some feedback from it.
So there I was, trapped in the jungle. And at the last minute, I was saved by this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders


reply
reply
This thread has been viewed 961 times.
Similar Threads
Query regarding PMD reports
Testing with cactus and EJB
Reding File from different machine using Java code
Running JUnit against TomCat server from Ant
what I can do with junit ??
More...

All times above are in ranch (not your local) time.
The current ranch time is
Jul 14, 2025 22:50:41.