Jenkins and Selenium Grid
If your organization is developing SaaS or web applications and has not been leveraging a Selenium Grid for automated testing you're really missing out on something special. A Selenium Grid provides a distributed automated testing solution that executes test cases in parallel. In this section of Mastering Jenking we will learn how to spin up a Selenium Grid, write basic unit tests, and capture the results in Jenkins. By learning this we can begin harnessing a Selenium Grid and help advocate for a scalable automated testing solution within Jenkins.
The architecture of a Selenium Grid is a single hub and multiple connected nodes, which is very similar in nature to a Jenkins master and slave node solution. The hub receives a testing manifest and distributes the tests for execution across the attached nodes. This distributed test architecture allows for multiple tests to execute in parallel, which reduces test execution time dramatically. To illustrate a Selenium Grid...