Commit Graph

87 Commits

Author SHA1 Message Date
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
jlamothe 580af62244 fix memory leak 2023-11-14 18:43:06 +00:00
jlamothe 3d01638da0 break a2e_chk_last into separate function 2023-11-13 04:05:33 +00:00
jlamothe 4ff1aa2d6d build a struct to represent a sample log 2023-11-13 03:47:21 +00:00
jlamothe 5e8b1b73c7 make sure last_log changes, but isn't null on append 2023-11-13 01:27:07 +00:00
jlamothe fc167d8d05 ensure first_log doesn't change on append 2023-11-13 00:49:33 +00:00
jlamothe 586bbe71ed started append to existing test 2023-11-13 00:37:19 +00:00
jlamothe e41263adf0 consider calling run_test() with a null function as a pending test 2023-11-12 01:25:55 +00:00
jlamothe 94d6bc8cf9 make sure run_test() doesn't crash when handed a null state 2023-11-11 23:08:08 +00:00
jlamothe 3393c3b9af ensure latest log text is correct when appended 2023-11-11 22:53:04 +00:00
jlamothe 63f0bd73e4 ensure first_log and last_log match when appending to empty log 2023-11-11 21:49:52 +00:00