vscode-java-test
vscode-java-test copied to clipboard
Run and debug Java test cases in Visual Studio Code.
 The highlighting two stacks don't provide any valid info for diagnose, they can be hidden as well.
Especially when applying text edits: 
``` java.lang.NullPointerException: Cannot invoke "org.eclipse.jdt.core.dom.ASTNode.getParent()" because "node" is null at org.eclipse.jdt.internal.corext.dom.ASTNodes.getParent(ASTNodes.java:2491) at org.eclipse.jdt.internal.corext.refactoring.structure.ASTNodeSearchUtil.getTypeDeclarationNode(ASTNodeSearchUtil.java:182) at com.microsoft.java.test.plugin.util.TestSearchUtils.findTestTypesAndMethods(TestSearchUtils.java:349) at com.microsoft.java.test.plugin.handler.TestDelegateCommandHandler.executeCommand(TestDelegateCommandHandler.java:60) at org.eclipse.jdt.ls.core.internal.handlers.WorkspaceExecuteCommandHandler$1.run(WorkspaceExecuteCommandHandler.java:215) ```
``` java.lang.NullPointerException: Cannot read the array length because "this.fields" is null at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.getField(BinaryTypeBinding.java:1426) at org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding.buildTargetAnnotation(AnnotationBinding.java:179) at org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding.addStandardAnnotations(AnnotationBinding.java:83) at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.retrieveAnnotations(BinaryTypeBinding.java:1855) at org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.getAnnotations(ReferenceBinding.java:1067) at org.eclipse.jdt.core.dom.TypeBinding.getAnnotations(TypeBinding.java:122) at com.microsoft.java.test.plugin.searcher.JUnit5TestSearcher.matchesNameInAnnotationHierarchy(JUnit5TestSearcher.java:110) at com.microsoft.java.test.plugin.searcher.JUnit5TestSearcher.findAnnotation(JUnit5TestSearcher.java:85) at com.microsoft.java.test.plugin.searcher.JUnit5TestSearcher.isTestMethod(JUnit5TestSearcher.java:69) at...
I noticed that your VS Code extension does not support Live Share, so basically the guest cannot see host's tests in the test explorer window. When using Live Share with...
I would like to request a feature/fix for the empty context menu for JUnit Tests under a (Custom)TestSuite. At least I would need the "Go to Test" functionality (or a...
Steps to reproduce: 1. follow the steps in #1376 to setup test project 2. in **BaseTest.java**, change `assertTrue(false)` to `assertTrue(true)`, and run test class: **BaseTest** 3. in **BaseTest.java**, rollback from...
When I open a Java project without build tool, **Enable Java Tests** feature always help me to setup my test framework, it saves my life. But if there is something...
Codelens appears for the abstract test class even though it cannot be run directly (IntelliJ redirects you to the classes that inherit from the abstract class instead ...) Codelens does...