Intermediate
16h
Bulletproof Ruby on Rails Applications
Gain insights into good testing practices in Ruby on Rails. Learn the testing mindset, convert requirements into user stories, and master feature, request, and unit tests for comprehensive coverage.
This course aims to teach you how to write better Rails applications by applying good testing practices. You’ll learn about the reasoning behind testing and the process of applying good testing practices.
In the first half of the course, you’ll learn about the testing mindset and understand its importance. Next, you’ll learn to turn business requirements into user stories. These user stories will become the basis of the code and tests you’ll write.
Once you understand the reasoning and process, you’ll proceed to write the actual tests. You’ll test what is most important to the end user first. So, the first set of tests you’ll learn to write will be feature tests. Finally, you’ll learn to write request tests and unit tests ensuring end-to-end coverage of our application.
This course aims to teach you how to write better Rails applications by applying good testing practices. You’ll learn about the ...Show More
WHAT YOU'LL LEARN
An understanding of feature testing
An understanding of testing and its importance in building robust applications
An understanding of the importance of request tests and how to write them
The ability to write unit tests to cover edge cases
An understanding of feature testing
Show more
Content
1.
Before We Start
2 Lessons
Get familiar with enhancing coding practices through effective testing and problem-solving in Rails applications.
2.
The Why Behind Testing
3 Lessons
Unpack the core of testing in Ruby, focusing on mindset, organizational support, and aligning with business goals.
3.
The How Behind Testing
8 Lessons
Master the steps to effective user story creation and collaborative communication in testing.
4.
Planning
4 Lessons
Break down complex ideas on planning effective tests for Ruby on Rails applications.
5.
The Feature Layer
14 Lessons
Take a closer look at Ruby on Rails feature testing, from homepage to user actions.
6.
The Request Layer
8 Lessons
Focus on request testing, debugging, and challenges for creating and listing blog posts.
7.
The Unit Layer
8 Lessons
Master unit testing for better code isolation, debugging, and validation in Rails applications.
8.
Conclusion
1 Lessons
Gain a comprehensive understanding of adopting a test-first approach and its benefits.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Course Author:
Developed by MAANG Engineers
Trusted by 2.8 million developers working at companies
"These are high-quality courses. Trust me. I own around 10 and the price is worth it for the content quality. EducativeInc came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks"
Anthony Walker
@_webarchitect_
"Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!"
Evan Dunbar
ML Engineer
"You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it."
Software Developer
Carlos Matias La Borde
"I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site"
Souvik Kundu
Front-end Developer
"Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content."
Vinay Krishnaiah
Software Developer
Hands-on Learning Powered by AI
See how Educative uses AI to make your learning more immersive than ever before.
AI Prompt
Code Feedback
Explain with AI
AI Code Mentor
Free Resources