You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* Remove results folder for cleanup. As it's created on demand. * Add missing information about structure of tests.
|3 years ago|
|Classes||3 years ago|
|Resources/Private/CodeExamples/Tests/Unit||3 years ago|
|.gitignore||3 years ago|
|composer.json||3 years ago|
|readme.rst||3 years ago|
This is about automated testing, for PHP.
Everyone is testing already, by hand. This involves:
* Unit testing
* Functional testing
* Acceptance testing
* Browser testing
All of the above is already done by you, so … NO PANIC!
This is "The Hitchhiker's Guide to […]" testing.
Table of contents:
.. contents:: :local:
Execute the following::
git clone https://github.com/DanielSiepmann/testing-talk.git
rm -rf composer.lock vendor web Tests phpunit.xml.dist infection.json.dist Results
Installation development dependencies using composer::
This also includes PHPUnit, see: composer.json
This would not work yet, as we do not have any tests::
The concrete PHPUnit version also depends on your current PH