diff options
Diffstat (limited to 'TODO/testing.md')
| -rw-r--r-- | TODO/testing.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/TODO/testing.md b/TODO/testing.md new file mode 100644 index 0000000..9b6f23a --- /dev/null +++ b/TODO/testing.md | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | # Testing | ||
| 2 | |||
| 3 | ## Architecture | ||
| 4 | |||
| 5 | * Folder structure: each module (.h file) has a corresponding test/module_name | ||
| 6 | folder containing the important tests. | ||
| 7 | * How to test pre / post -init()? | ||
| 8 | * Makefile: one target for each module with correct dependencies. | ||
| 9 | * Makefile: perhaps write a specific makefile for testing in test folder. | ||
| 10 | |||
| 11 | ## Test sttructure | ||
| 12 | |||
| 13 | * Make consistent | ||
| 14 | * Little output for success | ||
| 15 | * Stop on first failed? (automatic with makefile) | ||
| 16 | |||
| 17 | ## Write tests | ||
| 18 | |||
| 19 | * Pretty much all are missing, except fst. | ||
| 20 | * Start from bottom (utils.c) | ||
| 21 | |||
| 22 | ## Other | ||
| 23 | |||
| 24 | * Move test_coord from coord.c to test folder. | ||
