Testing and QA workflows
There are a number of ways you can test and QA your pipeline to follow good data practices.
Testing new tracking implementations, schema changes, and enrichment changesโ
When implementing new tracking, or when making changes to your schemas or enrichments, we recommend you run testing by sending events to a sandbox environment before deploying your changes to Production environments.
For Snowplow BDP Enterprise Customersโ
- Find the sandbox endpoint in Snowplow Console - this is accessible on the Environments screen, as well as in the 'Testing details' dialog box on Data Structures and Enrichments screens.
- Send a few events from your application to the sandbox endpoint.
- Visit the OpenSearch Dashboard interface for your sandbox environment to check that your events have landed in the good queue (i.e. are valid) and that the data looks as you expect it to look (i.e. enriched appropriately, formatted and structured correctly).
- Once you are happy that your changes are valid, you can deploy them to Production along with any application code.
Test tracking using automated testingโ
For more automated testing of your tracking we have a tool called Snowplow Micro which allows you to integrate with your automated testing suite to check that your tracking remains intact as application-level changes are made.
Follow this guide to get familiar with Micro and set it up. Next, take a look at the examples of integrating Micro with Nightwatch and Cypress.