Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-28update database test work without section set (#18151)Peter Zhang
* 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
2021-10-07Merge 4.5.0 release (#18105)Justin Velluppillai
2021-06-18fix regression in trackingspamprevention and warning in bound parameter ↵dizzy
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
2020-07-05Improve host validation (#16169)Thomas Steur
2020-01-28Use rebranded components (#15253)Stefan Giehl
2020-01-16Removes some methods deprecated for Matomo 4 (#15386)Stefan Giehl
* Removes deprecated Plugin.getListHooksRegistered and uses Plugin.registerEvents instead * Removes deprecated method Piwik\Piwik::doAsSuperUser * Remove deprecated SettingsPiwik::isPiwikInstalled and use SettingsPiwik::isMatomoInstalled instead
2019-03-15Support multiple plugin paths (#14051)Thomas Steur
* 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.
2017-09-27Pass --piwik-domain value to phpunit via environment variable so correct INI ↵Benaka
config will be used in tests. (#12119)
2015-10-27Try to fix nginx setup on travis. Includes new [tests] INI config parameter ↵diosmosis
for port (since using port 80 is not allowed for normal users on linux).
2015-10-04Since autoloading is used now, do not manually include fixture files during ↵diosmosis
tests. Fixes case when one plugin has issue in fixture class making it impossible to run tests (since the tests:run will just fail).
2015-06-12Workaround phpunit class loading issue caused by testing environment ↵diosmosis
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.
2015-06-06Allow multiple environments to be specified to Environment constructor. Add ↵diosmosis
hook in EnvironmentManipulator to get extra environment names, and specify test environment this way instead of through detecting PIWIK_TEST_MODE.
2015-06-02Use test.php DI config options if PIWIK_TEST_MODE is defined.diosmosis
2015-06-02Rename Piwik_TestingEnvironment to TestingEnvironment and move the class to ↵diosmosis
Piwik\Tests\Framework namespace. Remove manual require statements.
2015-04-09Document UnitTestCase::provideContainerConfig and clean up bootstrap.php ↵diosmosis
container setup hack.
2015-04-05Move DI container creation to Piwik\Application\Environment class.diosmosis
2015-04-02Remove uses of Config::init(), Config::clear() and ↵diosmosis
Config::setTestEnvironment(). Replace last w/ mock config class, which is closer to use of DI.
2015-02-23fixes #6635 automatically configure database_tests config for developers ↵Thomas Steur
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
2015-02-20Maybe this helps the UI tests?mattab
2015-02-11it is ok if there is an update available for PiwikThomas Steur
2015-02-09Fix unit tests by removing deprecated classesMatthieu Napoli
2015-02-09usually tests to destroy the database on teardown so it is ok if the ↵Thomas Steur
piwik_tests db does not exist
2015-02-03include UI specs in Piwik repo and run tests in this repository.Thomas Steur
On local it does not work and I have not figured out why. Maybe it works on travis though?
2015-01-15Increase the timeout for testsMatthieu Napoli
2015-01-14When database is not created yet, prevent fails from testing locallymattab
2015-01-07Display proper URL used in the HTTP request in test outputmattab
2015-01-05Fix unit tests by loading no translations by default in testsMatthieu Napoli
2015-01-05Fixing testsMatthieu Napoli
2015-01-05crapMatthieu Napoli
2015-01-05Updated the URLMatthieu Napoli
2015-01-05Faster bootstrap for PHPUnit testsMatthieu Napoli
2014-12-22Removed Piwik\Loader: Composer's autoloader is now included in ↵Matthieu Napoli
core/bootstrap.php
2014-12-22Moved common bootstrap code in a `core/bootstrap.php` fileMatthieu Napoli
This file is not in a class because it needs to be compatible with PHP 4.
2014-12-10#6622 Logger refactoring: introduced a DI config for the test environmentMatthieu Napoli
2014-11-12refs #6635 if user has not configured test section but Piwik is installed ↵Thomas Steur
then we can configure most parts for the user
2014-11-12refs #6635 move php server config from phpunit.xml to config which seems to ↵Thomas Steur
simplify quite a lot.
2014-10-24Simplified tests autoloading by using Composer's "autoload-dev"Matthieu Napoli
2014-10-24Fixed master buildMatthieu Napoli
2014-10-24do not check for piwik installation when running unit testsThomas Steur
2014-10-13refs #5940 moved files into a subfolder framework, added autoloader to ↵Thomas Steur
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
2014-10-06refs #5940 we might stay backwards compatible this way for 2 months. moved ↵Thomas Steur
some tests from unit to integration and explained when a test is a unit test, an integration test or a system test.
2014-10-05refs #5940 fix tests do not runThomas Steur
2014-10-05refs #5940 databaseTestCase => integrationTestCase. Fixed some mentions of ↵Thomas Steur
integration => system
2014-10-05refs #5940 IntegrationTestCase => SystemTestCaseThomas Steur
2014-10-02Change created for one specific test case.diosmosis
2014-08-21Get xhprof integration to work. Only setup xhprof once per php execution and ↵diosmosis
correctly aggregate xhprof runs (xhprof aggregation will always normalize so we must aggregate ourselves).
2014-08-20Remove Piwik autoloader and replace composer autoloader.diosmosis
2014-07-26Refactoring IntegrationTestCase class:diosmosis
- 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
2014-07-10Refs #5800, add namespaces to all Fixture classes.diosmosis
2014-06-11Merge branch 'master' into DeviceDetector2sgiehl