Fundamentals of Testing Using Rails

Fundamentals of Testing Using Rails

Advanced

190 Lessons

27h 10min

Certificate of Completion

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

87 Playgrounds
68 Quizzes

This course includes

87 Playgrounds
68 Quizzes

Course Overview

Take a deep dive into the test-driven development (TDD) process by writing and running your own tests for your Ruby-on-Rails applications. Not only will you learn the fundamentals of testing in Ruby and Rails, but also how you can apply the same methods in your daily coding practice. Explore and practice tools such as RSpec and Minitest to make your application development more efficient and robust. By the time you’re done, you’ll have a solid foundation in TDD and be ready to take your expertise in applica...Show More

TAKEAWAY SKILLS

Unit Testing

Ruby Gem's Management

What You'll Learn

Understand the fundamentals of test-driven development

Write and run tests for your application using RSpec and Minitest

Learn to make failing tests pass

Test the security of your application

Configure your routes, models, views, and controllers

What You'll Learn

Understand the fundamentals of test-driven development

Show more

Course Content

1.

Introduction

2.

Test-Driven Fable

3.

Test-Driven Development Basics

4.

Test-Driven Rails

5.

What Makes a Great Test?

6.

Testing Models

11 Lessons

7.

Adding Data to Tests

12 Lessons

8.

Using Test Doubles as Mocks and Stubs

10 Lessons

9.

Integration Testing with Capybara and Cucumber

14 Lessons

10.

Testing JavaScript: Integration Testing

5 Lessons

11.

Unit-Testing Javascript

13 Lessons

12.

Testing Rails Display Elements

14 Lessons

13.

Minitest

10 Lessons

14.

Testing for Security

11 Lessons

15.

Testing External Services

14 Lessons

16.

Troubleshooting and Debugging

9 Lessons

17.

Running Tests Faster and Running Faster Tests

17 Lessons

18.

Testing Legacy Code

10 Lessons

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Souvik Kundu

Front-end Developer

Eric Downs

Musician/Entrepeneur

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath