PHPackages                             oliverklee/tdd-seed - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. oliverklee/tdd-seed

ActiveProject[Testing &amp; Quality](/categories/testing)

oliverklee/tdd-seed
===================

Code for workshops on PHPUnit

v1.0.0(9y ago)716[1 issues](https://github.com/oliverklee/tdd-exercises/issues)GPL-3.0+PHPPHP ~5.6.0 || ~7.0.0 || ~7.1.0

Since Apr 20Pushed 5y ago3 watchersCompare

[ Source](https://github.com/oliverklee/tdd-exercises)[ Packagist](https://packagist.org/packages/oliverklee/tdd-seed)[ RSS](/packages/oliverklee-tdd-seed/feed)WikiDiscussions main Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (5)Used By (0)

Exercises for test-driven development
=====================================

[](#exercises-for-test-driven-development)

[![BuildStatus](https://github.com/oliverklee/tdd-exercises/workflows/CI/badge.svg?branch=main)](https://github.com/oliverklee/tdd-exercises/actions)[![Latest Stable Version](https://camo.githubusercontent.com/d847d65d79b8077f864987d4dd0d847b0f27cf30767610181b847a22eed96b45/68747470733a2f2f706f7365722e707567782e6f72672f6f6c697665726b6c65652f7464642d6578657263697365732f762f737461626c652e737667)](https://packagist.org/packages/oliverklee/tdd-exercises)[![Total Downloads](https://camo.githubusercontent.com/affbe232ea7bc3a4c4e1a74c2052d3be6737e26e743bec13a83d759508b72c6e/68747470733a2f2f706f7365722e707567782e6f72672f6f6c697665726b6c65652f7464642d6578657263697365732f646f776e6c6f6164732e737667)](https://packagist.org/packages/oliverklee/tdd-exercises)[![Latest Unstable Version](https://camo.githubusercontent.com/7ecfe02e74c4a2cbb6e3b5c9aa542680e405570241f52265a432b8fa1808c101/68747470733a2f2f706f7365722e707567782e6f72672f6f6c697665726b6c65652f7464642d6578657263697365732f762f756e737461626c652e737667)](https://packagist.org/packages/oliverklee/tdd-exercises)[![License](https://camo.githubusercontent.com/85ba7cf8a765f0b5321be5557e54f5345c38fd0fe2838f05f002a81848f81556/68747470733a2f2f706f7365722e707567782e6f72672f6f6c697665726b6c65652f7464642d6578657263697365732f6c6963656e73652e737667)](https://packagist.org/packages/oliverklee/tdd-exercises)

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

Installation
------------

[](#installation)

### PHP

[](#php)

#### Local 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

[](#installing-the-composer-packages)

Run `composer install` to install the required Composer packages.

Having a test list
------------------

[](#having-a-test-list)

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

Mutation testing
----------------

[](#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)
----------------------

[](#about-me-oliver-klee)

I am the maintainer of the [PHPUnit TYPO3 extension](http://typo3.org/extensions/repository/view/phpunit), which is available in the TYPO3 extension repository (TER).

You can book me for [workshops](https://www.oliverklee.de/workshops/workshops.html)at your company.

I also frequently give workshops at the TYPO3 Developer Days.

More Documentation
------------------

[](#more-documentation)

- [Handout to my workshops on test-driven development (TDD)](https://github.com/oliverklee/tdd-reader)

Other example projects
----------------------

[](#other-example-projects)

- [Selenium demo](https://github.com/oliverklee/selenium-demo)for using Selenium with PHPUnit
- [Coffee example](https://github.com/oliverklee/coffee)is my starting point for demonstrating TDD
- [Tea example](https://github.com/TYPO3-Documentation/tea)for unit tests for extbase extensions for TYPO3 CMS

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3306d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cc98eb6580d4532340e818ea893009da65365b7f3525f518d143732e838735a?d=identicon)[oliverklee](/maintainers/oliverklee)

---

Top Contributors

[![oliverklee](https://avatars.githubusercontent.com/u/765746?v=4)](https://github.com/oliverklee "oliverklee (81 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/oliverklee-tdd-seed/health.svg)

```
[![Health](https://phpackages.com/badges/oliverklee-tdd-seed/health.svg)](https://phpackages.com/packages/oliverklee-tdd-seed)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M679](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M571](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.0k](/packages/orchestra-testbench)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
