Nice work! I like the little test framework you built. Have you considered making runTest a macro so that you can print the name of the test along with the test result?
For the ultimate in readable test reports, you can prettify the test name by:
* dropping the prefix "test_"
* substituting the "_" characters in the function for whitespace
* uppercasing the first letter of each word. So `test_tokenize_simple_model` becomes "Tokenize Simple Model".
Comments (218) 56 threads
Show all comments
Showing thread 30 of 56
Thank you, I'll will implement that :)
* dropping the prefix "test_" * substituting the "_" characters in the function for whitespace * uppercasing the first letter of each word.
So `test_tokenize_simple_model` becomes "Tokenize Simple Model".