#56 add lightweight C/C++ unit testing framework ciut

已合并
koz.ross 6 年之前 将 2 次代码提交从 yhfudev/master合并至 koz.ross/master
yhfudev 评论于 7 年之前

Suggest this C/C++ unit test framework for it supports auto register functions, less user interruption compared to other libraries, single header file and no other extra library files; the test cases can be as simple as "TEST_CASE() { REQUIRE(0 == 1); }", or customized with arguments such as "TEST_CASE( .skip=1 ){}" using the same interface.

Suggest this C/C++ unit test framework for it supports auto register functions, less user interruption compared to other libraries, single header file and no other extra library files; the test cases can be as simple as "TEST_CASE() { REQUIRE(0 == 1); }", or customized with arguments such as "TEST_CASE( .skip=1 ){}" using the same interface.
Koz Ross 评论于 7 年之前
所有者

Thank you for your contribution! I think this is indeed a good library, and I'd like to add it. However, there's just two small changes I'd like:

  • Add some documentation about the assertions the unit test library supports (currently, there's only a very basic example)
  • Remove the mention in this list that this is a C/C++ library, as this is not relevant in this case (as per the heading of this project)

Once these changes are made, I would be happy to merge.

Thank you for your contribution! I think this is indeed a good library, and I'd like to add it. However, there's just two small changes I'd like: - Add some documentation about the assertions the unit test library supports (currently, there's only a very basic example) - Remove the mention in this list that this is a C/C++ library, as this is not relevant in this case (as per the heading of this project) Once these changes are made, I would be happy to merge.
Koz Ross 评论于 6 年之前
所有者

Any progress on this @yhfudev?

Any progress on this @yhfudev?
yhfudev 评论于 6 年之前
发布者

@koz.ross,

I updated the patches according to your comments, thanks!

@koz.ross, I updated the patches according to your comments, thanks!
Koz Ross 评论于 6 年之前
所有者

@yhfudev I apologise that this took so long - life caught up with me badly. It's merged now - thank you so much for your contribution!

@yhfudev I apologise that this took so long - life caught up with me badly. It's merged now - thank you so much for your contribution!
该合并请求已经成功合并!
登录 并参与到对话中。
未选择里程碑
未指派成员
2 名参与者
正在加载...
取消
保存
这个人很懒,什么都没留下。