Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write Tracker, Archiving and API integration tests. #1327

Closed
mattab opened this issue May 5, 2010 · 1 comment
Closed

Write Tracker, Archiving and API integration tests. #1327

mattab opened this issue May 5, 2010 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@mattab
Copy link
Member

mattab commented May 5, 2010

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.)
@mattab
Copy link
Member Author

mattab commented Jul 11, 2010

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
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

1 participant