JUnit output/results

Is there a way to get the results of JUnit tests run within IDEA into some
kind of "pretty" report? I need to be able to check my results into a
repository to prove they've been run and passed.

--
"A man's ethical behavior should be based effectually on sympathy,
education, and social ties and needs; no religious basis is necessary. Man
would indeed be in a poor way if he had to be restrained by fear of
punishment and hope of reward after death."
[Albert Einstein, "Religion and Science", New York Times Magazine, 9
November 1930]


3 comments
Comment actions Permalink

Is there a way to get the results of JUnit tests run within IDEA into
some kind of "pretty" report? I need to be able to check my results
into a repository to prove they've been run and passed.


Check out the Ant JUnit (http://ant.apache.org/manual/OptionalTasks/junit.html)
and JUnitReport (http://ant.apache.org/manual/OptionalTasks/junitreport.html)
tasks. They work well for us.

Tobin



0
Comment actions Permalink

Thanks for the reply. Actually, we already use JUnitReport with our Ant
build for straight JUnit tests but these tests are StrutsTest/Cactus tests
that I run from within IDEA because I don't want to run our full build
(which takes almost 2 minutes) every time. I was just hoping there was a
plugin or some option I'm missing in IDEA to export the contents of the
results window.

"Tobin Juday" <tsjuday@checkfree.com> wrote in message
news:1028771632514160453478447@news.intellij.net...
>> Is there a way to get the results of JUnit tests run within IDEA into
>> some kind of "pretty" report? I need to be able to check my results
>> into a repository to prove they've been run and passed.
>

Check out the Ant JUnit
(http://ant.apache.org/manual/OptionalTasks/junit.html) and JUnitReport
(http://ant.apache.org/manual/OptionalTasks/junitreport.html) tasks. They
work well for us.

>

Tobin

>
>



0
Comment actions Permalink

Ahhh. Well there's nothing that I know of. But it wouldn't probably wouldn't
be too hard to write a plugin that did this sort of thing (this coming from
someone who has never written a plugin).

Tobin


0

Please sign in to leave a comment.