4

I'm using Eclipse Che 7 hosted on openshift.io for developing a simple java project. It's possible to debug tests? I can't find a way to launch them. If I open the test view there is

no entry point

deHaar
  • 17,687
  • 10
  • 38
  • 51
Mattia
  • 43
  • 2

2 Answers2

2

It is always possible to use a workaround:

  1. Start test in the terminal

mvn clean install -Dtest=AppTest -Dmaven.surefire.debug

  1. Start a debug session using the following configuration:
    {
        "type": "java",
        "name": "Debug (Attach)",
        "request": "attach",
        "hostName": "localhost",
        "port": 5005
    }
tolusha
  • 99
  • 3
1

VS Code Java Test Runner extension integration missed.

[1] https://github.com/eclipse/che/issues/14871

tolusha
  • 99
  • 3