Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.37 KB

File metadata and controls

64 lines (39 loc) · 1.37 KB

AltWalker Example: C#/.NET E-commerce

Demo tests to showcase how to design your tests as a graph and execute them using AltWalker.

Documentation of the demo is available here.

The site under test is available on GitHub Pages here.

Setup

$ cd dotnet-ecommerce
$ dotnet build tests

Install Dependencies

Altwalker

$ pip install altwalker

See docs for AltWalker installation.

Run the tests with AltWalker

Read more here.

check

$ altwalker check -m models/default.json "random(edge_coverage(100) && vertex_coverage(100))"

verify

$ altwalker verify -l c# -m models/default.json tests

online

$ altwalker online -l c# -m models/default.json "random(edge_coverage(100))" tests

offline and walk

$ altwalker offline -m models/default.json "random(edge_coverage(100) && vertex_coverage(100))" -f steps.json
$ altwalker walk -l c# tests ./steps.json

Models

  • Navigation Model from models/navigation.json

Navigation Model

  • Checkout Model from models/checkout.json

Checkout Model