Show HN: RK Test, a Google Test style library written in C99

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - 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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • rktest

    A small C unit test library closely mimicking Google Test

  • InfluxDB

    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.

    InfluxDB logo
  • rexo

    Neat single-file cross-platform unit testing framework for C/C++.

    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 and C++ unit testing framework for the 21st century

    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/.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Criterion: A cross-platform C/C++ unit testing framework for the 21st century

    1 project | news.ycombinator.com | 21 Jun 2023
  • How do I add custom C libraries to header and library search path?

    1 project | /r/C_Programming | 3 Oct 2021
  • How do I add a custom C library to my header and library search path?

    1 project | /r/learnprogramming | 3 Oct 2021
  • What is the best Unit testing framework for VS code for C?

    2 projects | /r/cprogramming | 23 Mar 2023
  • Looking for unittest libraries in pure C

    5 projects | /r/C_Programming | 12 Sep 2022