File tree 1 file changed +10
-18
lines changed
1 file changed +10
-18
lines changed Original file line number Diff line number Diff line change @@ -26,26 +26,18 @@ class VCRTest extends \PHPUnit_Framework_TestCase
26
26
27
27
## Installation
28
28
29
- 1 ) Add to your ` composer.json ` :
29
+ 1 ) Install using composer:
30
30
31
- ``` json
32
- "require-dev" : {
33
- "php-vcr/phpunit-testlistener-vcr" : " *"
34
- }
35
- ```
36
-
37
- 2 ) Install using composer:
38
-
39
- ``` bash
31
+ ``` sh
40
32
composer require --dev php-vcr/phpunit-testlistener-vcr
41
33
```
42
34
43
- 3 ) Add listener to your ` phpunit.xml ` :
35
+ 2 ) Add listener to your ` phpunit.xml ` :
44
36
45
- ``` bash
37
+ ``` yml
46
38
<listeners>
47
- < listener class=" PHPUnit_Util_Log_VCR" file=" vendor/php-vcr/phpunit-testlistener-vcr/PHPUnit/Util/Log/VCR.php" />
48
- < /listeners>
39
+ <listener class="PHPUnit_Util_Log_VCR" file="vendor/php-vcr/phpunit-testlistener-vcr/PHPUnit/Util/Log/VCR.php" />
40
+ </listeners>
49
41
```
50
42
51
43
## Dependencies
@@ -59,17 +51,17 @@ PHPUnit-Testlistener-VCR depends on:
59
51
60
52
In order to run all tests you need to get development dependencies using composer:
61
53
62
- ``` php
63
- composer install --dev
64
- phpunit ./tests
54
+ ``` php
55
+ composer install
56
+ ./vendor/bin/phpunit
65
57
```
66
58
67
59
## Changelog
68
60
69
61
* 2013-05-14 1.0.0: First prototype
70
62
71
63
## Copyright
72
- Copyright (c) 2013 Adrian Philipp. Released under the terms of the MIT license. See LICENSE for details.
64
+ Copyright (c) 2013-2016 Adrian Philipp. Released under the terms of the MIT license. See LICENSE for details.
73
65
74
66
<!--
75
67
name of the projects and all sub-modules and libraries (sometimes they are named different and very confusing to new users)
You can’t perform that action at this time.
0 commit comments