You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kim Goings <sm...@mac.com> on 2004/07/28 04:12:31 UTC
junit reports
When I run maven site:generate or maven junit-report:report, I'm not
getting the output I expect for the junit report.
The TESTS-TestSuites.xml file only contains an empty <testsuite>
element. junit-report.html shows that no tests ran. I'm pretty sure
it's finding them b/c if I run maven test:test, it ends with a
successful build and I don't get a message about 'no tests to run'.
Can anyone give me a pointer of where to go next to determine what I
might have wrong?
Thanks,
Kim
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: junit reports
Posted by Kim Goings <sm...@mac.com>.
Found it. (Why is it always two seconds after I post that I figure
things out?) Anyway... When I ran maven test, I was just getting this:
--------------------
build:start:
java:prepare-filesystem:
java:compile:
[echo] Compiling to
/Applications/eclipse/workspace/ECP-BluePrint-Domain/poms/target/
classes
BUILD SUCCESSFUL
Total time: 5 seconds
Finished at: Tue Jul 27 21:47:19 CDT 2004
------------------
It didn't look like the tests were running, but based on what I saw in
plugin.jelly, I would've expected to see 'No tests to run' if it didn't
find anything. I suppose that's only if I had omitted the unitTest
element. (?) Alas, it's not idiot proof. :)
Thanks,
Kim
On Jul 27, 2004, at 9:39 PM, Dion Gillard wrote:
> When you run maven:test is there any output about tests being run at
> all?
>
> On Tue, 27 Jul 2004 21:12:31 -0500, Kim Goings <sm...@mac.com>
> wrote:
>> When I run maven site:generate or maven junit-report:report, I'm not
>> getting the output I expect for the junit report.
>>
>> The TESTS-TestSuites.xml file only contains an empty <testsuite>
>> element. junit-report.html shows that no tests ran. I'm pretty sure
>> it's finding them b/c if I run maven test:test, it ends with a
>> successful build and I don't get a message about 'no tests to run'.
>>
>> Can anyone give me a pointer of where to go next to determine what I
>> might have wrong?
>>
>> Thanks,
>> Kim
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> --
> http://www.multitask.com.au/people/dion/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: junit reports
Posted by Dion Gillard <di...@gmail.com>.
When you run maven:test is there any output about tests being run at all?
On Tue, 27 Jul 2004 21:12:31 -0500, Kim Goings <sm...@mac.com> wrote:
> When I run maven site:generate or maven junit-report:report, I'm not
> getting the output I expect for the junit report.
>
> The TESTS-TestSuites.xml file only contains an empty <testsuite>
> element. junit-report.html shows that no tests ran. I'm pretty sure
> it's finding them b/c if I run maven test:test, it ends with a
> successful build and I don't get a message about 'no tests to run'.
>
> Can anyone give me a pointer of where to go next to determine what I
> might have wrong?
>
> Thanks,
> Kim
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
http://www.multitask.com.au/people/dion/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org