Merge lines.love
[?]
Aug 26, 2023, 10:47 PM
PWTRH67VOKPGJFAA743PIRSI42J2QR6DFIKZGEELAN56FFRPQIEACDependencies
- [2]
ZLJYLPOTMerge lines.love - [3]
CUFW4EJLreorganize app.lua and its comments - [4]
KKMFQDR4editing source code from within the app - [5]
2CTN2IEFMerge lines.love - [6]
ORRSP7FVdeduce test names on failures - [7]
JOPVPUSAediting source code from within the app - [8]
A4BSGS2CMerge lines.love - [9]
AVTNUQYRbasic test-enabled framework - [*]
3QNOKBFMbeginnings of a test harness
Change contents
- edit in app.lua at line 76
- resurrect zombie in app.lua at line 76
function App.run_tests()local sorted_names = {}for name,binding in pairs(_G) doif name:find('test_') == 1 thentable.insert(sorted_names, name)endendtable.sort(sorted_names)for _,name in ipairs(sorted_names) doApp.initialize_for_test()--? print('=== '..name)--? _G[name]()xpcall(_G[name], function(err) prepend_debug_info_to_test_failure(name, err) end)end-- clean up all test methodsfor _,name in ipairs(sorted_names) do_G[name] = nilendend - resolve order conflict in app.lua at line 76