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

GD-117: gdUnit3 can't find tests if two test classes have the same name #117

Closed
nightblade9 opened this issue Jul 27, 2021 · 1 comment · Fixed by #119
Closed

GD-117: gdUnit3 can't find tests if two test classes have the same name #117

nightblade9 opened this issue Jul 27, 2021 · 1 comment · Fixed by #119
Assignees
Labels
bug Something isn't working

Comments

@nightblade9
Copy link

The used Godot version: 3.3

OS including version: Windows 10

Describe the bug
Create two test classes with the same name, in different directories. One runs, the other reports errors about supposedly missing tests .

Steps to Reproduce

  • Create tests/unit/player_tests.gd with the method test_cool_stuff
  • Create tests/integration/player_tests.gd with method test_damage_and_idk
  • Right-click the tests directory and pick Run unit tests

One set of tests runs, the other doesn't. The output window mentions the error about missing tests.

@nightblade9 nightblade9 added the bug Something isn't working label Jul 27, 2021
@MikeSchulze MikeSchulze changed the title gdUnit3 can't find tests if two test classes have the same name GD-117: gdUnit3 can't find tests if two test classes have the same name Jul 27, 2021
@MikeSchulze
Copy link
Owner

Thanks for reporting, I will have a look soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants