
Learning Vue.js 2
By :

End-to-end (e2e) testing is a technique in which the whole flow of the application is being tested. In this kind of testing, neither mocks nor stubs are used, and the real system is being under the test. Performing e2e testing allows us to test all the aspects of the application—APIs, frontend, backend, databases, server load, assuring thus the quality of the system integration.
In the case of web applications, these tests are performed via UI testing. Each test describes all the steps from opening the browser until closing it. All the steps needed to perform in order to achieve some system's functionality must be described. In fact, this is the same as you clicking and doing some operations on your application's page, but is automated and fast. In this section, we will see what a Selenium webdriver is, and what Nightwatch is, and how they can be used to create e2e tests for our applications.