...

/

Testing and Conclusion

Testing and Conclusion

Learn about testing operations in Ratpack.

We'll cover the following...

Testing

Ratpack includes many test fixtures for aiding your unit, functional, and integration tests. It assumes you’ll be using Spock to test your application.

First, if you’re using the ratpack gradle plugin, simply add the following dependencies:

dependencies {
  testCompile ratpack.dependency('test')
  testCompile "org.spockframework:spock-core:1.1-groovy-2.4"
  testCompile 'cglib:cglib:2.2.2'
  testCompile 'org.objenesis:objenesis:2.1'
}

The cglib and ...