masooh / intellij-junit-to-spock-converter

JUnit to Spock Converter IntelliJ Plugin: Converts JUnit to Spock. See https://plugins.jetbrains.com/plugin/12335-groovyfier
MIT License
8 stars 3 forks source link

Support conversion of assertDoesNotThrow() #27

Closed rojyates closed 3 years ago

rojyates commented 3 years ago

Conversion Request

I would like the plugin to replace

assertDoesNotThrow(() -> service.getData("Id", "param"))

or

assertDoesNotThrow(() -> {
            service.getData("Id", "param")
        })

with

when: "we execute our test"
service.getData("Id", "param")

then: "no Exception was thrown"
notThrown(Exception)
rojyates commented 3 years ago

Closed as duplicate of #24