Welcome to Testing Ruby with RSpec: The Complete Guide!
This course offers a comprehensive overview of the RSpec testing library for the Ruby programming language. RSpec is the most popular Ruby Gem of all time, with over 300 million downloads to date.
If you’re new to the topic, testing is the practice of writing code that confirms that other code works as expected . Tests control for regressions, which are changes to the code that break the program. Tests give you the confidence to refactor existing code because you know that you will honor the original purpose of the code.
The benefits of testing extend outside of your codebase. In this course, we’ll cover test–driven development (TDD), a methodology in which we write our tests first, before the implementation. Test–driven development often leads to simpler, more decoupled code. Thus, testing can make you a better developer. Tests force you to think critically about the program and its features: the classes, the objects, the methods and more.
Testing Ruby with RSpec begins with the RSpec essentials and proceeds to more complex topics including:
Installation
Project Initialization
Test–Driven Development (TDD)
let variables
before and after Hooks
Subjects
Shared Examples
Shared Context
Built–in Matchers
Mocks and Doubles
Instructor Details
Courses : 5
Specification: Testing Ruby with RSpec: The Complete Guide
|
39 reviews for Testing Ruby with RSpec: The Complete Guide
Add a review Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Price | $15.99 |
---|---|
Provider | |
Duration | 7.5 hours |
Year | 2022 |
Level | Beginner |
Language | English |
Certificate | Yes |
Quizzes | Yes |
$19.99 $15.99
Jeremy Moritz –
audio quality is not great, but i like the instructor so far.
Mariela Da Graca Guerra –
I understand better how test works, thanks Just a comment. In the spies 2 example, it was not clear for me why in this line: allow(Car).to receive(:new).and return(car) is not necessary add the model argument.
Grant Thomas –
Well and throughly explained but goes quite slowly
Ivan Prtain –
Great course, learned alot, explains in detail, lots of useful information. One of the best instructors i encountered to learn programming, meticulous on explanations, i really love it.
Alexander Nakos –
Excellent course for an introduction to RSpec. Boris is great!
Konrad uczaj –
I really enjoyed the course. Unfortunately there wasn’t any Ruby on Rails TDD examples. It was only for Ruby, but still enjoyed it
Konrad uczaj –
I really enjoyed the course. Unfortunately there wasn’t any Ruby on Rails TDD examples. It was only for Ruby, but still enjoyed it
Darnell L Brawner –
It was a very enjoyable course good for review and for starting out.
Darnell L Brawner –
It was a very enjoyable course good for review and for starting out.
Alberto Negron –
Boris is an excellent instructor. Every lesson is disected and explained in plain english. I have been using basic features of rspec for a while but this course has given the knowledge to apply more complex tests with confidence. Looking forward to the rspec rails course ; )
Alberto Negron –
Boris is an excellent instructor. Every lesson is disected and explained in plain english. I have been using basic features of rspec for a while but this course has given the knowledge to apply more complex tests with confidence. Looking forward to the rspec rails course ; )
Nima Soufiani –
This testing with Ruby using RSpec course was perfect. It was fantastic and covered a wide range of concepts. I would liked to have had at least one quick example at the very end with tests on a different file and ruby code in a different file just to give us a quick overview of what real testing would look like though. Other than that, a fantastic course, instructor is fantastic at communicating and hammering key points down. Now I’ll practice practice practice until I nail it all down.
Nima Soufiani –
This testing with Ruby using RSpec course was perfect. It was fantastic and covered a wide range of concepts. I would liked to have had at least one quick example at the very end with tests on a different file and ruby code in a different file just to give us a quick overview of what real testing would look like though. Other than that, a fantastic course, instructor is fantastic at communicating and hammering key points down. Now I’ll practice practice practice until I nail it all down.
Amrutakhot01 –
Great RSpec course. all topics are short and simple. A lot of examples. I loved it. I liked the style of instructor. Very clear directions. Thank you!
Emma L. –
Great course. Missing a section about integration tests though.
Helen Fu –
Amazing stuff. Would have appreciated more contents with real life examples though.
Zack Mariscal –
I really enjoy how you’re walking us through TDD
Oleg Tolmashov –
yeah, it was great, but it could be shorter
David Teren –
The best RSpec course I’ve come across. This course provides a really good understanding of the core functionality of RSpec. Would like to see a course dedicated to practical Rails specs from Boris. Good job, keep it up.
Tobias Boyd –
So far, so good I already have used rspec some, but I am looking forward to reviewing some of the details.
Laurence Drake –
Very Good Refresher and it explained some of the features I never used
Miguel Alberto U. Dagatan –
Unfortunately, it isn’t complete. I thought this would include all other gems that are paired with RSpec such as Factory bot. I was really expecting to have all the tools I need to create specs on an already existing complex web app. While this does answer questions that I may not have asked, this still leaves me with a lot of questions I started with unanswered.
Ildiko Bal zs Papp –
I really liked the course. The Instructor is through, describes RSpec in depth and besides that I managed to understand some things in Ruby that I didn’t understand before.
Vishnu S –
good
Albert Jankowski –
Wow I am loving RSpec and I am learning so much.
Dave Guymon –
Great front loaded explanation of the course topic. Presenter is articulate and easy to follow.
Ryan McNeil –
My only suggestion would be to DRY up the lecture a bit. I suppose it’s intended, but to me, there is way too much repetition. I find myself skipping through every lecture because at some point the info is repeated, and then repeated again during a next lecture. I think this whole thing could have been done in half the time. A viewer has the ability to skip back if they miss something, so I don’t believe the instructor needs to be so repetitive.
Vikas Yadav –
only basic topics are covered and I feel like, he is giving an overview only it could be better and also speaking very fast
Faiber Fabian Rodriguez Betancurt –
It has a great coverage on RSpec DSL!
Collin Jilbert –
Great great course! This was the first course that really filled in some gaps for me and expanded my knowledge of RSpec. I know longer feel like a complete beginner with RSpec.
Joseph McCann –
I found this to be a good introduction to RSpec. Boris goes over how to use all the major RSpec methods, which is good if you get overwhelmed with docs like me and don’t know where to start. One suggestion would be to create a more in depth assignment, where students can emulate what a real TDD workflow would be like. For example, have us write the tests for something (maybe something familiar like a Car class) , create a separate file for our class and then see if the tests pass. Alternatively, we could code along with you doing the above.
Winston Hall –
Great class, Boris is great
Roberto Torres –
I recently changed jobs as a Software Developer and had to pick up Ruby after spending many years using a different stack. My new job does TDD with RSpec as the testing framework. This course was exactly what I needed to get up to speed with testing! Loved that this course was scoped to understanding a specific topic: RSpec. If you’re someone that is familiar with testing concepts (e.g mocking, test isolation) but aren’t familiar with Ruby’s way of going about it with RSpec, take this course to get you up and going quickly.
Muhammed U K –
Good experience. Could have included more real life example rather than sticking on explaining all the way matchers in RSpec
Alexis Flipo –
Excellent course. I learned a lot more.
Erik Br ggemann –
Excellent course, well structured, highly informative!
Patrick Minero –
It’s a great course to learn RSpec.
Max Kirsch –
Very nice course to dive into RSpec in basic Ruby, I took it as a fundament to get a base in Rails testing and to continue by writing out my tests. I would LOVE to see a similar course on Rails testing though! 🙂
Kelsey Shiba –
I started a new job recently, and this was incredibly helpful in understanding how to use Rspec, the available methods, and I loved the practice available with the assignments. Thank you!