PlanetScale
PlanetScale logoPlanetScale · Feature trail

Test Suite Performance Optimization

1 post · Jan 2022

What this trail covers

This post details how PlanetScale achieved a 1-minute test suite runtime for their Rails application by optimizing test execution on Buildkite. Key strategies included leveraging parallel testing on CI with 64 workers and auditing FactoryBot usage to reduce the creation of unnecessary associated objects. The team implemented specific tests to guard against regressions in factory behavior. This capability focuses on improving developer productivity through faster feedback cycles in the CI/CD pipeline.

All PlanetScale trails