reims / wesen

Wesen - little game where players have to program the behavior of their Wesens to defeat the other players
2 stars 1 forks source link

Start doing unit tests #3

Open konradvoelkel opened 10 years ago

konradvoelkel commented 10 years ago

The Loader class was more or less designed to write integration tests with specific config files. Together with persistence now Rules can be tested, too. That would help documenting the rules.

One should start by deciding for a lightweight py3k-able unit testing framework and test some very basic functions with it, that don't yet require instrumenting a world object (i.e. no integration tests yet).

konradvoelkel commented 10 years ago

relevant pdf (via HN): Why most unit testing is waste