Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

edno/codeception-graphwalker

Repository files navigation

Codeception Graphwalker

Packagist Latest Version Build Status Coverage Status GitHub license FOSSA Status

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.

License

FOSSA Status