Running surefire-reports task after running a single test class (Run/Debug Configurations & Maven)

Is there a way to run Maven's surefire-report task after running a single test class? When the goals in Run Configurations/Parameters tab are given as

test -Dtest=ClassToTest surefire-report:report-only

it runs the test but not the report. The reporting task works when using it as a single goal, so it does work in general. Is this a bug or is there a workaround for it?

1 comment

And by the way, I'm using Idea 9.0.3 (community edition). :)

0

Please sign in to leave a comment.