Manual Test

Test Case Files

Entering URLS

Tokens

The following tokens may be used in your test cases:

{{ website.pretty }}
{{ website.link }}
{{ website.url }}

File Structure

└── auto_retina
    ├── admin.md
    ├── image_quality.md
    ├── images
    │   ├── js-1.jpg
    │   └── js-2.jpg
    └── js.md

Parts of a Test File

Test files are markdown files with yaml frontmatter. Certain level two headers have specific and defined meanings, with special rendering; these are described below. The design is meant to make writing tests super fast and easy using familiar patterns.

Frontmatter

Here is an example frontmatter with the required fields. Optional fields are explained below.

---
Test Case ID: admin
Author: Aaron Klump
Created: February 27, 2019
Duration: 8 minutes
---

Test Case Id

Author

You should enter the name of the author of this test.

Created

This must be a parseable date, e.g., February 27, 2019

Duration

The estimated time to complete this test. It should be something like 8 min or 8 minutes. This is optional.

Test Suite

This will be detected from the configuration XML. You may also override an auto-detection using this front matter:

Test Suite: All

Group

The group is determined automatically based on the name of the directory containing the test case file. You may override this using frontmatter.

Group: Auto Retina

Test Scenario

    ## Test Scenario

    The admin form loads and saves new info as expected.      

Pre-Conditions

Test Data

Tokens

Just like Test Data, except this section will not be rendered. Use this section to define tokens.

## Tokens

    Final size: large
    Color: blue

Test Execution