Running unit tests - tests never start
I’m trying to run tests individually and they just hang, the Run window shows “Instantiating tests…” but nothing happens afterwards. There’s no indication in the org that anything is running. I tried waiting it out, restarting IntelliJ, rebooting, to no avail. Running from the command line (sfdx) works fine. Other operations are working (push/pull, etc.) from the UI, but I can’t run tests.
IntelliJ IDEA 2022.1.1 (Ultimate Edition)
Comments (9)
-
repo owner -
reporter - attached idea.log
-
reporter Log file attached. Saw an exception in the log.
WARN - #c.i.i.p.i.CompoundProjectViewNodeDecorator - unexpected error in com.intellij.coverage.CoverageProjectViewDirectoryNodeDecorator@329d6271
java.lang.NullPointerException
-
repo owner - attached IlluminatedCloud2.zip
This is a pre-release/test build with a prospective fix for the issues found in the provided log. Because I'm unable to reproduce those issues, I'd ask that you install this build and let me know if it does in fact resolve them.
To install the build, download the attached archive (but don't extract it) and use Settings / Preferences > Plugins > Install plugin from disk (under the gear drop-down menu), then restart the IDE.
If the problem still exists, please provide a new debug log for review along with the exact steps that lead to the reproduction.
-
reporter The patch didn’t work so reinstalled plugin and reset module settings then it worked.
-
reporter - changed status to resolved
-
repo owner Hmmmm....I'm glad you're in good shape now, but that's certainly frustrating. I don't like problems that magically go away like that, though to be frank, it does happen. Please let me know if you see this behavior again.
-
repo owner Protection against NPEs observed in provided logs delivered in 2.2.2.1.
-
repo owner - changed component to Apex Unit Testing
- Log in to comment
Hi. Can you please enable debug logging for unit testing, reproduce the behavior, and either attach or email the resulting
idea.log
file?