Issue Details (XML | Word | Printable)

Key: OPENJPA-123
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Patrick Linskey
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenJPA

Test framework should allow tests that are expected to fail to be checked in

Created: 01/Feb/07 07:05 AM   Updated: 12/Nov/09 08:23 AM
Return to search
Component/s: build / infrastructure
Affects Version/s: None
Fix Version/s: 2.0.0-M1, 2.0.0-M2, 2.0.0-M3, 2.0.0-M4

Time Tracking:
Not Specified

Issue Links:
Dependants
 
Reference
 

Resolution Date: 12/Nov/09 08:23 AM


 Description  « Hide
Often, tests are developed before solutions are implemented. It should be possible for us to check in such tests to svn without causing the build to fail.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Patrick Linskey added a comment - 01/Feb/07 07:31 AM
OPENJPA-122 is an example of a test case that should have been commitable before the behavior was implemented.

Marc Prud'hommeaux added a comment - 01/Feb/07 07:59 AM
I believe the Maven test plugin ("surefire") supports both JUnit and TestNG at the same time. If so, then we could use the TestNG concept of "groups" (http://testng.org/doc/documentation-main.html#test-groups) to be able to specify groups for bugs that we expect to fail.

Dain Sundstrom added a comment - 01/Feb/07 06:48 PM
You can list excluded tests in the maven pom. If you are using TestNG, there is a way to configure that in the pom also. See the surefire plugin documentation here:

http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html


Patrick Linskey added a comment - 01/Feb/07 07:03 PM
I think that I prefer moving to TestNG; I like the idea of keeping the information about whether or not the test should run colocated with the test itself, rather than separated out into the pom.

Pinaki Poddar added a comment - 12/Nov/09 08:23 AM
We now have multiple mechanisms to suppress a test failure.