Build Stuff 2018 has ended
Back To Schedule
Thursday, November 15 • 11:30am - 12:20pm
[SLIDES]Milda Glebauskiatė @mildagle - Writing tests when the code is already there: Golden Master technique

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Inheriting someone else’s code is scary. It might be ugly, unreadable and the intentions are not always clear. Especially if there are no tests. How to deal with it? Characterization tests come to the rescue.
There is no doubt, that test coverage brings safety when refactoring or adding new features to code. However, legacy code tend to be untestable and often we’re stuck in a vicious circle were to test, we must refactor, and to refactor, we have to write tests. The purpose of characterization test known as Golden Master is to minimize the refactoring and maximize the safety in these situations.
In this session we will learn when and how to apply Golden Master and try to implement it ourselves.

avatar for Milda Glebauskaitė

Milda Glebauskaitė

Server developer, WIX.COM
Milda started her career with Python, working in couple Vilnius-based startups, but quickly moved to Scala and NodeJS.  Currently working in Wix.com - company that creates a leading web development platform. She is interested in quality code, test-driven development, and coding... Read More →

Thursday November 15, 2018 11:30am - 12:20pm EET
5. Zeta