Declarative test compiler and runner using YAML and jinja2.
Project description
HitchTest
HitchTest is a part of the hitch testing framework which compiles and runs YAML (and optionally jinja2) tests like this:
- engine: engine.DjangoReminderTestExecutionEngine
description: Sign up, create reminder and wait for email reminder to arrive.
scenario:
- Load website
- Click: Register
- Fill form:
Username: django
Email: django@reinhardt.com
Password1: jazzguitar
Password2: jazzguitar
- Click: Create
- Create reminder:
Description: Remind me about upcoming gig.
Days from now: 30
- Wait for email:
Containing: Confirm E-mail Address
- Confirm emails sent: 1
- Time travel:
Days: 30
- Wait for email:
Containing: Remind me about upcoming gig.
Why YAML + Jinja2?
To more easily maintain separation of concerns, individual test scripts should be declarative. This can be enforced by ensuring that they are written in a purely declarative language - hence YAML.
This also makes reading, writing, adding metadata to and and parsing test cases much easier.
Combining YAML with jinja2 gives you the power to deduplicate test case code while still maintaining comprehensibility and simplicity.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file hitchtest-0.3.tar.gz.
File metadata
- Download URL: hitchtest-0.3.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0d820e04b8fb89ffa4cc149bec9ada0eefc80491a7cd00afcf7391dfa9972c0
|
|
| MD5 |
95cbf89fac4e9077e590cdaf4ce8a96c
|
|
| BLAKE2b-256 |
a97a02e2deef1fd2d7c86587c55310a2a4c4d728f094b7185bdaa81f55349c71
|