Testing
-
Testing Ruby decorators with super_method
Often we need to override a simple method which returns a data set, and most ofthe times you just need to add a couple of fields. In this blog post, I’m goingto sugges...
Read more
-
Reverse Coverage: Find which tests execute which lines of code
Have you ever wondered what tests cover a specific part of a project?
Read more
-
Cypress for Ruby on Rails developers
Motivation
Read more
-
Rails testing tips for newcomers
Writing effective tests is tricky. When working withRuby on Rails, a good startingbook about this matter is“Testing Rails”, published byThoughtbot. In this article, I ...
Read more
-
An introduction to mutation testing
Test-driven development (TDD) is one of the most useful skills you’ll learn as a software developer since it allows you to add new features, refactor old code, as well...
Read more
-
Testing Ruby on Rails Migrations
100% code coverage, right? Yes, I know, you don’t merge code in master that isnot fully tested and all that stuff. Yet I’m almost sure there’s one thingthat you may be...
Read more
-
AB(C) testing with Ruby on Rails
I’d have never expected A/B testing would be so easy with Ruby on Rails. At thevery beginning I didn’t even have an idea on what A/B tests were but after alittle inves...
Read more
-
RSpec Basic: Using Test Doubles
In this blog post we’ll focus on differences between stubs, mocks and spiesin RSpec. We think that there’s a lot of wording confusion for those who startusing these te...
Read more
-
Developing Spree extension with TDD
Here at Nebulab, we have just built an extension (Spree Subscriptions) that adds to Spree features needed to buy and manage subscription based items, ideal for magazin...
Read more