QuickCheck-like Framework for C++
I just published a preliminary version of QuickCheck++, an attempt at bringing some of the benefits of Haskell's QuickCheck to C++.
As already said, I quite like the QuickCheck concept of specifying properties rather than a few ad-hoc test cases.
In the past, I sometimes missed QuickCheck when I was coding in some language other than Haskell. It won't be the case anymore for C++ as I just published QuickCheck++, a QuickCheck-like framework for C++.
It is a mix between imperative unit testing approaches à la JUnit, and an approach à la QuickCheck, using property specifications and randomly-generated test cases.
Yet another stupid framework or useful stuff? I have not used it seriously yet so I couldn't say. I'll keep you informed. In the meantime, why not try it for yourself and let me know what you think?
Discussion
Hi, thanks for great library.
It checked by VC++2005, and since there was a bug by conversion of unsigned/signed, it corrected.
http://cid-8361f69420bd2fb3.skydrive.live.com/self.aspx/public/C++/QuickCheck++/generate.hh