Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Tests duplication in IDEA console #47

Closed
poslegm opened this issue Feb 8, 2020 · 1 comment · Fixed by #55
Closed

Tests duplication in IDEA console #47

poslegm opened this issue Feb 8, 2020 · 1 comment · Fixed by #55

Comments

@poslegm
Copy link

poslegm commented Feb 8, 2020

IDEA renders each test three times, but executes once.

Reproduces on ScalafmtVersionSuite with IDEA 2019.3.2 (Windows / MacOS)

17db6c5bfb9c8496

@olafurpg
Copy link
Member

Thank you for reporting! I was able to reproduce and track down the issue. Will open a fix soon

olafurpg pushed a commit to olafurpg/munit that referenced this issue Feb 16, 2020
Fixes scalameta#47. Previously, the `getDescription` method performed
side-effects adding all the test cases as children to the suite
description. When a client such as IntelliJ called `getDescription`
repeated times then it appeared as if the same test started multiple
times in the IntelliJ UI.
olafurpg pushed a commit to olafurpg/munit that referenced this issue Feb 16, 2020
Fixes scalameta#47. Previously, the `getDescription` method performed
side-effects adding all the test cases as children to the suite
description. When a client such as IntelliJ called `getDescription`
repeated times then it appeared as if the same test started multiple
times in the IntelliJ UI.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants