Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get report from running external tests

 
Gynnad Paullussen
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
enric jaen
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
Gynnad Paullussen
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic