PHPackages                             qa-tools/phpunit-extension - 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. qa-tools/phpunit-extension

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

qa-tools/phpunit-extension
==========================

QA-Tools extension for PHPUnit

v1.0.0(10y ago)04.5kBSD-3-ClausePHP

Since Oct 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/qa-tools/phpunit-extension)[ Packagist](https://packagist.org/packages/qa-tools/phpunit-extension)[ RSS](/packages/qa-tools-phpunit-extension/feed)WikiDiscussions master Synced 1mo ago

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

QA-Tools / PHPUnit Extension
============================

[](#qa-tools--phpunit-extension)

[![Latest Stable Version](https://camo.githubusercontent.com/1909a7da2d6eed3ee0654f773f0f086be8588ca9a075ce99331093d3b5c094e1/68747470733a2f2f706f7365722e707567782e6f72672f71612d746f6f6c732f706870756e69742d657874656e73696f6e2f762f737461626c65)](https://packagist.org/packages/qa-tools/phpunit-extension)[![Total Downloads](https://camo.githubusercontent.com/db9a39a3b78968be64c7bae1f459b13dda5c5cd46c7fd6c3e4d6d7e0eb0c3367/68747470733a2f2f706f7365722e707567782e6f72672f71612d746f6f6c732f706870756e69742d657874656e73696f6e2f646f776e6c6f616473)](https://packagist.org/packages/qa-tools/phpunit-extension)[![License](https://camo.githubusercontent.com/6c753118140c45be036eac9952a11dae3a62f46de157ecce6a8a53ac9c36346d/68747470733a2f2f706f7365722e707567782e6f72672f71612d746f6f6c732f706870756e69742d657874656e73696f6e2f6c6963656e7365)](https://packagist.org/packages/qa-tools/phpunit-extension)

Extension to use [QA-Tools library](http://www.qa-tools.io) with [PHPUnit](https://phpunit.de/).

Asking Questions
----------------

[](#asking-questions)

Feel free to ask any questions and share your experiences in the [Chat Room](https://gitter.im/qa-tools/qa-tools) and help to improve the documentation.

Usage
-----

[](#usage)

1. when creating unit test class sub-class the base test case class (see [Installation](#installation))
2. use `$this->pageFactory` to get page factory instance associated with current Mink session
3. see more usage examples at

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

[](#installation)

1. run this command to add Composer dependencies: `php composer.phar require qa-tools/phpunit-extension --dev`
2. create base class for all unit tests by sub-classing `\QATools\PHPUnitExtension\AbstractQAToolsTestCase`
3. take a look at provided `\QATools\PHPUnitExtension\AbstractQAToolsTestCase::getBrowserAliases` method (change in sub-class if needed) to find out what default browser is used

Requirements
------------

[](#requirements)

- [Composer](https://getcomposer.org/download/)

Contributing
------------

[](#contributing)

See [CONTRIBUTING](CONTRIBUTING.md) file.

License
-------

[](#license)

QA-Tools / PHPUnit Extension is released under the BSD-3-Clause License. See the bundled [LICENSE](LICENSE) file for details.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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

3865d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/84e70d0bdeaa7cd5875b73c862ccd8359d2df057fb48a716fdd14d99a7f24fca?d=identicon)[aik099](/maintainers/aik099)

---

Top Contributors

[![aik099](https://avatars.githubusercontent.com/u/1277526?v=4)](https://github.com/aik099 "aik099 (2 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (2 commits)")

---

Tags

phpphpunit-extensionqa

### Embed Badge

![Health badge](/badges/qa-tools-phpunit-extension/health.svg)

```
[![Health](https://phpackages.com/badges/qa-tools-phpunit-extension/health.svg)](https://phpackages.com/packages/qa-tools-phpunit-extension)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[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.9M570](/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.1k](/packages/orchestra-testbench)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)

PHPackages © 2026

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