18F / analytics-reporter

Lightweight analytics reporting and publishing tool for Digital Analytics Program's Google Analytics 360 data.

Home Page:https://analytics.usa.gov/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tech Debt: Add automated integration tests to analytics-reporter

levinmr opened this issue · comments

Currently we rely on manual testing in the develop environment to show that reports are executed successfully and return the expected data from GA4. Automating these tests will save development time in the future to ensure that there is no regression in existing features when changes are made to the analytics-reporter

Create a set of automated integration tests to ensure that expected requests/parameters are made to the google analytics APIs, that google analytics API calls are successful, and that the data output from the application matches what is expected.

Ensure that tests will fail when changes are made to the application which cause any of the above to change.