0 evaluări0% au considerat acest document util (0 voturi)
236 vizualizări5 pagini
This document provides guidance on testing Grails applications. It outlines different types of tests including unit tests, integration tests, and controller tests. It describes test doubles like stubs, spies and mocks and what types of classes they are commonly used for. The document also includes examples of writing tests using JUnit, Spock framework assertions and the Grails testing APIs. It provides a cheat sheet of common testing concepts and commands for testing Grails applications.
This document provides guidance on testing Grails applications. It outlines different types of tests including unit tests, integration tests, and controller tests. It describes test doubles like stubs, spies and mocks and what types of classes they are commonly used for. The document also includes examples of writing tests using JUnit, Spock framework assertions and the Grails testing APIs. It provides a cheat sheet of common testing concepts and commands for testing Grails applications.
This document provides guidance on testing Grails applications. It outlines different types of tests including unit tests, integration tests, and controller tests. It describes test doubles like stubs, spies and mocks and what types of classes they are commonly used for. The document also includes examples of writing tests using JUnit, Spock framework assertions and the Grails testing APIs. It provides a cheat sheet of common testing concepts and commands for testing Grails applications.