Ruby Testing Lessons #22455
Replies: 2 comments 6 replies
-
I've made a good start to the second lesson, so I'm on that at the moment. The same person should work on the unit testing and end-to-end testing lessons as they all build off each other. I've already put a good amount of thought into those and have them mostly outlined so I don't mind doing those three as well. However if anyone wants to help me with these, these are up for grabs:
Drop me a line if you are interested in taking any of these on please 😄 |
Beta Was this translation helpful? Give feedback.
-
Moves this project to the new system: https://github.com/TheOdinProject/top-meta/projects/4?add_cards_query=is%3Aopen |
Beta Was this translation helpful? Give feedback.
-
Goals
The testing section in the Ruby course was improved greatly last year with the addition of Rachels Testing Playground. However the testing lesson content is a bit lacking which is causing a disconnect between the lessons and the exercises.
The main goal of this project will be to improve the testing section with more broken down and comprehensive lessons where we will be able to introduce students to all the important concepts and have them do exercises along the way instead of all the exercises at the end.
A secondary goal will be to introduce students to testing earlier in the course by moving the testing section between the OOP and Files sections. This will allow students to utilize testing in the intermediary sections of the course and properly aligns the most important things we need to teach students in the Ruby course.
1: Fundamentals > 2: OOP > 3: Testing
Proposed Syllabus
1: Introduction - ✅
This lesson explains the reasoning behind automated testing.
2: RSpec basics - 🚧
This lesson will introduce students to basic RSpec syntax.
3: Unit Testing Part 1: Basics - ⌛
This lesson will introduce a partially completed project that we will use in the examples.
4: Unit Testing Part 2: Mocks and Stubs - ⌛
This lesson will build off the lesson before it by using the same example.
5: End-to-end Testing - ⌛
This lesson will once again build off the unit testing lessons by getting the student to write a couple of end-to-end tests for it using aruba.
6: TDD - 🚧
This final lesson will introduce the TDD workflow.
Beta Was this translation helpful? Give feedback.
All reactions