Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests #52

Closed
cxong opened this issue Mar 17, 2013 · 2 comments
Closed

Unit tests #52

cxong opened this issue Mar 17, 2013 · 2 comments

Comments

@cxong
Copy link
Owner

cxong commented Mar 17, 2013

Add google test to the project; there should be a way to integrate it with CMake too.

@cxong
Copy link
Owner Author

cxong commented Apr 3, 2013

Cbehave looks like a very promising framework. Would this be better than google test?

@cxong
Copy link
Owner Author

cxong commented Apr 3, 2013

https://github.com/bigwhite/cbehave

One weakness seems to be the need to pass an index to the FEATURE(idx, desc) macro (to create unique functions). Wonder if preprocessor magic can help? http://stackoverflow.com/questions/1132751/how-can-i-generate-unique-values-in-the-c-preprocessor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant