Skip to content

mscott-tw/nospock

 
 

Repository files navigation

A lib + intellij plugin that converts spock tests to junit + mockito.

The lib targets jdk11, however, the build requires jdk17.

Setup:

  1. Build the project ./gradlew clean build.
  2. Install the intellij plugin from disc - nospock/intellij-plugin/build/distributions/intellij-plugin.zip.
  3. Select bundled jar to use for conversion. In settings (Tools -> NoSpock Settings) the 'Executable jar path' should point to the absolute path of the bundled jar - nospock/cmd/build/libs/cmd.jar.
  4. Within the project tree select a spock file or a directory that you want to convert. Use the Refactor -> Spock to Java ☕ action (linux alt+shift+j; macos option+shift+j)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 96.4%
  • Groovy 3.6%