It was named ending in IT, but the only way I got it to run was to run all
of them with a mvn install. I wanted to just run one by hand.

-- Larry


On Thu, Nov 8, 2012 at 2:57 PM, Kristian Rosenvold <
kristian.rosenv...@zenior.no> wrote:

> Test name must probably end with IT
>
> Kristian
>
> Den 8. nov. 2012 kl. 22:51 skrev "Larry Shatzer, Jr." <lar...@gmail.com>:
>
> > Created: http://jira.codehaus.org/browse/SUREFIRE-926
> >
> > As mentioned in the bug, I'm trying to create integration tests to
> exhibit
> > this behavior, but having a few problems. Also, is there an easy way to
> run
> > just one, or two integration tests by hand? I tried -Dit.test=MyNewTest
> but
> > it didn't run anything...
> >
> > Thanks
> >
> > -- Larry
> >
> > On Thu, Nov 8, 2012 at 12:11 AM, Kristian Rosenvold <
> > kristian.rosenv...@gmail.com> wrote:
> >
> >> This seems to be a bug; would you mind filing an issue
> >> http://jira.codehaus.org/browse/SUREFIRE ?
> >>
> >> Kristian
> >>
> >>
> >> 2012/11/8 Larry Shatzer, Jr. <lar...@gmail.com>:
> >>> I'm using a fairly recent feature of Surefire where you can specify
> >>> multiple providers (
> >>
> http://maven.apache.org/plugins/maven-surefire-plugin/examples/providers.html
> >>> )
> >>>
> >>> I'm using both TestNG and Junit. Here is the secion of the pom in
> >> question:
> >>>
> >>>  <plugin>
> >>>    <groupId>org.apache.maven.plugins</groupId>
> >>>    <artifactId>maven-surefire-plugin</artifactId>
> >>>    <version>2.12.4</version>
> >>>    <dependencies>
> >>>      <dependency>
> >>>        <groupId>org.apache.maven.surefire</groupId>
> >>>        <artifactId>surefire-testng</artifactId>
> >>>        <version>2.12.4</version>
> >>>      </dependency>
> >>>      <dependency>
> >>>        <groupId>org.apache.maven.surefire</groupId>
> >>>        <artifactId>surefire-junit4</artifactId>
> >>>        <version>2.12.4</version>
> >>>      </dependency>
> >>>    </dependencies>
> >>>  </plugin>
> >>>
> >>> When I go to run release:prepare where I have a JUnit test either error
> >> or
> >>> fail, it will continue like everything is fine, and allow the release
> >> with
> >>> test failures or errors!
> >>>
> >>> Here is the output from running release:prepare
> >>>
> >>> http://pastebin.com/Z94egP3E
> >>>
> >>> When I then have a TestNG failure, I get what I expect (a failure):
> >>>
> >>> http://pastebin.com/yJufszdN
> >>>
> >>> I'm not sure if this is a bug with the Release plugin, Surefire, or can
> >> be
> >>> helped with any extra configuration of either the Release plugin or
> >>> Surefire...
> >>>
> >>> Thanks!
> >>>
> >>> -- Larry
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> >> For additional commands, e-mail: dev-h...@maven.apache.org
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to