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

new line in test description hangs junit runner in eclipse #38

Closed
mikosik opened this issue Mar 5, 2016 · 4 comments
Closed

new line in test description hangs junit runner in eclipse #38

mikosik opened this issue Mar 5, 2016 · 4 comments
Assignees
Milestone

Comments

@mikosik
Copy link

mikosik commented Mar 5, 2016

Junit runner in eclipse will hang forever when running following test:

@RunWith(QuackeryRunner.class)
public class MyTest {
  @Quackery
  public static Case hangsForever() {
    return Case.newCase("\n", () -> {});
  }
}

screenshot from eclipse

image

@mikosik
Copy link
Author

mikosik commented Mar 5, 2016

The same is also true for \r.

@maciejmikosik maciejmikosik added this to the 0.14.0 milestone Mar 6, 2016
@maciejmikosik maciejmikosik self-assigned this Mar 6, 2016
@maciejmikosik
Copy link
Owner

This is similar to #25 Empty suite confuses junit.
Similarly, let's verify if the same problem occurs in intellij.
If so, then we can implement workaround in QuackeryRunner.

@maciejmikosik
Copy link
Owner

It look that intellij 14.1.5 behaves correctly by removing formatting characters and printing test name in one line.

@maciejmikosik maciejmikosik modified the milestones: 0.14.0, 0.13.1 Mar 12, 2016
@maciejmikosik
Copy link
Owner

implemented workaround for eclipse bug displaying newline characters 7858f8b

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

No branches or pull requests

2 participants