End-to-end testing
In contrast to the unit test, the focus of the end-to-end test is on testing the whole system working together. In an end-to-end test, we don't worry about each line of code and don't focus on writing test cases for code coverage, but insteat we look at the system as an end user and write test cases to simulate that behavior.
End-to-end testing does focus on dependencies, and how the application will behave based on these dependencies. Think of the end-to-end test as the next step in the unit test. If you have tested all your code in isolation that confirms that the code works fine independently, but for the user, that piece of code may be dependent on a web service, or a database call, or another piece of code, which is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access