Skip to content

Commit 66f3b1e

Browse files
authored
Merge pull request #6 from agallou/readme_template
update README using the new template
2 parents fa7d67e + 68f0a0f commit 66f3b1e

File tree

3 files changed

+57
-4
lines changed

3 files changed

+57
-4
lines changed

LICENSE

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Copyright (c) 2010-2016, atoum contributors.
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
7+
* Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
* Redistributions in binary form must reproduce the above copyright
10+
notice, this list of conditions and the following disclaimer in the
11+
documentation and/or other materials provided with the distribution.
12+
* Neither the name of atoum contributors nor the names of its contributors
13+
may be used to endorse or promote products derived from this software
14+
without specific prior written permission.
15+
16+
THIS SOFTWARE IS PROVIDED BY ATOUM CONTRIBUTORS ``AS IS'' AND ANY
17+
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19+
DISCLAIMED. IN NO EVENT SHALL ATOUM CONTRIBUTORS BE LIABLE FOR ANY
20+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
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)
22

3-
![atoum](http://downloads.atoum.org/images/logo.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.
46

57
## Install it
68

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+
713
Install extension using [composer](https://getcomposer.org):
814

915
```json
@@ -32,6 +38,15 @@ $extension = new phpunit\extension($script);
3238
$extension->addToRunner($runner);
3339
```
3440

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+
3550
## Support
3651

3752
### Helpers
@@ -166,3 +181,16 @@ $extension->addToRunner($runner);
166181
| `@testdox` || |
167182
| `@ticket` || |
168183
| `@uses` || |
184+
185+
## Links
186+
187+
* [atoum](http://atoum.org)
188+
* [atoum's documentation](http://docs.atoum.org)
189+
* [PHPUnit](https://phpunit.de/)
190+
191+
192+
## Licence
193+
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)

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"name": "atoum/phpunit-extension",
33
"type": "library",
44
"description": "atoum PHPUnit extension - Run your PHPUnit tests with atoum",
5-
"keywords": ["TDD","atoum","test","unit testing","PHPUnit"],
5+
"keywords": ["TDD", "atoum", "test", "unit testing", "PHPUnit", "atoum-extension"],
66
"homepage": "http://www.atoum.org",
7-
"license": "BSD",
7+
"license": "BSD-3-Clause",
88
"authors": [
99
{
1010
"name": "jubianchi",

0 commit comments

Comments
 (0)