Skip to content
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

Open
wants to merge 1 commit into
base: tms-only-runorder
Choose a base branch
from

Conversation

waterlooyh
Copy link

No description provided.

Comment on lines +138 to +145
if ( ! className2.equals( className1 ) )
{
return className2.compareTo( className1 );
}
else
{
return testName2.compareTo( testName1 );
}
Copy link

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

Copy link

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()
Copy link

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

Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants