On 2 Feb 2012, at 09:50, Romain Tribes wrote:
Hello,
I'm writing webgames with Rails and I want to test my code (and even TDD) but
I'm really stuck figuring what to test.
I read a lot of articles on the subject but I still don't know what to do in
my case: how to start?
For instance,
I always find it's very good to start simply.
Make the simplest spec you can imagine, then the next, and so on...
What is a spec? Some of this stuff might seem so obvious... for example... when
you start playing your game, you expect that it'll present you with
something... write a test for
On Feb 2, 2012, at 2:20 AM, Romain Tribes wrote:
Hello,
I'm writing webgames with Rails and I want to test my code (and even TDD) but
I'm really stuck figuring what to test.
I read a lot of articles on the subject but I still don't know what to do in
my case: how to start?
For
Thanks for your attention and your answers!
I worked on that the whole afternoon: it's really timeconsuming when you
are not used to test!
My code is on GitHub : https://github.com/Sephi-Chan/LearnToTest
As I said I read a lot of stuff about testing and TDD. Unfortunately, most
of the time