Criterion
xmake
Our great sponsors
Criterion | xmake | |
---|---|---|
9 | 163 | |
1,924 | 8,755 | |
- | 3.1% | |
5.7 | 10.0 | |
5 months ago | 4 days ago | |
C | Lua | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Criterion
-
Show HN: RK Test, a Google Test style library written in C99
I really like Google Test, but am planning on doing some embedded development in C, where I sometimes find it awkward to test C code using a C++ library.
Therefore, I wrote a small unit test library closely mimicking Google Test. It consists of two source files, "rktest.c" and "rktest.h", and is about 1k lines of code and written in C99.
It uses a trick for self registering tests by placing pointers to the unit test functions into a known place in program memory, that I first learned about from https://github.com/christophercrouzet/rexo/ and https://github.com/Snaipe/Criterion/.
- Criterion: A cross-platform C/C++ unit testing framework for the 21st century
-
What is the best Unit testing framework for VS code for C?
I have been using criterion on a recent project and enjoying it.
-
Looking for unittest libraries in pure C
My school uses Criterion (doc). source code
-
I'm serious. try and change my mind
Otherwise I use criterion https://github.com/Snaipe/Criterion, since a few cases can't be checked properly in python (or are a hassle to do)
- Criterion 2.4 released (A cross-platform C and C++ unit testing framework))
-
How do I add custom C libraries to header and library search path?
Try this link for setup in doc.
-
How do I add a custom C library to my header and library search path?
https://github.com/Snaipe/Criterion < - repository for the unit-testing library.
- GitHub - Snaipe/Criterion: A cross-platform C and C++ unit testing framework for the 21st century
xmake
- Cpp2 and cppfront – An experimental 'C++ syntax 2' and its first compiler
- An Introduction to Modern CMake
-
How to Structure C Projects: These Best Practices Worked for Me
In recent times I prefer Xmake[0] to CMake.
[0] https://xmake.io
- xmake: Fast and lightweight build tools with dependency package integration
- Xmake v2.8.5 released, Support for link sorting and unit testing
- Xmake v2.8.3 Released, Improve Wasm and Support Xmake Source Debugging
- Xmake v2.8.2 Released, Official package repository count over 1k
- Xmake v2.8.1 Released, Lots of Detailed Feature Improvements
What are some alternatives?
c_koans - C Koans
meson - The Meson Build System
gauge - Lean Haskell Benchmarking
cmake-init - The missing CMake project initializer
software-for-fun
conan - Conan - The open-source C and C++ package manager
asciinema-edit - asciinema casts post-production tools
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
mite - Minimalist test framework for C language.
ninja - a small build system with a focus on speed
gid - Help project managers and project owners with easy-to-understand views of github issue dependencies.
wxWidgets - Cross-Platform C++ GUI Library