Age | Commit message (Collapse) | Author |
|
* update database test
update database test
* update tests
update tests
* add matomo_tests to exception
add matomo_tests to exception
* test env on travis
test env on travis
* test database change on travis
test database change on travis
* update tests
update tests
* update test
update test
* update test database host
update test database host
* update tests
update tests
* Update bootstrap.php
update bootstrap to recreate empty test
|
|
|
|
checking code (#17683)
* remove testdox
* fix warning if parameters is a single value, not an array
* allow skipping valid host check for hardcoded URLs we know are valid
* print testdox hint in case build takes too long to finish consistently
* move testdox warning to correct boostrap file
* fixing some tests + fix use of Date in bind params
|
|
|
|
|
|
* Removes deprecated Plugin.getListHooksRegistered and uses Plugin.registerEvents instead
* Removes deprecated method Piwik\Piwik::doAsSuperUser
* Remove deprecated SettingsPiwik::isPiwikInstalled and use SettingsPiwik::isMatomoInstalled instead
|
|
* do not hard code plugins directory
* remove method that is not needed for now
* use plugins directory in more places
* some work on supporting multiple plugin directories
* use more unique name
* couple fixes
* and another fix
* sort plugins
* adjust languagesmanager
* adjust more usages
* Update Manager.php
* adding a plugin to test
* more tests
* make sure plugin resources can be located in custom directory
* adding more tests
* rewrite image paths
* handle more cases
* add tests
* make sure to load plugin
* trying to fix test
* trying it this way
* load plugin
* fix ui test?
* testing if tests succeed this way
* another test
* load custom dir plugin
* load plugin in ui fixture
* change the update statement
* remove update script
* delete column
* fix ui test
* make it work for tests
* fix some tests
* Fix merge.
|
|
config will be used in tests. (#12119)
|
|
for port (since using port 80 is not allowed for normal users on linux).
|
|
tests. Fixes case when one plugin has issue in fixture class making it impossible to run tests (since the tests:run will just fail).
|
|
variables. Sometimes a test case class will be loaded before phpunit starts running (ie, in bootstrap.php), which causes the phpunit file loader to fail if a path to a test file is specified on the command line.
|
|
hook in EnvironmentManipulator to get extra environment names, and specify test environment this way instead of through detecting PIWIK_TEST_MODE.
|
|
|
|
Piwik\Tests\Framework namespace. Remove manual require statements.
|
|
container setup hack.
|
|
|
|
Config::setTestEnvironment(). Replace last w/ mock config class, which is closer to use of DI.
|
|
when running tests.
I also replaced the check that does a request against Piwik to check
whether it is installed with `SettingsPiwik::isInstalled()` as discussed
recently
|
|
|
|
|
|
|
|
piwik_tests db does not exist
|
|
On local it does not work and I have not figured out why.
Maybe it works on travis though?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
core/bootstrap.php
|
|
This file is not in a class because it needs to be compatible with PHP 4.
|
|
|
|
then we can configure most parts for the user
|
|
simplify quite a lot.
|
|
|
|
|
|
|
|
remove duplicated code to load autoload.php and to be able to register more autoloaders (eg for test files) on demand. This I got read of many includes that had to be updated all the time and that had to be updated all the time when moving iles
|
|
some tests from unit to integration and explained when a test is a unit test, an integration test or a system test.
|
|
|
|
integration => system
|
|
|
|
|
|
correctly aggregate xhprof runs (xhprof aggregation will always normalize so we must aggregate ourselves).
|
|
|
|
- moved all API URL generation logic & API response handling logic to separate classes
- created ApiTestConfig class to hold API test options (and documentation for properties)
- remove unnecessary IntegrationTestCase properties and methods (including apiNotToCall/apiToCall)
- remove as many unnecessary API test options as possible (including abandonedCarts, hackDeleteRangeArchivesBefore)
- rename checkRequestResponse to assertApiResponseHasNoError
|
|
|
|
|