Skip to content

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


}

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