J

JUnit to Spock Converter

JetBrains

aae715e8-1fff-4b89-a164-fdfe42f84815 · v—

Converts JUnit tests to Spock specifications. Can also convert Java files to Groovy. New actions: Code -> "Convert JUnit to Spock"/"Convert Java to Groovy". Features: Convert JUnit test to Spock specifications Replace test annotations i.e. @Before, @Test, ... Convert test names camelCaseNaming() to "camel case naming"

Code Tools
Open in store ↗ id: 12335
Downloads
9K
9 064
Rating
4.1 ★
1 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 1 ratings
5★ 100.0%

Reviews 1

★★★★★ Roger Yates 2021-01-07

Great little utility to ease the migration of JUnit tests to Spock. Not yet as full-featured as the junit2spock project, but I use JUnit to Spock Converter this more, since it is more easily accessible from the IDE. Once you've added Spock Maven (or Gradle) dependencies, just open up a JUnit test, bring down the Code menu and choose 'Convert JUnit to Spock' and the plugin will burst into...

Similar in “Code Tools”