Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Write Tracker, Archiving and API integration tests. #1327

mattab opened this Issue · 1 comment

1 participant


This ticket is a placeholder for the missing unit and integrations tests in Piwik. See existing tests in trunk.

  • core/Tracker/* Some code is being unit tested, but no test cover the full interactions and code path, eg. tracking a page, tracking a goal, setting a custom page name, etc.
  • Archiving. Archiving is not unit tested at the moment. The cheaper approach might be to test directly the data returned by APIs in a "black box" fashion, ie. replay "golden" logs to the tracker script, and check that we get expected API results. Each test would contain a small gold log testing a specific code path, as well as the expected reports from this log (visits, list of pages, list of referers, etc.)

Fixed except for Webtest the auto updater. lowering scope of ticket

@mattab mattab added this to the Piwik 0.9.9 - Stable release milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.