Background | Slides | GitLab |
---|
Speakers
- Erin Krengel, Pulumi
- Sean Holung, Nordstrom
Two kinds in this context:
- Unit testing
- These test specific functions in code
- Acceptance testing
- These test components in a system
Automate acceptance testing with spinning up ephemeral environments.
Use automation tools for building environments so that CI can create the ephemeral environment for running the tests. The ephemeral environment should match production as closely as possible.
The acceptance tests can be written in code and run as Kubernetes jobs.
- Ensures service behaves as expected
- Documents behavior
- Provides confidence to make sweeping changes
- Tests applications & infrastructure
- Quicker feedback loops
- Reproducible environment that mimics Prod
- Encourages automated testing