The check point

In this chapter, we added a bunch of tests in src/test/java. I chose to go with Groovy, so I deleted the duplicated tests:

The check point

In the src/test/groovy directory, I have refactored two tests as follows:

The check point

In src/integrationTest/groovy, we have an integration test written with Geb:

The check point

Finally, we added an integrationTest task to the Gradle build. Run gradle clean test and gradle clean integrationTest to make sure that all your tests pass.

If the build is successful, we are ready for the next chapter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.218.226