-
Subject vs Let; Is there a difference?
This topic might seem straightforward at first glance—it just makes sense intuitively. But is there an actual difference? Let’s delve into the details and examine what is really happening behind the scenes. These two approaches are essentially the same. On the backend, we create the user for the test, establish its associations, run the test, […]
-
Test Organization and Why It Matters
Organization in test files is an interesting topic, theres the organization alphabetically, by contexts, or theres just none and we put all new tests at the bottom. I draw the comparison to moving; when you first get all your boxes in your new place, you have to start somewhere. You start unpacking boxes and just […]
-
Behind the RSpec Curtain
Welcome to the RSpec show! But before we unveil the unedited database logging from your test suite, let’s first enable logging to reveal what’s truly going on behind the scenes. We’ll be taking a look at what logs come out of RSpec and what the logging means to you. We will also take a look […]
-
Do I have to speed up my tests?
Well, no. Of course not. But why wouldn’t you? In the real world of software testing, the clock ticks differently for each project. Testing times can range from swift validations in mere minutes to exhaustive checks spanning hours. The scale of testing, from a few thousand tests to potentially millions, reflects the depth and breadth […]