How to Install Automation Test Framework

Here is a guide on how to install the framework on your local machine so you can start automating the testing of your online application.

Before we get started…

You will need to ensure that your machine meets the required system requirements, below are the required operating systems:

  • Apple: MacOS 10.9+  (Mavericks +), only 64bit available.
  • Linux: Ubuntu 12.04+, Fedora 21 or Debian 8, only 64bit available.
  • Windows: 7+, only 32bit available.

In this example I will be using Terminal to install the framework.

I will provide a Windows example in the future.

1. Install NPM (NodeJS)

Before we can install the framework we need to install NPM (NodeJS) as the default way is to install it using the NPM package.

Please see below the two options on how to install NPM:

2. Installing Framework

Now our machines are ready for us to install, in this tutorial we will be using the Terminal (Mac / Linux) to carry out the installation.

We can install the framework very easily.

Let's begin...

  1. Open the Terminal app
  2. Navigate to your project: cd path/to/your/project
  3. Install, type: npm install cypress --save-dev
  4. Launch ./node_modules/.bin/cypress open

Please see below a video showing exactly what should have happened...

    "123123": ""

Now you are up and running, the framework is installed and you can start producing test cases.


AuthorShaun Swales

Web developer turned QA Software Engineer.