Examples how to unittest:
- Routes
- Page Models from
/site/models
or plugins - Custom Classes from plugins
- clone or download the zip
- run
composer install
- (optional) install a phpunit plugin for your IDE
composer analyze
for phpstancomposer insights
for phpinsightscomposer test
for phpunit
- run
composer install --no-dev
- make a donation 🍻 or
- buy me ☕ or
Thanks for the coffee Adam! 👍
This kit is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.
It is discouraged to use this kit in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.
This repository is a set of examples for unittesting in Kirby 3. It does not include a free copy of Kirby 3 nor does it make its sourcecode MIT. You still need to buy a license for production servers.