wavevision/nette-tests

This package is abandoned and no longer maintained. No replacement package was suggested.

PHPUnit extension for testing Nette applications.

5.0.2 2022-05-25 10:58 UTC

README

Wavevision s.r.o.

Nette Tests

CI Coverage Status PHPStan

PHPUnit extension for testing Nette applications.

Install

composer require --dev wavevision/nette-tests

Configuration

Add callback for creating Nette\Configurator to bootstrap for tests.

Features

Presenter mapping

This testing suite lets you use your presenter classes to resolve :Module:Presenter:action mapping. This is achieved using 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

See this great talk by Jakub Filla to learn basic concepts of this extension.