Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.33 KB

README.md

File metadata and controls

39 lines (33 loc) · 1.33 KB

C Coding Kata

Setup

Verification of setup

Test the following commands in a cmd or git bash

  • ceedling welcomes you
  • watchexec.exe shows error message about arguments
  • gcc.exe shows error about missing input files

Create new project

  1. Go to the directory containing watchexec.exe
  2. ceedling new <project-name>
  3. cd <project-name>
  4. ceedling module:create[<module-name>]

Run unit tests

  • Just once: ceedling
  • Everytime a file is saved: ../watchexec.exe -w src -w test ceedling

Run unit tests with VSCode

  • Copy tasks.json from 'env/' to 'project-folder/.vscode/'
  • In VSCode: Tasks -> Run Task -> Run unit tests