July 2017
Beginner to intermediate
340 pages
7h 43m
English
An end-to-end test will check that the whole system works as expected from the end-user point of view. The test needs to behave like a real client, and call the system through the same User Interface (UI).
Depending on the type of application you are writing, a simple HTTP client might not be enough to simulate a real user. For instance, if the visible part of the system through which users are interacting is a web application with HTML pages that gets rendered on a client-side, you will need to use a tool like Selenium (http://docs.seleniumhq.org/). It will automate your browser in order to make sure that the client requests every CSS and JavaScript files and then renders correctly every page.
JavaScript frameworks are now ...