This is an outdated version of the Manual. Visit the NEW Manual

RedUNIT

RedBeanPHP has been tested very well. You can find the test files on github. The complete set of test files for RedBeanPHP is called RedUNIT. RedBeanPHP has been tested with PHP Coverage. With version 3.0 RedBeanPHP has reached 99% test coverage.

To run a unit test pack, type the following command in testing/cli:

./start.sh

This will run the tests. To run all mysql tests (same for Postgres,Sqlite):

./start.sh Mysql

To run a single test package:

./start.sh Base/Graph

Before you run tests yourself you might want to take a look at the test configuration file config/test.ini


 
 

RedBeanPHP Easy ORM for PHP © 2014 Gabor de Mooij and the RedBeanPHP community - Licensed New BSD/GPLv2