Skip to content

oliverklee/tdd-exercises

Repository files navigation

Exercises for test-driven development

BuildStatus Latest Stable Version Total Downloads Latest Unstable Version License

This project contains code to be used in my TDD workshops.

Installation

PHP

Local PHP

You will need a local PHP installation with Composer.

If you would like to use Infection for mutation testing, you will also need Xdebug.

Installing the Composer packages

Run composer install to install the required Composer packages.

Having a test list

For your test list, please create a fill test-list.txt. Git will ignore it for you.

Mutation testing

You can run the mutation testing with Infection to catch missing test cases:

vendor/bin/infection

Infection then will log its findings into the file infection.log.

About me (Oliver Klee)

I am the maintainer of the PHPUnit TYPO3 extension, which is available in the TYPO3 extension repository (TER).

You can book me for workshops at your company.

I also frequently give workshops at the TYPO3 Developer Days.

More Documentation

Other example projects

About

This is a starter repository for a project with PHPUnit.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages