Articles on Testing

Testing Rails App With RSpec 3: Part I

In this two-part series, I’ll cover testing a Rails application—from how to get set up with the latest toolchain to writing those first tests. While it can be tricky to get everything playing nicel...

Testing Rails App With RSpec 3: Part II

In this two-part series, I cover testing a Rails application using RSpec and some other popular gems. If you missed Part 1, head over to Testing Rails 4 Apps With RSpec 3: Part I to get caught up f...

Chrome Driver For Headless Scraping and Downloading

What You Will Learn How to use a non headless web driver on a headless server. How to setup the Chrome Driver with Selenium and Capybara. How to set up the driver to allow for automatic browser d...

Setting Up Rails 5 App With Complete Test Suite And Essential Ruby Gems

In this article we're going to create rails 5.2 boilerplate app by installing complete test suite and most used gems: To clone this boilerplate app CLICK HERE, just clone this repo into your local...

N+1 Problem: Eager Loading with Active Record - Rails

Rails does not scale well – this argument is often used to downplay the worth of the language and the framework. Yet, many businesses from small startups to platforms with millions of users use it ...

Getting Started with RSpec

RSpec is a testing tool for Ruby, created for behavior-driven development (BDD). It is the most frequently used testing library for Ruby in production applications. Even though it has a very rich a...

5 RSpec strategies to get 95% test coverage or better

The test coverage enabled us to upgrade major versions of Ruby and Rails with no issues (that weren’t detected by the tests and fixed before production). 1.) Focus on Request and Model tests The ...

Links
Support Us

If You're Satisfying With Our Services, Wish to Support Us, Please Go Ahead

Support Us