TDD with RSpec - Testing your Ruby on Rails app

Test Driven Development (TDD) is a process of protecting the code we write against future changes as well as a way to ensure that what we are about to code will work as expected.

Start Course Now
  • Learn from slow pace videos
  • Access videos any time
  • Absolute beginners focused
  • Lifetime access
  • Start course immediately

"If you go to work on your goals, your goals will go to work on you. If you go to work on your plan, your plan will go to work on you. Whatever good things we build, end up building us."

About Course

Published: 23 Nov 2018

Course Introduction

Read Course Description

In this course we learn Test Driven Development (TDD) this is a process where the first step we
take is to write a test for a feature in our app that is yet to be implemented, this test will fail because the feature is not implemented, we then carry on implementing and testing it until it passes, our test will turn green when our implementation is completed and matches the expectations of our test.

We will learn to test our rails application using Rspec gem, we will also learn all the setup requirements along with other gems that are required for testing.

Curriculum

Section 1

  • Lecture 1
  • Project Setup Rspec
  • 8:26
  • Lecture 1
  • Test Routing
  • 5:47
  • Lecture 1
  • Test Valid Task
  • 15:56
  • Lecture 1
  • Capybara Helper Test
  • 8:37
Section 2

  • Lecture 2
  • Valid Task Test
  • 7:26
  • Lecture 2
  • Listing Task Test
  • 12:21
  • Lecture 2
  • Mark Task Done Test
  • 6:6
  • Lecture 2
  • Edit Task Test
  • 9:9
Section 3

  • Lecture 3
  • Delete Task Test
  • 4:23
  • Lecture 3
  • Archive Task Test
  • 6:49
  • Lecture 3
  • Archive Listing Test
  • 7:54
  • Lecture 3
  • Delete Archive Test
  • 8:12