File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 1
- # atoum PHPUnit extension [ ![ Build Status] ( https://travis-ci.org/atoum/phpunit-extension.svg?branch=master )] ( https://travis-ci.org/atoum/phpunit-extension )
1
+ # atoum/phpunit- extension [ ![ Build Status] ( https://travis-ci.org/atoum/phpunit-extension.svg?branch=master )] ( https://travis-ci.org/atoum/phpunit-extension )
2
2
3
- ![ atoum] ( http://atoum.org/images/logo/atoum.png )
3
+ This extension allows you to launch your PHPUnit tests with atoum's engine.
4
+
5
+ This is especially usefull when migrating to atoum.
4
6
5
7
## Install it
6
8
9
+ The extension is still a work in progress. So, you need to require a developpement branch of atoum.
10
+
11
+ We need your help to complete the extension, so don't hesitate to test the extension and write and issue when you found one.
12
+
7
13
Install extension using [ composer] ( https://getcomposer.org ) :
8
14
9
15
``` json
@@ -32,6 +38,15 @@ $extension = new phpunit\extension($script);
32
38
$extension->addToRunner($runner);
33
39
```
34
40
41
+ ## Use it
42
+
43
+ You must change the parent class of your tests. For example, instead of ` PHPUnit_Framework_TestCase ` , extend ` mageekguy\atoum\phpunit ` .
44
+
45
+ ``` diff
46
+ - class EnumTest extends \PHPUnit_Framework_TestCase
47
+ + class EnumTest extends \mageekguy\atoum\phpunit
48
+ ```
49
+
35
50
## Support
36
51
37
52
### Helpers
@@ -167,6 +182,15 @@ $extension->addToRunner($runner);
167
182
| ` @ticket ` | ✘ | |
168
183
| ` @uses ` | ✘ | |
169
184
185
+ ## Links
186
+
187
+ * [ atoum] ( http://atoum.org )
188
+ * [ atoum's documentation] ( http://docs.atoum.org )
189
+ * [ PHPUnit] ( https://phpunit.de/ )
190
+
191
+
170
192
## Licence
171
193
172
194
phpunit-extension is released under the BSD-3-Clause License. See the bundled LICENSE file for details.
195
+
196
+ ![ atoum] ( http://atoum.org/images/logo/atoum.png )
You can’t perform that action at this time.
0 commit comments