February 2015
Intermediate to advanced
178 pages
3h 47m
English
This chapter covers the unit testing concept, JUnit 4 framework, Eclipse setup, test doubles, and mocking with Mockito.
The following topics are covered in this chapter:
assertThat@RunWith annotationA test is a measurement of performance of something, or an examination of data; for example, a class test is an assessment of our understanding, to determine whether we can go to the next level or not. We deliver software to our customers, so a test in the software context is the validation of a requirement before the software is delivered to ...
Read now
Unlock full access