Overview
Syllabus
Building a Canary Testing Framework
What is a canary?
Canary tests should mimic user behavior and test a specific feature.
Allow for more specificity and granularity for the execution environment
Visualization of Test Output / Execution Status
Recording and alerting on metrics via Prometheus
Canary Framework Architecture Components
A database for storing test execution results
Why Go for the actual framework?
Decent support for embedding languages
Allows us to write and run test scripts using JavaScript
The Canary Daemon
Executes the config file and registers the tests to run
Repeatedly runs each test using the runner, save results to the database
Loading Test Configurations
Standard Library Functions
Saving Test Execution Results to a Database
Questions?
Taught by
Strange Loop Conference