Search code examples
javaunit-testingtestinggroovysmoke-testing

Unit tests using groovy for Java REST API's


Can groovy be used to write smoke unit tests for Java REST API's? Also does groovy provides a testing framework?


Solution

  • Yes you can test Java code using Groovy(they can interop). Spock Framework is really good if you want to write groovy.