[GRADLE-713] TestNG tests not executed when @Test annotation is used for class Created: 21/Oct/09 Updated: 04/Jan/13 Resolved: 24/Nov/10 | 
|
| Status: | Resolved | 
| Project: | Gradle | 
| Affects Version/s: | 0.8 | 
| Fix Version/s: | 0.9-rc-1 | 
| Type: | Bug | ||
| Reporter: | Tomek Kaczanowski | Assignee: | Tom Eyckmans | 
| Resolution: | Fixed | Votes: | 0 | 
| Attachments: | 
 | 
| Description | 
| 
 TestNG tests not executed when @Test annotation is used for class such behaviour is not compatible with what TestNG users can expect. See TestNG documentation: for example tests from this class will not be executed import org.testng.annotations.Test; @Test public void testMyClass() { assertTrue(false); }} run "gradle test" on the attached project to see it happening (or rather not happening)  | 
| Comments | 
| Comment by Tom Eyckmans [ 05/Nov/09 ] | 
| 
 Hi Tomek, I wasn't aware of this, I'll add this to our test class detection. Thanks for reporting this.  |