Aug 1, 2021Nested Factories — Why I chose to use themSo far I have been used Rspec + FactoryBot for the last couple of years as my testing suite for Rails apps. …Factorybot2 min read
Jun 18, 202110 Things I wish I knew before testing my Rails Application with rspec for the first time [Part 2]This article is the second part of my “10 Things I wish I knew before testing my Rails Application with rspec for the first time” series. In case you haven’t read part 1, here is the link. It has been some time since my Part 1 article, we are living…Rails3 min read
Aug 22, 202010 Things I wish I knew before testing my Rails Application with rspec for the first time [Part 1]It’s been almost a year since I started using rspec to test my Rails application and on the way I have learned a lot of things that made my life much easier. I’ll share the first 5 most important ones along this post. Follow betterspecs.org guidelines Lost? Don’t know if you…Rspec2 min read
Aug 3, 2020Cypress & Rails and the mysterious errorDisclaimer: This is a story of investigation and perseverance rather than a technical walkthrough. A couple of months ago my team decided to start implementing E2E tests for our Ruby on Rails application, using Cypress which looked like as a quite promising and easy to use tool that should help…Rails3 min read
May 29, 2020An (unexpected) advantage of having a robust automated test suiteWe all know the benefits of having automated test suites. …Testing2 min read