[infinispan-issues] [JBoss JIRA] (ISPN-2534) Some tests are not picked up by Surefire

Dan Berindei (JIRA) jira-events at lists.jboss.org
Fri Nov 30 10:03:21 EST 2012


    [ https://issues.jboss.org/browse/ISPN-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738510#comment-12738510 ] 

Dan Berindei commented on ISPN-2534:
------------------------------------

There are some more test methods that don't run because they are defined in a base class which doesn't have a @Test annotation (even though the methods are annotated with @Test). E.g. the test methods defined in RehashTestBase.
                
> Some tests are not picked up by Surefire
> ----------------------------------------
>
>                 Key: ISPN-2534
>                 URL: https://issues.jboss.org/browse/ISPN-2534
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 5.2.0.Beta4
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 5.2.0.Final
>
>
> Surefire picks up tests named {{\*Test.java}} and {{Test*.java}}, but not {{\*Test\*.java}}.
> There are some tests that don't follow the {{*Test.java}} naming convention, and because of that they don't run in the test suite:
> ./query/src/test/java/org/infinispan/query/config/MultipleCachesTests.java
> ./query/src/test/java/org/infinispan/query/indexedembedded/BooksExampleTests.java
> ./cli/cli-server/src/test/java/org/infinispan/cli/interpreter/ClusteredCLITests.java
> ./cachestore/jdbc/src/test/java/org/infinispan/loaders/jdbc/stringbased/JdbcStringBasedCacheStoreTest2.java
> ./cachestore/jdbc/src/test/java/org/infinispan/loaders/jdbc/stringbased/JdbcStringBasedCacheStoreVamTest2.java
> ./cachestore/jdbc/src/test/java/org/infinispan/loaders/jdbc/mixed/JdbcMixedCacheStoreTest2.java
> ./cachestore/jdbc/src/test/java/org/infinispan/loaders/jdbc/mixed/JdbcMixedCacheStoreVamTest2.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list