aboutsummaryrefslogtreecommitdiff
path: root/TODO/testing.md
blob: 9b6f23a0431c082dfc6b79ea0a3302dba38cfb1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Testing

## Architecture

* Folder structure: each module (.h file) has a corresponding test/module_name
  folder containing the important tests.
* How to test pre / post -init()?
* Makefile: one target for each module with correct dependencies.
* Makefile: perhaps write a specific makefile for testing in test folder.

## Test sttructure

* Make consistent
* Little output for success
* Stop on first failed? (automatic with makefile)

## Write tests

* Pretty much all are missing, except fst.
* Start from bottom (utils.c)

## Other

* Move test_coord from coord.c to test folder.

Generated with cgit - Back to sebastiano.tronto.net