How would you make a blog with a TDD approach?
Posted
by Earlz
on Stack Overflow
See other posts from Stack Overflow
or by Earlz
Published on 2010-04-30T02:49:27Z
Indexed on
2010/04/30
2:57 UTC
Read the original article
Hit count: 363
I'm considering remaking my blog(currently in PHP, but <100 lines of non-layout code) in Ruby on Rails just for the fun of it. I want to make another project in Rails, but I should learn Rails(more than hello world) before I go to try to create a full project.
Another thing I want to do while remaking my blog is to at least figure out what TDD is all about. So how would you go about taking a Test Driven approach to the creation of a blog? What tests would you write? How would you begin?
Everytime I visualize writing a blog it'd end up needing a million tests for a single component to fully test it. How do I avoid writing too many tests?
Also, I am making this community wiki because I intend for this to basically be made into a mini tutorial/knowledge base...
© Stack Overflow or respective owner