Unable to run Junit tests in Eclipse Che - Right click and run does not work #17818
Closed
4 of 22 tasks
Labels
kind/bug
Outline of a bug - must adhere to the bug report template.
Describe the bug
I would like to right click on a Junit test and run which does nothing as it expects a main method.
I noticed that VS Code Java Test Runner plugin is missing in eclipse che 7.18.0.
Also I did not see any plugin supporting test in the list of available plugins
Che version
Steps to reproduce
Expected behavior
Right click on the Junit test and clicking run should execute the unit test in Java
Runtime
kubectl version
)Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.0", GitCommit:"e19964183377d0ec2052d1f1fa930c4d7575bd50", GitTreeState:"clean", BuildDate:"2020-08-26T14:30:33Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.13", GitCommit:"1da71a35d52fa82847fd61c3db20c4f95d283977", GitTreeState:"clean", BuildDate:"2020-07-15T21:59:26Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
chectl
provide a full command that was used to deploy Eclipse Che (including the output)
Followed the steps documented here - https://www.eclipse.org/che/docs/che-7/installation-guide/installing-che-on-microsoft-azure/
provide an output of
chectl version
commandchectl/7.18.0 linux-x64 node-v10.22.0
OperatorHub
I don't know
Environment
Eclipse Che Logs
N/A
Additional context
As a workaround I am running "mvn clean test" but it would be truly helpful to understand why right click on Junit and run does not work.
Similar issue as described here - https://stackoverflow.com/questions/59208921/debug-java-test-in-eclipse-che
The text was updated successfully, but these errors were encountered: