1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-17 22:28:46 +01:00

56 Commits

Author SHA1 Message Date
Joas Schilling
94bc65e203 [feature/dbal-tests] Added database test & refactored test framework
There is now a phpbb_database_test_case which can be used as a base class for tests that require database access. You have to set up a test_config.php file in your tests/ directory containing host, user, pass etc.

Extra test functionality has been moved to phpbb_test_case_helpers to provide the same functionality in database tests and regular tests without duplicating the code. This is achieved through delegation of method calls.
2010-03-26 16:39:37 +01:00
Nils Adermann
60bd1edcb5 [develop-olympus] Backported 3.1 unit tests to 3.0.
Start adding unit tests for bugs you fix! Tests for anything are
welcome really. We have to work on these a lot.
2010-03-10 16:24:19 +01:00
Andreas Fischer
cacead09a5 Merge branch 'develop-olympus' into develop
* develop-olympus:
  [ticket/10060] Fix test suite under MySQL
2011-02-25 16:59:12 +01:00
Nils Adermann
bd51bbda4e Merge branch 'develop-olympus' into develop
* develop-olympus:
  [task/refactor-db-testcase] Further improve error messages.
  [task/refactor-db-testcase] Do not show db password on connect error
  [task/refactor-db-testcase] Improve error message of db tests
  [task/refactor-db-testcase] Refactor phpbb_database_test_case
2011-02-16 11:55:43 +01:00
Oleg Pudeyev
0765f9ba7f [ticket/10013] Use mkdir to create directory trees.
PHPBB3-10013
2011-02-12 14:44:53 +01:00
Oleg Pudeyev
4e446277a5 [ticket/10013] Fixed cache test to create intermediate directories.
PHPBB3-10013
2011-02-12 14:44:53 +01:00