January 2021
Intermediate to advanced
560 pages
15h 13m
English
This chapter covers
The secret of success is sincerity. Once you can fake that you’ve got it made.
--Jean Giraudoux
This chapter examines one approach to unit testing components in an application container: in-container unit testing, or integration testing. These components are modules that may be developed by different programmers or teams and that need to be tested together or integrated. We will analyze in-container testing pros and cons and show what you can achieve by using the mock-objects approach introduced in chapter 8, where mock objects fall short, ...