Unit tests



Hi,

For some code changes I'm planning to make I would like to write some unit tests first. It's always nice to know that you didn't break anything unexpectedly in some tricky function... The HACKING file states in a single paragraph that NUnit is used for unit testing and explains a little bit how such tests should be implemented. Unfortunately, this paragraph is rather outdated (2006) and it seems to be wrong at least for some parts.

So my first question is: Is anybody writing unit tests when hacking f-spot?

Furthermore, I managed to build and run the existing tests (2, is this it?!?). I also managed to write, build, and run my own tests with some problems I had to work around. Before I'm going into more detail about these problems and asking further questions I would like to know if f-spot should have unit tests at all (I'd say yes) and if they would be used and maintained by others as well.

Regards,
Daniel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]