Blank Page Panic! Creating Confidence with Test Driven ...
summary
Combines Test-Driven Development, pseudocode, and RSpec in Ruby to resolve blank‑page panic by writing failing specs, following error messages, and adding the minimum code until tests pass. Builds a RoutineCreator class with calculate_food, implements rules for dogs and cats over/under 10 pounds (over → two scoops, under → one scoop), iterates with focused pseudocode, and lands passing, committable tests and working code that can be refactored safely.
AI-written summary · about
chapters (18)
- 0:00Blank Page Panic! Creating Confidence with Test Driven Development
- 0:17Pseudocode TDD RSpec
- 2:24Fear Perfection Self Criticism External Pressure
- 3:01Exercise
- 3:37Switch Tasks
- 4:01Change of Scenery
- 4:42Do Not Disturb
- 5:23Progress, not Perfection
- 7:03Creature Comforts needs a new feature
- 8:08EMOTIONAL CHECKIN
- 8:34Pseudocode Setup
- 9:02#within the daily routine we #need to calculate food based #on the animal type and weight. #10 pounds is the weight #threshold for both dogs and #cats.
- 13:43Describe Blocks
- 15:07Context Blocks
- 17:31TESTS FAIL Error Message: uninitialized constant RoutineCreator
- 18:28TESTS FAIL Error Message: cannot load such file- ../routine_creator
- 25:52Story Card As an adoption center employee I want to have the daily amount of food calculated for an animal based on the animal type (dogs & cats) and weight. This will be added to their daily routine list.
- 27:59TESTS PASS
related talks
21mBlank Page Panic! Creating Confidence with TDD
21mWriting Declarative, Maintainable Integration Tests Using Page Objects
01h 19mBDD and Acceptance Testing with RSpec & Capybara
16mBlack Box Testing with RSpec and Capybara
39mStop Testing, Start Storytelling
06mAvoiding Sneaky Testing Antipatterns
29mHow I Learned to Stop Worrying and Love Unit Testing
01h 00mBehaviour Driven Development with RSpec
