Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.
/ nette-tests Public archive

🧰 PHPUnit extension for testing @nette applications

License

Notifications You must be signed in to change notification settings

wavevision/nette-tests

Repository files navigation

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.