const_expr_string icon indicating copy to clipboard operation
const_expr_string copied to clipboard

Build system integration/automated unit testing

Open erichkeane opened this issue 10 years ago • 2 comments

erichkeane avatar Oct 03 '15 18:10 erichkeane

For build system integration, I recommend CMake. It's used in most (warning: unscientific claim) open source C++ projects, people generally know how to make it do what they want it to do, and it's easy to work into continuous integration services and testing frameworks.

For unit testing, I personally almost always use googletest, but there's overhead there I don't think is worth taking on for such a small library. The alternative I see most often is Catch, which is a header-only testing framework.

Whichever you choose, I'd be happy to pitch in.

whoshuu avatar Oct 05 '15 16:10 whoshuu

I've used google-test successfully before, so I don't mind it much. I imagine most of the tests for this project should be written with static_asserts though (so no generated code!).

I've heard good things about catch as well though!

As far as make systems, I've got no experience whatsoever with anything but scons (though not a proponent at all) and make (though I have little/no ability in it!).

If you/someone submits even a passable make system, I'd very happily accept it, and be grateful for the contribution.

erichkeane avatar Oct 05 '15 21:10 erichkeane