Benito Serna

Trying to build software that works

I build software at Briq.mx and JazzControls.
Previously I was at Innku, working in applications like Tastify, Aventones and Reservamos. And here I write about what I have learned in my journey.

All Articles

How organizing your code in use cases can help you to start your projects using TDD

How and when to use mock objects with ruby and rspec

How to test that you are creating a record without using the database

How to test that an specific email was sent

How dependency injection saved me some hours of work

Slow Tests?... How to remove the database from your tests and make them fast!

The secret for Unit Testing on Rails

Writing unit tests as feature tests

A little template for testing record creation via unit test on your App

Three different ways of testing your Rails App

Clean a controller action being explicit about the business rules

Unit Tests …. ¿Que es una unidad? ¿Puedo hacer un mock de una unidad?

5 Reglas para desacoplar tu aplicación de Rails y tener pruebas realmente rápidas

Rails no es mi app…. pero ¿Que tanto debería delegar al modelo?

Fast tests for apps that use Rails (slides)

Deciding who to invite to your wedding using ruby

Testing functions with side effects in elixir (by a functional noob)

Your first feature spec

Guía para empezar a usar Git

A controller that knows less

Thinking small programs

Building simpler models, using custom PORO validators

Como hacer modelos más simples, usando validadores especializados.

Emberjs vs My frontend hacks - Actualizar Contadores

Practicar, practicar, practicar

(Refactor) Dynamic assignment with coffeescript

User-centric Routing with Devise and Rails

Your API in your Views, using Jbuilder

Objetos en javascript (bueno coffeescript)

Refactoring my old cucumber tests

Making a template handler with Markdown and ERb