← Graph

test-prof

tool 6 connections

Ruby gem by Evil Martians (the speaker notes its name intentionally avoids 'TestProf' branding). Large toolkit of solutions for test-suite slowness. Most popular features: detecting and profiling Factory Cascades (identifying which factory and which test are slow), converting create calls to build automatically and logging which tests then fail so they can be rolled back, and catching factories to reuse them as fixtures. Pairs with the 'aggregate failures' RSpec feature the talk recommends for slow endpoint tests.

category
library
about
test-prof tool
Recommends test-prof for finding factory cascades and auto-replacing create with build.
about
test-prof tool
The contributor used test-prof to identify the RSpec before-each Rails.cache.clear that was the root cause.
about
test-prof tool
Answer notes test-prof can catch factories and reuse them as fixtures.
recommends
test-prof tool
Recommends test-prof for finding Factory Cascades and auto-swapping create for build.
tool test-prof
related_to
test-prof's FactoryProf component profiles and diagnoses Factory Cascades.
company Evil Martians
related_to
test-prof tool
test-prof is maintained by Evil Martians.

Provenance

Read by
21 extractions