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.
Daniel Siepmann 55f72aac20
TASK: Add some info to readme
3 years ago
Classes TASK: Last changes for first talk 3 years ago
Resources/Private/CodeExamples/Tests/Unit TASK: Update to TYPO3 CMS 9.5 and PHPUnit 8.0 3 years ago
.gitignore TASK: Last changes for first talk 3 years ago
composer.json TASK: Update to TYPO3 CMS 9.5 and PHPUnit 8.0 3 years ago
readme.rst TASK: Add some info to readme 3 years ago

readme.rst

Testing Talk
============

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:

Start
-----

Execute the following::

git clone https://github.com/DanielSiepmann/testing-talk.git
cd testing-talk

Clean everything::

rm -rf composer.lock vendor web Tests phpunit.xml.dist infection.json.dist Results

Installation development dependencies using composer::

composer install

This also includes PHPUnit, see: composer.json

Check installation::

./vendor/bin/phpunit --version

This would not work yet, as we do not have any tests::

./vendor/bin/phpunit Tests/Unit/

Links:

* https://phpunit.de/

* https://packagist.org/packages/phpunit/phpunit

.. note::

The concrete PHPUnit version also depends on your current PH