Skip to content

Spock support #425

Open
Open

Description

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?

Activity

  1. jdneo commented on Nov 9, 2018

    @jdneo
    Member

    Marcin Podlodowski (@mpodlodowski) PR is welcome. 😄

    Please feel free to ask questions whenever you meet any problems or need any help

  2. added this to the backlog milestone on Nov 26, 2018
  3. RaviH commented on Dec 17, 2018

    @RaviH
  4. mpodlodowski commented on Dec 23, 2018

    @mpodlodowski
    Author

    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?

  5. jdneo commented on Dec 24, 2018

    @jdneo
    Member

    Marcin Podlodowski (@mpodlodowski) Are you debugging the code under com.microsoft.java.test.plugin or com.microsoft.java.test.runner

  6. mpodlodowski commented on Dec 26, 2018

    @mpodlodowski
    Author

    com.microsoft.java.test.plugin

    At least I'm trying to. Is it possible?

  7. jdneo commented on Dec 27, 2018

    @jdneo
    Member

    Yes, it should be possible. Did you launch the extension first then attach to the remote application?

  8. mpodlodowski commented on Dec 27, 2018

    @mpodlodowski
    Author

    I did (with "Launch Extension" config from the repo).

    I tried the following:

    1. gulp build-server
    2. Launch Extension
    3. attach debugger

    Am I missing something?

  9. jdneo commented on Dec 28, 2018

    @jdneo
    Member

    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

  10. mpodlodowski commented on Dec 28, 2018

    @mpodlodowski
    Author

    Done. Still no luck.

    Failed to connect to remote VM. Connection refused.
    Connection refused (Connection refused)
    
  11. jdneo commented on Dec 29, 2018

    @jdneo
    Member

    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.

  12. sapelkinAV commented on Jun 21, 2019

    @sapelkinAV

    Any news guys?)

  13. napalm23zero commented on Dec 25, 2019

    @napalm23zero

    Any News Guys????

  14. TomerFi commented on Jul 13, 2020

    @TomerFi

    This would be very much appreciated...

  15. juusu commented on Jan 18, 2021

    @juusu

    Any progress? Just started on a new project which uses primarily Spock for testing so this would come in very handy

  16. jdneo commented on Jan 19, 2021

    @jdneo
    Member

    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.

  17. damian-szwajkos commented on Jun 4, 2021

    @damian-szwajkos

    Hello ;) Any news about Spock framework support? ;)

  18. changeling commented on Jun 30, 2022

    @changeling

    Just bumping the above comment. Any word?

  19. tiagohumbs commented on Mar 21, 2023

    @tiagohumbs

    Hello... Whats is news ?

  20. SeanCodeMedia commented on Oct 28, 2023

    @SeanCodeMedia

    Hello is there any new updates on Spock support ?

  21. iaincalderfh commented on Nov 10, 2023

    @iaincalderfh

    Would also really appreciate Spock support

  22. wyy0117 commented on Nov 12, 2024

    @wyy0117

    Six years later, it still doesn't support Spock

  23. vnguyen972 commented on Apr 12, 2025

    @vnguyen972

    There has to be a smart person (smarter than me) somewhere :) for a Spock Test Runner plugin!

  24. pyaqubzade commented on May 23, 2025

    @pyaqubzade

    Seven years later, it still doesn't support Spock

  25. LZaruba commented on Sep 29, 2025

    @LZaruba

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions