Skip to content

Conversation

@bhabegger
Copy link

No description provided.

Copy link
Member

@thomasmueller thomasmueller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cosmetic: I would remove unnecessary lines, but it's fine if you don't agree.
I just wanted to share my opinion.

parsedQuery.setTraversalEnabled(false);
parsedQuery.prepare();

// Then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Then

*/
@Test
public void testPlanningWithLimit() throws ParseException {
// Given
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Given

@bhabegger
Copy link
Author

Cosmetic: I would remove unnecessary lines, but it's fine if you don't agree. I just wanted to share my opinion.

I kind of like them as I find they add readbility in clarifying: what are the hypothesis, what is being tested and what are the expectations. Without them, this effort needs to be done every time the test is opened, especially months or years later.

This said, I understand this may mot align with the current state of the code base :)

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