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

Commit 57b5223

Browse files
committed
Initial source code
1 parent 967485b commit 57b5223

26 files changed

Lines changed: 3643 additions & 2 deletions

.coveralls.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
service_name: travis-pro
2+
repo_token: wcc5kpxEaRHoo2ypdFaSO7iTDk1ziHLDu

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
language: php
3+
4+
php:
5+
- 7.1
6+
- 7.2
7+
- 7.3
8+
9+
before_script:
10+
- composer install --prefer-source --no-interaction
11+
12+
script:
13+
- php ./vendor/bin/codecept run --coverage-xml
14+
15+
after_success:
16+
- travis_retry php ./vendor/bin/php-coveralls

README.md

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,36 @@
1-
# codeception-graphwalker
2-
Codeception extension for model based testing
1+
# Codeception Graphwalker
2+
3+
[![Packagist](https://img.shields.io/packagist/dt/edno/codeception-graphwalker.svg?style=flat-square)](https://packagist.org/packages/edno/codeception-graphwalker)
4+
[![Latest Version](https://img.shields.io/packagist/v/edno/codeception-graphwalker.svg?style=flat-square)](https://packagist.org/packages/edno/codeception-graphwalker)
5+
[![Build Status](https://img.shields.io/travis/com/edno/codeception-graphwalker.svg?style=flat-square)](https://travis-ci.com/edno/codeception-graphwalker)
6+
[![Coverage Status](https://img.shields.io/coveralls/edno/codeception-graphwalker.svg?style=flat-square)](https://coveralls.io/github/edno/codeception-graphwalker?branch=master)
7+
[![GitHub license](https://img.shields.io/badge/license-Apache%202-blue.svg?style=flat-square)](https://raw.githubusercontent.com/edno/codeception-graphwalker/master/LICENSE)
8+
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fedno%2Fcodeception-graphwalker.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fedno%2Fcodeception-graphwalker?ref=badge_shield)
9+
10+
Codeception GraphWalker brings Model-based testing into [Codeception](http://codeception.com/).
11+
12+
It is inspired from [GraphWalker](https://graphwalker.github.io/) and based on the library [GraPHP](https://github.com/graphp/graph).
13+
14+
## Minimum Requirements
15+
16+
- Codeception ≥ 2.4
17+
- PHP ≥ 7.0
18+
19+
## Installation
20+
The extension can be installed using [Composer](https://getcomposer.org)
21+
22+
```bash
23+
$ composer require edno/codeception-graphwalker
24+
```
25+
26+
And add the **GraphWalker** format to the list of supported format into your suite configuration file (`.suite.yml`):
27+
```yaml
28+
formats:
29+
- \edno\codeception-graphwalker\GraphWalker
30+
```
31+
32+
## Usage
33+
> To be documented
34+
35+
## License
36+
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fedno%2Fcodeception-graphwalker.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fedno%2Fcodeception-graphwalker?ref=badge_large)

codeception.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
paths:
2+
tests: tests
3+
output: tests/_output
4+
data: tests/_data
5+
support: tests/_support
6+
envs: tests/_envs
7+
actor_suffix: Tester
8+
extensions:
9+
enabled:
10+
- Codeception\Extension\RunFailed

composer.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "edno/codeception-graphwalker",
3+
"description": "Codeception extension for model based testing",
4+
"keywords": ["codeception", "codeception-extension", "mbt", "model-based-testing", "graphml"],
5+
"homepage": "https://github.com/edno/codeception-graphwalker",
6+
"license": "MIT",
7+
"authors": [
8+
{
9+
"name": "Gregory Heitz",
10+
"email": "edno@edno.io"
11+
}
12+
],
13+
"require": {
14+
"php": ">=7.0",
15+
"codeception/codeception": ">=2.4 | <3.0",
16+
"clue/graph": "^0.9",
17+
"graphp/algorithms": "^0.8"
18+
},
19+
"require-dev": {
20+
"php-coveralls/php-coveralls": "^2.1",
21+
"edno/graphyed": "*"
22+
},
23+
"autoload": {
24+
"psr-4": {
25+
"Codeception\\Extension\\": "src/"
26+
}
27+
},
28+
"minimum-stability": "dev",
29+
"prefer-stable": true
30+
}

0 commit comments

Comments
 (0)