Reputation: 809
This is super weird and only happens for one of my modules in my project.
If I change the name of a test, then right click and run the test, it will say No tests found matching Method: newName. It is effectively trying to run the old test, instead of the new one, despite the fact I'm not re-running the same Run Configuration - I'm right clicking and running the freshly edited test.
What could be causing this?
Upvotes: 10
Views: 4379
Reputation: 2209
In Run Configuration, add Build Project so that it picks up latest changes
Upvotes: 3