Support/MetricsDashboard/Test Plan
From MozillaWiki
< Support
Contents
Staging URLs:
- tiki-metrics.php (Public/end-user facing)
- tiki-admin_metrics.php (Private/Admin-only)
- tiki-admin.php?page=metrics (Tiki Admin page for Metrics)
- This is where numpoints is set (max value of 5)
Use cases/types of users:
- Public - viewing metrics (positive test cases)
- Public - potentially malicious/error-prone (negative test cases)
- Admins using admin functions (positive test cases)
- Try to break admin_metrics (negative test cases)
What QA will cover:
- On tiki-metrics.php:
- Tab switching
- Date sorting
- Last week:
- Default to last week
- Week of
- Default
- Enter valid week
- Enter invalid week
- Month of
- Default
- Enter valid month
- Enter invalid month
- Custom ranges
- Leave as default
- Valid day range
- Invalid day range
- Valid week range
- Invalid week range
- Valid month range
- Invalid month range
- Valid year range
- Invalid year range
- Last week:
- URL manipulation
- On https://dm-sumotools01.mozilla.org/tiki-admin_metrics.php:
- Negative testcases
- Invalid metric names
- Non-integer numpoints
- Out-of-range numpoints values
- Malformed SQL
- Negative testcases
What the SUMO team will cover:
- On https://dm-sumotools01.mozilla.org/tiki-admin_metrics.php
- Positive cases
- Correct SQL queries
- Positive cases