Crate pharaoh

Crate pharaoh 

Source
Expand description

Pharaoh

This is the library crate that supports the pharaoh tool.

The main function is run, which will gather test cases from a Gatherer, run them through a Runner, and print the result via a Printer.

Modules§

gatherer
TestSuiteCollection gathering
printer
Printing a TestReport
runner
Runs test cases to produce a TestReport
types
Common types used throughout Pharaoh

Structs§

ColorPrinter
The basic implementation of Printer
DefaultRunner
The basic implementation of Runner
YamlGatherer
Gather testcase from YAML files in a directory

Traits§

Gatherer
A trait to regroup all structs able to gather TestSuiteCollections from somewhere
Printer
A trait to regroup all structs able to print a TestReport in some way
Runner
A trait to regroup all struct able to run a TestSuiteCollection

Functions§

run
Runs the test suite.