Details here:
cmocka - unit testing framework for C
Quoting:
"
Well, as the title states we'll be addressing software development topics (mainly in English). Topics will be quick and short and most probably aligned with the training "problems", sorry, programs I am involved in. PS. Some links are "internal" (not publicly available): If you are not able to reach it, google will find you a publicly available information source for sure. Happy trails to you.
The latest version of C++ includes features that improve your code, performance, and security. While these are nice features, they're not earth-shattering.
One of the biggest additions is the introduction of the parallel algorithms library.
Multi-processor systems are required for computer-intensive programs and artificial intelligence. The parallel algorithms library makes it easier to execute standardized algorithms on this type of system.
There are two features that will enable cleaner code:
This also reduces keystrokes for those who understand the syntax.
So, these features provide a step up for cleaner code.
Interested in writing cleaner code? Get coding best practices for C++ >>
“Guaranteed copy elision” is designed for improved compiler optimization. So, it may improve runtime performance.
The latest C++ features will improve the safety of your program and ensure secure coding, including the following:
The first two features prevent unspecified or undefined behavior.
The std::byte feature improves type safety. It distinguishes byte-oriented access to memory from accessing memory as a character or integral value. It also improves readability. The intent of the code is clearer.
Multiple-platform/compiler code coverage tool:
https://www.froglogic.com/coco/free-trial/
Quoting:
"Coco
Cross-platform and cross-compiler code coverage analysis for C, C++, C#, SystemC, Tcl and QML code.
Coco utilizes source code instrumentation to analyze the applications’ source code.
No changes to the source code are necessary.
Executing a test suite against an instrumented application produces data that can later be analyzed. This analysis can be used to understand how much of the source code has been hit by tests, which additional tests need to be written, how the code coverage changed over time and more."