You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be great to have Spock support. I am very willing to make a contribution.
Is there anything I should be aware of before digging into the problem?
Did you set the target platform in Eclipse when importing the com.microsoft.java.test.plugin?
After importing the project, you can find a file called target.target. Double click it in Eclipse, and in the right top of the editor, click Set as target platform
Hmm, another thing needs to pay attention is that we need to wait until the extension has been activated, then we can attach to the remote VM using Eclipse.
You can check whether the extension has been activated by checking if the Java Test Runner output channel has been created.
Hi friends, so far there is no plan to add more test framework support. But contribution is welcome!
Note that VS Code is now working on a new set of APIs for test purpose, which means the extension might need to have a big refactor in the near future, so I would suggest at least wait until that happens.
Hello ;) Any news about Spock framework support? ;)
Reacted by rlzaleski, Dave, Tiago Humberto Silva, mikeb-ah, hld3, W. Craig Trader, Alex, Sam Fairbanks, Giuseppe Matheus (Beppe), Christoph Henrici and 8 more
Hey,
facing the same issue for some time, I recently published an extension to run spock tests. It is rough on the edges and currently doesn't support parametrized tests fully - working on that. Feel free to take it out for a spin and if you see any improvement areas, raise an issue or even better a PR.
Activity
jdneo commentedon Nov 9, 2018
Marcin Podlodowski (@mpodlodowski) PR is welcome. 😄
Please feel free to ask questions whenever you meet any problems or need any help
RaviH commentedon Dec 17, 2018
Hi Marcin Podlodowski (@mpodlodowski),
Any luck?
mpodlodowski commentedon Dec 23, 2018
Just met some problems trying to debug the Java code - I can't attach to remote debugging port 1044. Is the guide on cs/contributing still valid?
jdneo commentedon Dec 24, 2018
Marcin Podlodowski (@mpodlodowski) Are you debugging the code under
com.microsoft.java.test.pluginorcom.microsoft.java.test.runnermpodlodowski commentedon Dec 26, 2018
com.microsoft.java.test.pluginAt least I'm trying to. Is it possible?
jdneo commentedon Dec 27, 2018
Yes, it should be possible. Did you launch the extension first then attach to the remote application?
mpodlodowski commentedon Dec 27, 2018
I did (with "Launch Extension" config from the repo).
I tried the following:
Am I missing something?
jdneo commentedon Dec 28, 2018
Did you set the target platform in Eclipse when importing the
com.microsoft.java.test.plugin?After importing the project, you can find a file called target.target. Double click it in Eclipse, and in the right top of the editor, click
Set as target platformmpodlodowski commentedon Dec 28, 2018
Done. Still no luck.
jdneo commentedon Dec 29, 2018
Hmm, another thing needs to pay attention is that we need to wait until the extension has been activated, then we can attach to the remote VM using Eclipse.
You can check whether the extension has been activated by checking if the
Java Test Runneroutput channel has been created.sapelkinAV commentedon Jun 21, 2019
Any news guys?)
napalm23zero commentedon Dec 25, 2019
Any News Guys????
TomerFi commentedon Jul 13, 2020
This would be very much appreciated...
juusu commentedon Jan 18, 2021
Any progress? Just started on a new project which uses primarily Spock for testing so this would come in very handy
jdneo commentedon Jan 19, 2021
Hi friends, so far there is no plan to add more test framework support. But contribution is welcome!
damian-szwajkos commentedon Jun 4, 2021
Hello ;) Any news about Spock framework support? ;)
changeling commentedon Jun 30, 2022
Just bumping the above comment. Any word?
tiagohumbs commentedon Mar 21, 2023
Hello... Whats is news ?
SeanCodeMedia commentedon Oct 28, 2023
Hello is there any new updates on Spock support ?
iaincalderfh commentedon Nov 10, 2023
Would also really appreciate Spock support
wyy0117 commentedon Nov 12, 2024
Six years later, it still doesn't support Spock
vnguyen972 commentedon Apr 12, 2025
There has to be a smart person (smarter than me) somewhere :) for a Spock Test Runner plugin!
pyaqubzade commentedon May 23, 2025
Seven years later, it still doesn't support Spock
LZaruba commentedon Sep 29, 2025
Hey,
facing the same issue for some time, I recently published an extension to run spock tests. It is rough on the edges and currently doesn't support parametrized tests fully - working on that. Feel free to take it out for a spin and if you see any improvement areas, raise an issue or even better a PR.
https://open-vsx.org/extension/LZaruba/spock-test-runner-vscode
https://github.com/LZaruba/spock-test-runner-vscode
disclaimer: early work, I'm not a typescript person, no aspirations on being the smart person mentioned above ;), comes with no warranty or guarantees