maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Glick (JIRA)" <>
Subject [jira] Commented: (SUREFIRE-577) running only some method of a unit class (with -Dtest=MyClass#myMethod)
Date Thu, 10 Mar 2011 21:28:22 GMT


Jesse Glick commented on SUREFIRE-577:

Seems to be working well in 2.8 from the staging repo. I have prepared a patch for NetBeans
to use this to enable the action Run Focused Test from the editor context menu for a project
using Surefire 2.8+. (It already worked if you bypass Maven for running individual tests,
which is the default behavior; but there is the option to use Maven + Surefire even for single
test suites - useful for people with unusual build setups - which will now work also with
single test cases.) I will plan to incorporate in NB 7.1. Thanks!

By the way I am the integrator (not original author) of the corresponding feature in Ant 1.8.2.

> running only some method of a unit class (with -Dtest=MyClass#myMethod)
> -----------------------------------------------------------------------
>                 Key: SUREFIRE-577
>                 URL:
>             Project: Maven Surefire
>          Issue Type: New Feature
>          Components: Maven Surefire Plugin
>            Reporter: Olivier Lamy
>            Assignee: Olivier Lamy
>             Fix For: 2.8
> I definitely don't know if it's possible with junit.
> But it's an idea, I have now :-).

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message