File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
# PHP Matcher
2
2
3
- *** PHP Matcher *** lets You assert like a gangster in Your test cases, where response can be something you cannot predict
3
+ Library created for testing all kind of JSON/XML/TXT/Scalar values against patterns.
4
4
5
- [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/coduo/php-matcher/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/coduo/php-matcher/?branch=master )
5
+ ``` php
6
+ PHPMatcher::match($value = '{"foo": "bar"}', $pattern = '{"foo": "@string@"}');
7
+ ```
8
+
9
+ It was builded to simplify API functional testing.
6
10
7
11
* [ ![ Build Status] ( https://travis-ci.org/coduo/php-matcher.svg )] ( https://travis-ci.org/coduo/php-matcher ) - master (3.1.* )
8
12
* [ ![ Build Status] ( https://travis-ci.org/coduo/php-matcher.svg?branch=3.0 )] ( https://travis-ci.org/coduo/php-matcher ) - 3.0.*
9
- * [ ![ Build Status] ( https://travis-ci.org/coduo/php-matcher.svg?branch=2.2 )] ( https://travis-ci.org/coduo/php-matcher ) - 2.2.*
10
- * [ ![ Build Status] ( https://travis-ci.org/coduo/php-matcher.svg?branch=2.1 )] ( https://travis-ci.org/coduo/php-matcher ) - 2.1.*
11
- * [ ![ Build Status] ( https://travis-ci.org/coduo/php-matcher.svg?branch=2.0 )] ( https://travis-ci.org/coduo/php-matcher ) - 2.0.*
12
13
13
14
[ Readme for master (3.1) version] ( https://github.com/coduo/php-matcher/tree/master/README.md )
14
15
[ Readme for 3.0 version] ( https://github.com/coduo/php-matcher/tree/3.0/README.md )
15
- [ Readme for 2.2 version] ( https://github.com/coduo/php-matcher/tree/2.2/README.md )
16
- [ Readme for 2.1 version] ( https://github.com/coduo/php-matcher/tree/2.1/README.md )
17
- [ Readme for 2.0 version] ( https://github.com/coduo/php-matcher/tree/2.0/README.md )
18
16
19
17
20
18
## Installation
21
19
22
- Require new dev dependency using composer (assuming it's installed globally) :
20
+ Require new dev dependency using composer:
23
21
24
22
```
25
23
composer require --dev "coduo/php-matcher"
You can’t perform that action at this time.
0 commit comments