No Excuses: Verifying RSpec Test Doubles

Tests which utilize external services or interact with the database are typically the culprits of long-running tests. We want to keep our tests quick. It is possible to mock/stub out long running database and/or external services calls. This reduces the time a test suite takes to execute. Unsheathe the Double In Ruby, one approach to mocking is by…

Read More

Share Your Bag of Tricks

Everyone has specific tips and shortcuts that they have picked up from various sources, including the following: Trial & error or self-discovery From a friend or colleague Reading books, blog posts, articles Watching videos, conferences Formal education Regardless of how one has gained these skills, it is obvious that they increase their effect…

Read More