TASK: Add some info to readme
* Remove results folder for cleanup. As it's created on demand. * Add missing information about structure of tests.
This commit is contained in:
parent
37dc2c7821
commit
55f72aac20
1 changed files with 5 additions and 1 deletions
|
@ -34,7 +34,7 @@ Execute the following::
|
||||||
|
|
||||||
Clean everything::
|
Clean everything::
|
||||||
|
|
||||||
rm -rf composer.lock vendor web Tests phpunit.xml.dist infection.json.dist
|
rm -rf composer.lock vendor web Tests phpunit.xml.dist infection.json.dist Results
|
||||||
|
|
||||||
Installation development dependencies using composer::
|
Installation development dependencies using composer::
|
||||||
|
|
||||||
|
@ -88,6 +88,8 @@ What's in the test?
|
||||||
|
|
||||||
#. We have one PHP class `AddressTest`.
|
#. We have one PHP class `AddressTest`.
|
||||||
|
|
||||||
|
#. The class and file ends with `Test`.
|
||||||
|
|
||||||
#. Two public methods.
|
#. Two public methods.
|
||||||
|
|
||||||
#. The methods are annotated with `@test`.
|
#. The methods are annotated with `@test`.
|
||||||
|
@ -194,6 +196,8 @@ Benefits of tests
|
||||||
|
|
||||||
#. Allow more secure refactoring.
|
#. Allow more secure refactoring.
|
||||||
|
|
||||||
|
#. Forces to write clean code.
|
||||||
|
|
||||||
Automate test execution
|
Automate test execution
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue