21/40

Tests

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



User contributed notes. Please use the comment section to provide tips, notes and examples. To ask for support or to provide feedback use the forum. For bug reports use Github Issue Tracker.

Site comments powered by Disqus

page generated in 0.029358863830566 sec.