vscode-java-test
vscode-java-test copied to clipboard
Run and debug Java test cases in Visual Studio Code.
Does the Test Runner support switching back to use classpath instead of modulepath? maven-surefire-plugin has a similar option. Reference: https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#useModulePath
sample project: https://github.com/junit-team/junit5 try to expand the test node `junit-jupiter-engine`: ``` Java Model Exception: Error in Java Model (code 969): {key=Lorg/junit/jupiter/api/AssertThrowsAssertionsTests$7029;} [in execute() [in [in assertThrowsWithExecutableThatThrowsInstanceOfAnonymousInnerClassAsUnexpectedException() [in AssertThrowsAssertionsTests [in AssertThrowsAssertionsTests.java...
I tried a pre-release and a release version (v0.38.2) with VSCode 1.77.3. Running a test from code (little green icons) or the test view works, but if you pause and...
See: https://code.visualstudio.com/updates/v1_80#_terminal-output-support
# Version 0.39.0 # Description When a test class runs independent tests, the testing panel on the left displays the execution times for each test as well as an aggregated...
Sample code: ```java @RunWith(Parameterized.class) public class ParameterizedWithNameTest { @Parameter public int expected; @Parameters(name = "{index}: expect={0}") public static Collection data() { // If using the name annotation param and one...
``` !MESSAGE Error in calling delegate command handler !STACK 0 java.lang.NullPointerException: Cannot invoke "org.eclipse.core.runtime.IPath.toOSString()" because the return value of "org.eclipse.core.resources.IFolder.getLocation()" is null at com.microsoft.java.test.plugin.util.ProjectTestUtils.parseTestSourcePathString(ProjectTestUtils.java:144) at com.microsoft.java.test.plugin.util.ProjectTestUtils.getTestSourcePaths(ProjectTestUtils.java:114) at com.microsoft.java.test.plugin.util.ProjectTestUtils.listTestSourcePaths(ProjectTestUtils.java:61) at com.microsoft.java.test.plugin.handler.TestDelegateCommandHandler.executeCommand(TestDelegateCommandHandler.java:48)...
I have two run configuration defined (they apply different args and environment variables). I have set `java.test.defaultConfig` so, by _default_, one of them is used without asking. As commands `Run...
https://code.visualstudio.com/updates/v1_77#_finalized-support-for-continuous-test-runs
```json "envFile": "${workspaceFolder}/.vscode/.env", "vmargs": [ "-Xmx512M", "-DprojectCode=${env:projectCode}", ``` there is a `projectCode=x` line in the .env file so I expect the command to be run to contain `-DprojectCode=x` instead it...