maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Calderoni (JIRA)" <>
Subject [jira] (SUREFIRE-1066) version 2.14.1 runs tests only if named *
Date Mon, 03 Mar 2014 17:49:59 GMT


Max Calderoni commented on SUREFIRE-1066:

Was not able to get hold of person yet. I think we can close this and maybe reopen if we find
anything later. Going to try today, else going to close this issue today, thanks.

> version 2.14.1 runs tests only if named *
> --------------------------------------------------
>                 Key: SUREFIRE-1066
>                 URL:
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.14.1, 2.16
>            Reporter: Max Calderoni
> This is a regression from 2.11, where it was working fine.
> For TestNG (and JUnit) tests, in order to be run by surefire, all you needed to do is
to get the correct annotations in place (@Test) regardless of the name of your test classes.
> Looks like between version 2.11 and 2.14.1 surefire started *not* running classes whose
name did not end with the word 'Test' (like it was few years back, when there were no annotations).
> That means that upgrading to 2.16 will break previous test code.

This message was sent by Atlassian JIRA

View raw message