Book Image

Learning Selenium Testing Tools with Python

By : UNMESH GUNDECHA
Book Image

Learning Selenium Testing Tools with Python

By: UNMESH GUNDECHA

Overview of this book

Table of Contents (17 chapters)
Learning Selenium Testing Tools with Python
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

CI with Jenkins


Jenkins is a popular CI server written in Java. It is derived from the Hudson project. Both Jenkins and Hudson provide similar features.

Jenkins supports various version control tools such as CVS, SVN, Git, Mercurial, Perforce, and ClearCase, and can execute projects built with Apache Ant or Maven for Java. However, it can also build projects for other platforms using plugins, arbitrary shell scripts, and Windows' batch commands.

Apart from building the software, Jenkins can be deployed to set up an automated testing environment where Selenium WebDriver tests can be run unattended based on a defined schedule, or every time changes are submitted to the version control system.

In the upcoming sections, you will learn how to set up Jenkins to run tests using a free-style project template.

Preparing for Jenkins

Before we start using Jenkins to run our tests, we need to make few changes so that we can take advantage of Jenkins's capabilities. We will use Jenkins to run our tests on...