Session

SpecRec: The easy way to test legacy code

Recently I come across a codebase where we spent days breaking dependencies and writing tests for a single class before we could make a change. Even more frustratingly, despite our efforts to take small steps and use well established dependency breaking techniques, we still almost leaked a serious bug into production.

So started to wonder if modern language features and tooling could make this hurdle unnecessary?

At answer I came up with is SpecRec: tool that generates characterisation tests with minimal code interventions. I’ll walk through the technique, show a real‑world use case, and explain how you can adopt it in your own projects.

Ivett Ördög

Engineering culture advocate, public speaker, creator of a gamified devops training tool "Lean Developer Experience"

Putzbrunn, Germany

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top