From fcb3ac9b02c3ed150fbf6d539613510cc83627ea Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 14 Jan 2023 22:33:09 +0100 Subject: Re-organized TODO file --- TODO/testing.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 TODO/testing.md (limited to 'TODO/testing.md') 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 @@ +# 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. -- cgit v1.3