Testing on Ruby on Rails [A How-To Guide]

Written by maritn | Published 2020/06/22
Tech Story Tags: ruby | testing | programming | ruby-on-rails | ruby-on-rails-development | ruby-on-rails-top-story | ruby-on-rails-testing | rspec-rails-shoulda-matchers

TLDR This short presentation will use a couple of ruby gems to help in the testing process. The gems are rspec-rails, shoulda-matchers and factory_bot_rails. The testing stage is a very important step in the software development life-cycle of any application. We’ll create two models for this project; a user and a post. Run the following command to create a user. Then run the.migrate to the app/models/models folder.via the TL;DR App

no story

Written by maritn | Full Stack Developer
Published by HackerNoon on 2020/06/22