hibernate/hibernate-ogm — pull request #64 by seiyak (2012-04-05 16:58:15+00:00)
Title: Correct test* method in PerfTest not to be treated as tests

Hi,

I've just updated my code and run all the tests with my modification. All the tests passed. Looks like removing the `TestCase` inheritance from `JpaTestCase` is a cleaner solution and it's consistent. Other test methods in `hibernate-ogm` are annotated by `@Test`, so they don't have to be derived from `TestCase` directly or indirectly but they run correctly because of the annotation.

When I just changed the test* method names and ran all the tests, I got

Failed tests: warning(junit.framework.TestSuite$1): No tests found in org.hibernate.ogm.test.perf.PerfTest
Tests run: 31, Failures: 1, Errors: 0, Skipped: 0

Maven/Surefire still looks for test* methods in the class since `PerfTest` class was derived from `JpaTestCase` which is derived from `TestCase`. And if the methods are not found, it considers it as a failure.

If you think that the tests in `PerfTest` are skipped correctly without any settings in `pom.xml` as I mentioned, please discard this request. I'll continue to investigate more on it.

Thank you
Seiya