API System tests are not actual system tests #9271
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
c: Tests & QA
For issues related to automated tests or making it easier to QA & test issues.
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone
The system tests are not actually executed via HTTP but via
API\Request::processRequest()
in the same environment as the tests run in https://github.com/piwik/piwik/blob/2.15.1-b2/tests/PHPUnit/Framework/TestCase/SystemTestCase.php#L299The point of system tests (or end-to-end tests) is to actually test the system from outside via HTTP. Otherwise it is kinda just an integration test. Either we should actually execute them via HTTP (even if it'll take a bit longer) or we should move them to IntegrationTests as it otherwise leads to wrong expectations.
The text was updated successfully, but these errors were encountered: