Running end-to-end tests in Jenkins
Blog post from Octopus Deploy
End-to-end (E2E) tests serve as the final phase in automated testing, focusing on validating application interactions through public interfaces such as web pages and HTTP APIs. Unlike unit tests, E2E tests are more time-consuming and are typically executed using external tools. This text discusses utilizing Cypress for web page interactions and Newman for testing HTTP APIs, both requiring Node.js. It provides guidance on setting up a Jenkins pipeline to execute these tests, collect results as JUnit report files, and process them in Jenkins. Cypress is highlighted for its ability to simulate user interactions with web pages, while Newman is used for scripting API interactions. The text also mentions tools and strategies for scaling tests, such as using LambdaTest for parallel test execution across multiple environments. Additionally, it introduces resources for Jenkins setup, a Jenkins Pipeline Generator tool, and upcoming webinars on related topics.