[geos-devel] Unit Tests port

Mateusz Łoskot mateusz at loskot.net
Tue Feb 28 19:13:04 EST 2006


Hi,

I started to think about porting JTS Unit Tests to C++ for GEOS.
During dynamic development Unit Tests can be very helpful, they save 
much time and help to track bugs/fixes lifetime, and many many more.

So, first, I think it's important to choose appropriate
tool - Unit-Testing Framework (UTF).
There are many UTFs so I'm a bit confused which would be best ;-)
I'm going to make some short research in this field but I'd like to ask 
on the list if anyone has some prefered/recommended UTF and could 
present its pros/cons to make some comparison.

My favourites are:
1 - CxxTest - I have not used it, but it gots max votes in the
article below
http://cxxtest.sourceforge.net/

2 - Boost.Test - quite complex but powerful
http://www.boost.org/libs/test/doc/

3 - TUT - very light and simple UTF
http://tut-framework.sourceforge.net

Here is interesting article exploring available UTFs
(NOTE: this article is 2 years old):
http://www.gamesfromwithin.com/articles/0412/000061.html

Thanks for your comments!
Cheers
-- 
Mateusz Łoskot
http://mateusz.loskot.net



More information about the geos-devel mailing list