ruby-exercises icon indicating copy to clipboard operation
ruby-exercises copied to clipboard

Input and Output Exercises

Open KevinMulhern opened this issue 5 years ago • 2 comments

Lesson: https://www.theodinproject.com/courses/ruby-programming/lessons/input-and-output

This is similar to variables, it will be difficult to make test driven exercises so either a repl.it or a small problem description on the lesson itself might be better.

Thoughts?

KevinMulhern avatar Nov 10 '20 21:11 KevinMulhern

@KevinMulhern Could we consider here writing tests that expect puts to have been called or print etc. I'm wondering if seeing how that is done might help when they have to test some of the games later. That's where some questions in the chat have been.

If not then again we recommend to follow along in a repl as they go and I haven't seen anyone struggle with using print or puts in their code so I wouldn't bother with a problem description

CouchofTomato avatar Nov 12 '20 21:11 CouchofTomato

@KevinMulhern @CouchofTomato In reading your comments here & thinking about this lesson, I wonder if a lesson on how to test with puts/print is needed in the testing lessons (as it is only briefly mentioned in ruby_testing) not really here as a test-driven exercise.

rlmoser99 avatar Mar 28 '21 00:03 rlmoser99