HI...
Does anyone knows an unit test framework for c++? I wll use it on linux...
Thx...
HI...
Does anyone knows an unit test framework for c++? I wll use it on linux...
Thx...
Search the Web and try out a few until you find one that fits your requirements. At the moment, I default to UnitTest++.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
I wrote my own, then after chatting with a colleague discovered that I had independently re-invented something almost exactly like some other unit test framework. Something Lite I think it was.
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"
I like Boost.Test a lot. But I wouldn't recommend its use without also using Boost.Build as the build system.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
I really fell in love with CxxTest User's Guide because it's extremely lightweight and in opposite to most other frameworks very less "overhead code" is required to create tests. It accomplishes this using perl for an own preprocessor-like system, so a perl installation is required. for windows I recommend ActivePerl