make test./testor compile and execute in a single command :
make testsCaution
If you notice some modules are poorly tested, it's mainly because the classmates in charge of testing them didn't do much
(Of course it wasn't those mentioned in the README.md !)
Valgrind is a useful tool to check if there are memory leaks when we forget to free allocated resources
- To detect memory leaks in the main program
spellchecker
make valgrind- To detect memory leaks in the test files used in the binary file
test
make valgrind-test- To detect all the memory leaks (
spellcheckerandtest)
make valgrind-all