[snip]
Luciano Resende wrote:
Hi Raymond

1) What's the naming convention for test suites? Should we name them as
"*TestSuite.java"? If so, we have to adjust the surefire inclusion pattern in pom.xml to recognize the test suites. If we're fine with names such as
"*AllTestCase.java", then the current pattern can work as-is.

I think *TestSuite.java would make more clear the testcases that had
migrated to the suite notation used by JUnit 4.2. Off course, if it's a lot of changes to support the name pattern change in the surefire plugin, I'd be
ok with *AllTestCase.java.

+1 for TestSuite


2) For those test cases intended to be run as part of a suite, I guess we
should name them as something like "*Test.java" which doesn't match the
surefire inclusion pattern. This way, these test cases will not be run out
of the suite. Right?

+1


+1, I tried and if you leave them as *TestCase they are run twice, so yes *Test.java makes sense to me.

--
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to