Category Archives: Unit Tests

Groovy – Testing CXF JAX-RS APIs with Spock

Of the many ways we could create a unit test to exercise a JAX-RS REST API built with CXF and Spring here we work through a pretty easy approach which leverages CXF’s standalone Jetty container and Groovy’s RESTClient. Continue reading