Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Latest commit

 

History

History
24 lines (15 loc) · 796 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 796 Bytes

STATUS - ARCHIVED

PHPUnit tests for Wolf CMS

These are the PHPUnit tests for Wolf CMS. Current status of the tests is very dirty, simplistic and basic.

The setup of the tests make certain assumptions, mostly path related. These paths can be found in bootstrap.php

When adding new tests, they should not contain paths and environment specific information. All environment specific data should go into bootstrap.php

NOTE: if you're testing in Windows, it doesn't support ANSI escape sequences to display colors in console, therefore PHPunit output is broken. There are some workarounds for this, like ANSICON app but the easiest way to fix this:

change colors="true" to colors="false" in phpunit.xml

=======================

http://www.wolfcms.org/

http://www.phpunit.de/