edno / codeception-graphwalker
Codeception extension for model based testing
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
pkg:composer/edno/codeception-graphwalker
Requires
- php: >=7.2
- clue/graph: ^0.9
- codeception/codeception: >=3
- edno/graphyed: *
Requires (Dev)
Suggests
- graphp/algorithms: Compatible set of graph algorithms for Graphwalker
This package is auto-updated.
Last update: 2021-09-21 15:47:01 UTC
README
Codeception GraphWalker brings Model-based testing into Codeception.
It is inspired from GraphWalker and based on the library GraPHP.
Minimum Requirements
- Codeception ≥ 3.0
- PHP ≥ 7.2
Installation
The extension can be installed using Composer
$ composer require edno/codeception-graphwalker
Configuration
Add the GraphWalker format to the list of supported format into your suite configuration file (.suite.yml
):
formats: - edno\Codeception\GraphWalker
In the configuration file, declare the graph algorithm class to be used and the scripts path :
graphwalker: algorithm: Graphp\Algorithms\ShortestPath\Dijkstra path: tests_/data/
Refer to graphp/algorithms for supported algorithms.