-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
finish reversealphabetical run order and test #5
base: tms-only-runorder
Are you sure you want to change the base?
finish reversealphabetical run order and test #5
Conversation
if ( ! className2.equals( className1 ) ) | ||
{ | ||
return className2.compareTo( className1 ); | ||
} | ||
else | ||
{ | ||
return testName2.compareTo( testName1 ); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reduce duplication of code before this if/else block. You can move this if/else block to be lower and then just check for RunOrder.TESTORDER vs. RunOrder.REVERSEALPHEBETICAL at the necessary location
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All reversealphabetical changes should be kept in this branch and another branch and pull request should be created to not have any reverse alphabetical related changes but still have new tests for TESTORDER
@@ -59,4 +62,44 @@ public void testOrderTestClasses() | |||
{ | |||
|
|||
} | |||
|
|||
public void reverseAlphabeticalRunOrderTestClasses() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Names of these tests are invalid, They must start with "test" for JUnit 3 to find and run them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In your new branch, repurpose all reversealphabetical tests to become TESTORDER tests.
No description provided.