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

已合併
koz.ross 6 年之前 將 2 次代碼提交從 yhfudev/master合併至 koz.ross/master
yhfudev commented 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 commented 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 commented 6 年之前
所有者

Any progress on this @yhfudev?

Any progress on this @yhfudev?
yhfudev commented 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 commented 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!
該合併請求已經成功合併!
Sign in to join this conversation.
未選擇里程碑
未指派成員
2 參與者
正在加載...
取消
保存
尚未有任何內容