RSpec Fundamentals
There are 2 posts in this series.
RSpec fundamentals: setup, naming and basic structure
When you start programming, it's not easy to know what to test, how to test, and why should you test? So let's start with the basics: a basic setup and exploring your tests structure.
Read this essay →RSpec fundamentals: a basic glossary
RSpec syntax can be tricky to get at first. Here's a glossary of the keywords you'll use the most when testing with RSpec: describe, subject, let vs let!, it, context, etc...
Read this essay →Other RSpec related posts
Testing railway-oriented business transactions with Rspec
Railway-oriented business transactions are a great way to unclutter your Rails controllers. But how should we test them? Let's get down to it.
Read this essay →Wanna read more? Browse the complete archive.