Hello,
I'm writing a Risk-like webgame
(https://github.com/Sephi-Chan/Conquest-on-Rails) and I want to add tests,
but it's painful since objects have a lot of dependencies each other.
For instance, I have moved the attack logic in a dedicated class
(https://github.com/Sephi-Chan/Conquest-on-Ra
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, a simple interaction in most game: a character attacks a
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, a simple interaction in most game: a character attacks a
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 it