Skip to content

Commit 38e0f6f

Browse files
flagbirdRuben Beglaryan
authored andcommitted
document test commands in readme file
1 parent b17865e commit 38e0f6f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,28 @@ This extension supports the latest Akeneo PIM CE/EE stable versions:
9999
* 2.3 (LTS)
100100
* 2.1 and 2.2 (STS)
101101

102+
## Running Test-Suits ##
103+
104+
The TableAttributeBundle is covered with tests and every change and addition has also to be covered with
105+
unit or/and integration tests. It uses two testing suits: [PHPSpec](https://www.phpspec.net) and
106+
[PHPUnit](https://phpunit.de/).
107+
108+
To run the tests you have to change to this project's root directory and run the following commands in your console:
109+
110+
``` bash
111+
vendor/bin/phpunit
112+
vendor/bin/phpspec run
113+
```
114+
115+
## Coding style ##
116+
117+
TableAttributeBundle uses the [PSR-2](https://www.php-fig.org/psr/psr-2/) coding style and can be checked with
118+
[Codesniffer](https://github.com/squizlabs/PHP_CodeSniffer).
119+
120+
``` bash
121+
vendor/bin/phpcs --standard=PSR2 --extensions=php ./src
122+
```
123+
102124
## License ##
103125

104126
The TableAttributeBundle is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

0 commit comments

Comments
 (0)