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

Merged
koz.ross merged 2 commits from yhfudev/master into koz.ross/master 6 years ago
yhfudev commented 7 years ago

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 years ago
Owner

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 years ago
Owner

Any progress on this @yhfudev?

Any progress on this @yhfudev?
yhfudev commented 6 years ago
Poster

@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 years ago
Owner

@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!
This pull request has been merged successfully!
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.