Skip to content

borisskert/criterion_playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Criterion Playground

This repo shows a simple showcase how to use Criterion to test C code managed by Cmake.

Setup

Prerequisites

You need to install following tools/packages:

  • gcc
  • cmake
  • clang
  • meson/ninja

Compile

cd build
cmake ..
cmake --build .

Run tests

cd build
./tests/criterion_playground_tests

About

Little showcase how to include Criterion testing library in a CMake project

Topics

Resources

License

Stars

Watchers

Forks