~/talk

Blank Page Panic! Creating Confidence with Test Driven ...

Talkat RailsConf 2020 CE · 2020-05-04..05-05· [testing, career-development]
github:ejuten
slides:none on file

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

  1. 0:00Blank Page Panic! Creating Confidence with Test Driven Development
  2. 0:17Pseudocode TDD RSpec
  3. 2:24Fear Perfection Self Criticism External Pressure
  4. 3:01Exercise
  5. 3:37Switch Tasks
  6. 4:01Change of Scenery
  7. 4:42Do Not Disturb
  8. 5:23Progress, not Perfection
  9. 7:03Creature Comforts needs a new feature
  10. 8:08EMOTIONAL CHECKIN
  11. 8:34Pseudocode Setup
  12. 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. 13:43Describe Blocks
  14. 15:07Context Blocks
  15. 17:31TESTS FAIL Error Message: uninitialized constant RoutineCreator
  16. 18:28TESTS FAIL Error Message: cannot load such file- ../routine_creator
  17. 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.
  18. 27:59TESTS PASS
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.