I dropped the ball this weekend- I didn’t get to do the Ruby track of codecademy like I’d planned, but I managed to do the first few sections earlier this week, making it about a quarter of the way through.
The Testing Basics section of the Odin Project was really short! It brought up some great points though, and after watching the recommended videos I’m totally sold on Test Driven Development! I think the main hurdle to deal with for me is going to be thinking about the structure of the code that I want to write; because I’m still quite new at this I don’t always know what the structure should look like, [often until I’m in the middle of it!] which makes it hard for me to know what I should test for.
Today I’ve installed RSpec (I have to run a slightly older version, apparently the latest one doesn’t run properly in Windows) and had a peek at the Ruby project. I’m really excited about this one! [and yes, I’m aware that I say that about every project!] For the project we’re given spec files [the tests] and we have to write the code to make the tests pass.
From the videos I’ve watched, and from things I’ve read previously I know that a lot of people like TDD (Test Driven Development), so I’d love to hear from anyone who’s used it and what they thought about it.