I wanted to learn Ruby and Rails and had failed in the past, so I created a prototype for work that generated PDFs from simple scaffold of our products. I presented this concept to my boss, and he has allowed me to write ruby ever since, which was a huge win for me.
About a year and a half later I have released the next iteration of our company website written in ROR. I am a dedicated learner, but learning ruby, rails, terminal was a lot for me to take on at once, so when it came to testing, I figured I would just punt the subject and come back at a later date. I have generated many scaffolds in the past, so I unknowingly had a huge test suite of hundreds of failing tests. I tried to isolate and get various test to pass, this quickly became overwhelming as I was unable to accomplish anything meaningful and eventually quit due to frustration and lack of productivity.
I would like to try again and am looking for suggestions - I also just signed up for Upcase and began the ‘test driven rails’ trail. My initial thought was that I should delete all the generated test code and start from scratch. This seems to me like it would be easier as I could slowly build up a test suite starting with the most important models/functionality first. This way I could expand coverage as I learn and have some success I don’t get stuck and overwhelmed.
Does anyone have an opinions or advice on my initial plan? Has anyone gone through a similar experience? I would really appreciate any advice anyone could provide!