seratch / scalatest

Automatically exported from code.google.com/p/scalatest
Apache License 2.0
0 stars 0 forks source link

Scalatest-maven-plugin may not include test report in site #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. scalatest-maven-plugin 1.0-M2 is included in the <reporting> section of the 
POM with no configuration
2. run "mvn site" (I'm running in mvn3)
3. The reporting goal does not appear to be executed and consequently the 
ScalaTest output is not included in the site.

What is the expected output? What do you see instead?
The reporting goal should execute, which runs the tests and then includes the 
text of the generated file between <pre> tags within an HTML page.  Instead, 
the goal is doing nothing (or not running at all).

Interestingly, the integration tests DO run the goal as expected when built 
with the same version of Maven.  There must be something different with the way 
my project is configured.  My guess is that the empty "execute" method is being 
called instead of the expected "generate" method, which happens when the goal 
is ran directly.  However, when ran as part of the site lifecycle it appears 
(up to now, anyway) that generate is called instead of execute.

Original issue reported on code.google.com by trenchgu...@gmail.com on 6 Jul 2012 at 12:53

GoogleCodeExporter commented 8 years ago
Ok, I don't know what I did, but I cannot reproduce this issue now.  I'll keep 
an eye out for it to see if it happens again, but for now we can chalk it up to 
some misconfiguration somewhere.

Original comment by trenchgu...@gmail.com on 10 Jul 2012 at 1:30