-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update meta to prepare packagist publication
This library will be published using the atoum/xml-extension name.
- Loading branch information
Showing
3 changed files
with
26 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,18 @@ | ||
# shulard/atoum-xml-extension [![Build Status](https://travis-ci.org/shulard/atoum-xml-extension.svg?branch=master)](https://travis-ci.org/shulard/atoum-xml-extension) | ||
# atoum/xml-extension [![Build Status](https://travis-ci.org/shulard/atoum-xml-extension.svg?branch=master)](https://travis-ci.org/shulard/atoum-xml-extension) | ||
|
||
![atoum](http://atoum.org/images/logo/atoum.png) | ||
|
||
*This project is currently in development and shouldn't be used in production !* | ||
|
||
## Install it | ||
|
||
Install extension using [composer](https://getcomposer.org): | ||
|
||
```json | ||
{ | ||
"repositories": [ | ||
{ | ||
"type": "vcs", | ||
"url": "[email protected]:shulard/atoum-xml-extension.git" | ||
} | ||
], | ||
"require-dev": { | ||
"shulard/atoum-xml-extension": "^0.0" | ||
}, | ||
} | ||
|
||
```bash | ||
composer require --dev shulard/atoum-xml-extension | ||
``` | ||
|
||
Enable the extension using atoum configuration file: | ||
## Enable it | ||
|
||
You should add the following lines in your atoum configuration file: | ||
|
||
```php | ||
<?php | ||
|
@@ -40,7 +29,6 @@ $runner->addExtension(new xml\extension($script)); | |
## Use it | ||
|
||
```php | ||
|
||
<?php | ||
namespace shulard\example\xml; | ||
|
||
|
@@ -147,5 +135,13 @@ XML; | |
; | ||
} | ||
} | ||
|
||
``` | ||
|
||
## Links | ||
|
||
* [atoum](http://atoum.org) | ||
* [atoum's documentation](http://docs.atoum.org) | ||
|
||
## Licence | ||
|
||
atoum-xml-extension is released under the Apache2 License. See the bundled LICENSE file for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
{ | ||
"name": "shulard/atoum-xml-extension", | ||
"type": "library", | ||
"description": "The atoum xml extension allows you to make assertions on XML files", | ||
"keywords": ["atoum", "test", "unit testing", "xml", "schema validation", "extension", "atoum-extension"], | ||
"homepage": "http://www.atoum.org", | ||
"license": "apache-2", | ||
"authors": [ | ||
{ | ||
"name": "Stéphane HULARD", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"atoum/atoum": "^2.8" | ||
}, | ||
"require-dev": { | ||
"atoum/praspel-extension": "~0.16", | ||
"squizlabs/php_codesniffer": "~2" | ||
}, | ||
"license": "apache2", | ||
"authors": [ | ||
{ | ||
"name": "Stéphane HULARD", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"autoload": { | ||
"psr-4": { | ||
"mageekguy\\atoum\\xml\\": "classes" | ||
|