Describe the bug
I started with a green test suite.
I installed digma and ran the test suite.
Some tests suddenly fail with:
org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: class de.workxl.contentserver.torque.RfqPeer.
If you're not sure why you're getting this error, please open an issue on GitHub.
So I disabled the Digma plugin, restarted IDEA and ran it again. Still failing. Stopped the containers - still failing.
It took me a moment to realize that Digma edited my Run Configurations (without telling me) and added some java tooling options. I deleted them and my tests are green again.
To Reproduce
Sadly, I'm not quite sure. Some tests using Mockito (4.11.0) still work with Digma enabled, others don't.
Expected behavior
- previously green tests should not turn red when Digma is enabled
- shouldn't change my run configs without telling me - maybe clone it or at least show me a hint
Screenshots
Can make some if required.
Plugin version
2.0.187+232
Additional context
It's an old java 8 project using ant.
Describe the bug
I started with a green test suite.
I installed digma and ran the test suite.
Some tests suddenly fail with:
So I disabled the Digma plugin, restarted IDEA and ran it again. Still failing. Stopped the containers - still failing.
It took me a moment to realize that Digma edited my Run Configurations (without telling me) and added some java tooling options. I deleted them and my tests are green again.
To Reproduce
Sadly, I'm not quite sure. Some tests using Mockito (4.11.0) still work with Digma enabled, others don't.
Expected behavior
Screenshots
Can make some if required.
Plugin version
2.0.187+232
Additional context
It's an old java 8 project using ant.