TOGoS/TOGoSDBC
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
== Running unit tests == Install PHPUnit (I like to use 3.4.9 because it's easy to install and hack fixes into). In order to run tests that need to connect to an actual database, create a file in this directory called unittest-config.php. Mine looks like this: <?php TOGoS_DBC_TestConfig::$mysqlTestConfig = array( 'driver' => 'mysql', 'host' => 'lokelhost', 'port' => 5506, 'user' => 'unittest', 'password' => 'unittest', 'database' => 'dbc_unittest', ); dbc_unittest is a blank database dedicated soely to testing the SQLExecutor objects. The unittest user has all privileges in it.
About
A minimal SQL database connection API for PHP 5.2
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published