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

Unit tests for Wolf CMS

Notifications You must be signed in to change notification settings

wolfcms/wolfcms-phpunit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages