Closed bitstrings closed 7 years ago
What is "Maven JUnit", can you elaborate?
For the record, jdt "JUnit Test" and m2e "Maven JUnit Test" are supposed to use advanced sourcelookup already.
I use the source lookup from
https://repository.takari.io/content/sites/m2e.extras/takari-team/0.1.0/N/LATEST
But Advanced doesn't work in Oxygen (Debug as).
So I use the "Maven JUnit Launcher" for mavendev (plugin) instead and it works good.
However, there is no contextual shortcut like JUnit or TestNG when right-clicking on a Test (Debug as).
When did you last update your takari-team/0.1.0/N/LATEST version? It is supposed to come with newer sourcelookup [1] and should support jdt "JUnit Test" launch configuration out of the box. You do need to choose "Advanced Eclipse JUnit Launcher" either in workspace preferences or individual launch configurations [2].
As for TestNG, I don't use it myself and cannot comment, sorry.
[1] https://repository.takari.io/content/sites/m2e.extras/sourcelookup/1.2.0/N/LATEST/ [2] https://screencast.com/t/oMGXUNxVX
No no I'm not expecting support for TestNG, that was just an example.
I've tested this yesterday.
However i see a new url with v1.2.0. I will test that.
It's nice to have all these maven tools but to find them is not trivial.
The URL you gave me https://repository.takari.io/content/sites/m2e.extras/sourcelookup/1.2.0/N/LATEST/ gets me the same version I am using which doesn't work with Oxygen.
This is what I get (Debug as)
It used to work.
v1.2.0.201704030110 seems to work...
Might be great to have "Maven Junit" contextual shortcut.