Articles tagged with Rspec
Test which reminded me why I don't really like RSpec
— Feel free to review it, it's written by one of our juniors and I need to give him some feedback soon. — he responded.
Composable RSpec matchers
While developing RSpec matchers for RailsEventStore we figured out that in some cases it would be good to compose multiple matchers together.
Test critical paths in your app with ease thanks to Dependency Injection
Dependency Injection is one of my favorite programming patterns. In this short blogpost, I’ll present you how it helps testing potentially untestable code.
How RSpec helped me with resolving random spec failures
Recently we started experiencing random spec failures in one of our customer’s project. When the test was run in an isolation, everything was fine. The problem appeared only when some of the specs were run before the failing spec.