email-ext test failures

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

email-ext test failures

slide
I'm making a few mods to the email-ext plugin and am currently getting the following test failures, that I don't quite understand

Failed tests:
  testPreBuildTriggerShouldAlwaysSendEmail(hudson.plugins.emailext.ExtendedEmailPublisherTest): expected:<1> but was:<0>
  testSuccessTriggerShouldSendEmailWhenBuildSucceeds(hudson.plugins.emailext.ExtendedEmailPublisherTest): expected:<1> but was:<0>
  testFixedTriggerShouldSendEmailWhenBuildIsFixed(hudson.plugins.emailext.ExtendedEmailPublisherTest): expected:<1> but was:<0>
  testStillFailingTriggerShouldSendEmailWhenBuildContinuesToFail(hudson.plugins.emailext.ExtendedEmailPublisherTest): We should only have one email since the first failure doesn't count as 'still failing'. expected:<1> but was:<0>
  testShouldSendEmailUsingUtf8ByDefault(hudson.plugins.emailext.ExtendedEmailPublisherTest): We should an email since the build failed. expected:<1> but was:<0>

What is the easiest way to just run those specific tests? I am not a Java guy, so I don't know the toolset very well.

Thanks,

slide

--
slide-o-blog
http://slide-o-blog.blogspot.com/
Reply | Threaded
Open this post in threaded view
|

Re: email-ext test failures

Alan Harder-2
I think this should work:
mvn test
-Dtest=ExtendedEmailPublisherTest#testPreBuildTriggerShouldAlwaysSendEmail


On 05/23/11 16:47, Slide wrote:
>
> What is the easiest way to just run those specific tests? I am not a
> Java guy, so I don't know the toolset very well.
>