Commit Graph

97 Commits

Author SHA1 Message Date
jlamothe 51dd02ea71 acknowledgement of confusing nature of tests 2023-11-23 20:30:00 +00:00
jlamothe 17ad81f6b6 testing run_test_compare() 2023-11-23 20:23:23 +00:00
jlamothe c6dd2559f8 test run_test_with() 2023-11-23 19:49:49 +00:00
jlamothe 3b616f2e22 fixed memory leak in append_test_log() test 2023-11-23 18:53:00 +00:00
jlamothe 23ed415852 WIP: testing run_test_with() 2023-11-23 18:14:54 +00:00
jlamothe daf189dc8d more minor edits to README.md
I think I have a problem.  Someone stop me.
2023-11-23 01:04:36 +00:00
jlamothe 2054ab3096 removed unnecessary comma 2023-11-22 23:25:13 +00:00
jlamothe 45d2801362 typo 2023-11-22 23:20:17 +00:00
jlamothe c3f7ac96cd edit to description of run_test_compare() 2023-11-22 23:03:44 +00:00
jlamothe a506b8bd40 s/parameter/argument/ 2023-11-22 22:52:34 +00:00
jlamothe 9cdc474456 minor tweaks to README.md 2023-11-22 22:50:05 +00:00
jlamothe 7e0c088cf0 completed documentation in README.md
(hopefully)
2023-11-22 20:55:03 +00:00
jlamothe 0ffc08fc41 started writing documentation 2023-11-22 01:04:59 +00:00
jlamothe 6539b87ea9 warn to log instead of stderr
When the reindex function rebuilds the log because of a missing first_log value, it warns about a potential memory leak to the log itself.
2023-11-21 23:26:32 +00:00
jlamothe 00ffef2f0a more thorough testing of append_test_log() 2023-11-21 22:45:56 +00:00
jlamothe cb3788cf02 check next value for append_test_log() on empty log 2023-11-21 20:55:58 +00:00
jlamothe e5cad7cd20 display pass/fail/pend status in realtime 2023-11-21 20:02:53 +00:00
jlamothe da33bd8955 test test_context() with a prior context 2023-11-21 19:49:19 +00:00
jlamothe ebf398fd33 test test_context() on a state with no initial context 2023-11-21 19:44:35 +00:00
jlamothe bea9a3e34a check the next field of the last log when appending 2023-11-21 18:11:35 +00:00
jlamothe 57e4d2ba49 re-implemented test using new convenience functions 2023-11-21 05:12:41 +00:00
jlamothe 01e9cb8794 implemented log_test_context() 2023-11-20 05:03:33 +00:00
jlamothe 8828a8ab17 WIP: re-writing tests 2023-11-20 04:50:42 +00:00
jlamothe 24ed9060ba implemented single_test_context_compare() 2023-11-20 03:58:21 +00:00
jlamothe eaa8ae06a7 renamed check_values() to test_context_compare() and reimplemented 2023-11-20 01:16:44 +00:00
jlamothe f808eb4cb0 reorganized functions and such 2023-11-19 23:48:11 +00:00
jlamothe 55926ec0d8 implemented run_test_compare() 2023-11-19 17:19:45 -05:00
jlamothe 01e01243dd cleaned up comments 2023-11-19 17:19:45 -05:00
jlamothe 291d25927c refactored single_test_context_with() 2023-11-19 20:44:14 +00:00
jlamothe ad4abe68e0 refactored test_context_with() 2023-11-19 04:40:19 +00:00
jlamothe 1c4fb1e87d refactored single_test_context() 2023-11-19 04:01:10 +00:00
jlamothe 8138f59fef refactored run_test_with() 2023-11-19 01:48:14 +00:00
jlamothe cd590339b7 refactored single_test_context() 2023-11-18 20:11:28 +00:00
jlamothe 2011b75b7e refactored run_test_with() 2023-11-18 19:28:40 +00:00
jlamothe bd535791d7 implemented single_test_context_with() 2023-11-18 16:38:00 +00:00
jlamothe 6c191d8405 implemented run_test_with() 2023-11-17 23:35:02 +00:00
jlamothe 37ce34b160 made check_value() use test_context_with()
eliminates some redundant code
2023-11-17 23:07:05 +00:00
jlamothe 5d67b7aeb8 implemented test_context_with() 2023-11-17 21:30:52 +00:00
jlamothe 7818e3d646 changed order of params for check_value() 2023-11-16 22:41:42 +00:00
jlamothe a7351b5667 implemented check_value() 2023-11-16 19:53:06 +00:00
jlamothe 0ad79ea3b0 define and start using single_text_context() 2023-11-16 00:52:01 +00:00
jlamothe ef00063ba3 built and started to test test_context() 2023-11-15 23:46:25 +00:00
jlamothe b9cac45eba report function should ignore formatting 2023-11-15 00:04:35 +00:00
jlamothe cead3f67d0 created overridable report() function to be used in place of print() 2023-11-14 23:53:43 +00:00
jlamothe 85a6d49b38 added context info to TestState 2023-11-14 23:08:19 +00:00
jlamothe 1d306f32c0 actually count the null state test for run_test() 2023-11-14 20:32:07 +00:00
jlamothe bcfd584608 make sure passing a null state to append_test_log() doesn't crash it 2023-11-14 20:16:30 +00:00
jlamothe 2a092d1050 ensure the log doesn't change when the message is null 2023-11-14 19:59:13 +00:00
jlamothe a772db08ce try to rebuild log when first entry missing 2023-11-14 19:33:02 +00:00
jlamothe 47638ef0b7 ensure last_log repairs itself when appending 2023-11-14 19:16:21 +00:00