Skip to content
This repository was archived by the owner on Nov 10, 2021. It is now read-only.

Creating Tests

Ryan Gurnick edited this page Jul 15, 2016 · 3 revisions

Steps

  • Go to the / page or click on Home.
  • Then click on + Create
  • Give the test a name & select the file location on your machine.
  • Thats It.

Running a test

There are many ways to run a test. The first and easiest:

  • Go to the /tests page or click on Home.
  • Click on the execute dropdown
  • Select a set or click on default
  • Wait a few seconds for the queue to process.
  • Thats it.

The second way is to setup a scheduler

  • Go to the /schedulers page or click on Schedulers in the navbar.
  • Click on the + Create button.
  • Fill in the command input with behat:execute
  • Fill in the parameters input with <test number> <set number>
  • Fill in the frequency input with the Scheduling Frequency Options information. (Ex. everyMinute or everyFiveMinutes). You cannot use parenthesis or and of the frequency options that require parameters yet.
  • Check the disabled box if you want to prevent this scheduled task from running.
  • Click Create
  • Wait for the scheduled task to happen and then you will see the results on the tests (/tests) page as well as the results (/results) page.
  • Thats it.

The third is to run all tests based on category. This requires tests to be categorized within the behat gui.

  • Click on Run by category at the top of the Home (/tests)
  • Select one or more categories to be run
  • Select a variable set
  • Click execute
  • The results will start to enter the system after a few minutes of processing.
  • Thats it.

Downloading a test

  • Go to the /tests page or click on Home.
  • Click on the compiled dropdown
  • Select a set or click on default
  • The file will download to your local machine
  • Thats it.

Clone this wiki locally