January 2019
Intermediate to advanced
378 pages
11h 35m
English
Writing unit test cases and integration tests are essential practices for any developers. Spring provides better capabilities to write unit tests, tests in isolation scripts, and integration tests. Spring Framework comes up with a few utilities and annotations for testing our applications. Spring-boot-starter-test is the favorite test utility for most of developers as its starter tool imports Junit, AssertJ, Hamcrest, and Mockito. Spring-test and Spring-boot-test for integration tests are common libraries and come in handy when writing integration tests. What's exciting about the spring test framework is that we can add some additional test dependencies of our own as well.
Read now
Unlock full access