Write Tracker, Archiving and API integration tests. #1327

mattab opened this Issue May 5, 2010 · 1 comment

1 participant

Piwik Open Source Analytics member

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.)
Piwik Open Source Analytics member

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

@mattab mattab added this to the Piwik 0.9.9 - Stable release milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment