Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description


This is a C runner for the Check unit testing framework.

How to Use it

In order to use this runner for your project, edit the codingame.yml file and add the following lines to your project:

runner: techio/c-check-runner:1.1.0-gcc-6.3

You project will be compiled with the following:

autoreconf --install

On each run, it will execute:

CK_RUN_CASE=$2 tests/$1

Where $1 is the first argument of your command, which is the name of the binary and $2 is the second argument, which is the name of the test case to execute.


You can use the example provided by Check.
In the markdown file, the unit test can be called using:

@[Example]({"stubs": ["src/money.c"], "command": "check_money Core"})
Docker Pull Command