Talking head
Elixir Conf 2016

This presentation, by Kat Tornwall, is licensed under a Creative Commons Attribution ShareAlike 3.0

Test driven development is a core part of our process at Gaslight, and for our first couple of Elixir applications, we struggled adjusting to writing tests in our Phoenix application after years of working with RSpec and Rails. Luckily, we’ve come up with several conventions, tips, and tricks to help developers write simple, easy to understand unit and feature tests. In this talk I’ll describe how we structure tests, test setup, and helper objects to make TDD as painless as possible. Specific topics I’ll cover are: Naming conventions for organizing tests Using factories and helpers to clean up your setup Splitting tests into files to group them by context Keeping your feature in order with page modules and Hound Writing assertions to generate useful failure messages

Rated: Everyone
Viewed 454 times
Tags: There are no tags for this video.