PHPackages                             wavevision/nette-tests - 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. wavevision/nette-tests

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

wavevision/nette-tests
======================

PHPUnit extension for testing Nette applications.

5.0.2(4y ago)69.2k↓57.1%2[2 issues](https://github.com/wavevision/nette-tests/issues)[4 PRs](https://github.com/wavevision/nette-tests/pulls)7MITPHPPHP &gt;=8.0

Since Oct 10Pushed 3y ago2 watchersCompare

[ Source](https://github.com/wavevision/nette-tests)[ Packagist](https://packagist.org/packages/wavevision/nette-tests)[ RSS](/packages/wavevision-nette-tests/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (19)Versions (34)Used By (7)

[![Wavevision s.r.o.](https://camo.githubusercontent.com/9479da35305d94b0244ac1c81fe283d0abb86fe217b2a815056165c67c0574e6/68747470733a2f2f77617665766973696f6e2e636f6d2f696d616765732f77617665766973696f6e2d6c6f676f2e706e67)](https://github.com/wavevision)

Nette Tests
===========

[](#nette-tests)

[![CI](https://github.com/wavevision/nette-tests/workflows/CI/badge.svg)](https://github.com/wavevision/nette-tests/actions/workflows/ci.yml)[![Coverage Status](https://camo.githubusercontent.com/04a46bdb7e9280a287f7a6293a1573ca4242ee5596b4d0ad42952021029669ed/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f77617665766973696f6e2f6e657474652d74657374732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/wavevision/nette-tests?branch=master)[![PHPStan](https://camo.githubusercontent.com/027fd636e970cf392fd4478baf3261048b41955d2905a95fb47da6bf19b8640a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374796c652d6c6576656c2532306d61782d627269676874677265656e2e7376673f6c6162656c3d7068707374616e)](https://github.com/phpstan/phpstan)

[PHPUnit](https://github.com/sebastianbergmann/phpunit/) extension for testing [Nette](https://github.com/nette/nette)applications.

Install
-------

[](#install)

```
composer require --dev wavevision/nette-tests

```

Configuration
-------------

[](#configuration)

Add callback for creating `Nette\Configurator` to [bootstrap](tests/app/tests/bootstrap.php) for tests.

Features
--------

[](#features)

- [DI container](tests/app/tests/Models/ExampleModelTest.php) in tests, allow services [injects](tests/app/tests/Models/ExampleModelTest.php) in tests
- [presenter](tests/app/tests/Presenters/ExamplePresenterTest.php) testing
- [form](tests/app/tests/Presenters/FormPresenterTest.php) submit testing

### Presenter mapping

[](#presenter-mapping)

This testing suite lets you use your presenter classes to resolve `:Module:Presenter:action` mapping. This is achieved using [nepada/presenter-mapping](https://github.com/nepada/presenter-mapping) extension which is registered in your tests DIC as `presenterMapping`.

If your tested app uses this extension for presenter mapping as well, **make sure you register it in your config with the same name**.

Learn
-----

[](#learn)

See [this great talk](https://www.youtube.com/watch?v=E1r0EhTkWn4) by [Jakub Filla](https://github.com/jfilla) to learn basic concepts of this extension.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

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

Every ~41 days

Recently: every ~100 days

Total

24

Last Release

1500d ago

Major Versions

1.0.1 → 2.0.02019-10-18

2.2.2 → 3.0.02020-01-30

3.2.0 → 4.0.02021-09-15

4.0.0 → 5.0.02021-09-22

PHP version history (3 changes)1.0.0PHP &gt;=7.2

3.0.0PHP &gt;=7.4

4.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3af21e3a334be19fe9e3355c0d300a8a41e63322103aa24929e745d7cac6c965?d=identicon)[rozsival](/maintainers/rozsival)

![](https://www.gravatar.com/avatar/64a880caaffe510a647f7ae7da515846fc661fe10744b17a981ddbc47bbae4df?d=identicon)[jfilla](/maintainers/jfilla)

---

Top Contributors

[![jfilla](https://avatars.githubusercontent.com/u/5280477?v=4)](https://github.com/jfilla "jfilla (48 commits)")[![rozsival](https://avatars.githubusercontent.com/u/7785240?v=4)](https://github.com/rozsival "rozsival (18 commits)")[![qwerin](https://avatars.githubusercontent.com/u/6010831?v=4)](https://github.com/qwerin "qwerin (1 commits)")

---

Tags

nettenette-testsphpunittesting

### Embed Badge

![Health badge](/badges/wavevision-nette-tests/health.svg)

```
[![Health](https://phpackages.com/badges/wavevision-nette-tests/health.svg)](https://phpackages.com/packages/wavevision-nette-tests)
```

###  Alternatives

[nette/web-project

Nette: Standard Web Project

10993.3k](/packages/nette-web-project)[tomaj/nette-api

Nette api

36273.2k8](/packages/tomaj-nette-api)

PHPackages © 2026

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