Are you a beginner trying to set up testing with RSpec in your Ruby on Rails 6 application? In this AWS Rails tutorial we going to walk through how to install and set up RSpec. Adding RSpec will allow us to write tests to validate our code. This test code acts as a safety net to ensure we don’t unintentionally break features in the future. We will walk though the basic RSpec install as well as he creation of a simple model spec. This tutorial is the foundation, we will continue covering testing topics and integrating testing tools with our Ruby on Rails app in the future.
⏰ Timestamps
0:00 Introduction
1:11 Gem install
2:45 RSpec install
2:59 Run Test Suite
3:30 Generate a spec
5:32 Writing our first spec
7:11 Breaking the specs
7:56 Breaking in practice
8:39 Fixing specs
8:58 Push to GitHub
10:44 Closing notes
AWS + Rails Series Playlist
• AWS + Rails
My Gear List
http://brain-trust.io/my-gear
My YouTube SEO Software
https://www.tubebuddy.com/braintrust
My Accounting Software
https://shareasale.com/r.cfm?b=960179...
Try Audible and Get Two Free Audiobooks
https://amzn.to/36dXe3V
Make sure you subscribe to my channel to keep up to date with new content!
DISCLAIMER: Links in this description include affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. There is no additional charge to you! Thank you for supporting BrainTrust Digital so I can continue to provide you with free content each week!
In questa pagina del sito puoi guardare il video online RSpec Tutorial for Beginners della durata di ore minuti seconda in buona qualità , che l'utente ha caricato BrainTrust Digital 20 marzo 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 11,434 volte e gli è piaciuto 194 spettatori. Buona visione!