summaryrefslogtreecommitdiff
path: root/test/test_classes.php
AgeCommit message (Collapse)Author
2013-01-22Merge remote-tracking branch 'upstream/develop' into dev-multi. Updated ↵Tom Gregory
documentation to rat format, and tests to use phpunit. (Resolved)Conflicts: README.markdown idiorm.php test/test_queries.php
2013-01-03Add test for get_last_statementSimon Holywell
2012-11-23Multiple connection support for Idiormtag
Mutiple connections code, including documentation and unit tests. Utilizes key names to distinguish connections, but uses a default connection if none specified. I don't (yet) use multiple connections in my work (it's pending), so this has not been tested "in the wild". Added unit tests with additional connections, ran unit tests for Paris against this build too, so an unmodified Paris is forward-compatible with this commit (mulitple connections support not yet coded for Paris). Does *NOT* add support for queries across multiple connections. (I don't even want to go there ...) ##### Edge-case compatibility breaks: * ORM::_setup_identifier_quote_character visibility was changed to protected (which was likely original intent, judging by prefixed name) * May break compatibility if ORM has been extended, **and** subclasses directly utilize `::_config`, `::_db`, `::_query_log`, or `::_query_cache` instead of using pre-existing accessor methods. (Paris does not do this; all Paris tests pass) * Re-use of `Tester` class outside of Idiorm repo, as `Tester::check_equal()` was renamed to `Tester::check_equal_query()` ##### Other notes New method: `ORM::get_connection_keys()`. New `Tester` method: `Tester::check_equal_string()`. TODO: Consider adding methods to get (connection-specific) configuration info.
2010-10-22Fix errors in test suiteJamie Matthews
2010-10-22Simplify mock testing objects and convert query tests to use logged queriesJamie Matthews
2010-09-20Unspecified terminal colours now printed in default colour rather than black ↵Jamie Matthews
in test runner
2010-09-20Add colouring to test runner, at terminal and in browserJamie Matthews
2010-09-20Test framework now works better when invoked from the command lineJamie Matthews
2010-02-13Improved comments for test classes, moved all testing functionality out of ↵Jamie Matthews
main ORM class.
2010-02-13Initial commit of testsJamie Matthews