proof of concept C unit test library using linker sections (by cozzyd)

Examc Alternatives

Similar projects and alternatives to examc

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better examc alternative or higher similarity.

examc discussion

Log in or Post with

examc reviews and mentions

Posts with mentions or reviews of examc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-10.
  • static_assert is all you need (no leaks, no UB)
    5 projects | news.ycombinator.com | 10 Apr 2023
    There are other ways to do this. I made a proof of concept of using linker sections to allow you to sprinkle tests within the implementation inline once... https://github.com/cozzyd/examc (this is obviously not production-ready, just serves as a proof of concept).

    Basically the idea is that the test code gets written to a different linker section that your test runner can iterate through, when tests are enabled.

  • Running C unit tests with pytest
    6 projects | news.ycombinator.com | 12 Feb 2022
    Indeed, I just made a POC with compiler sections: https://github.com/cozzyd/examc

    This implementation only works with gcc though probably (it uses the automatic __start_SECTION and __stop_SECTION that gcc generates but clang doesn't seem to... there are likely hacks to make this work anyway though).


Basic examc repo stats
over 2 years ago

cozzyd/examc is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of examc is C.

Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.