configurable error handler when running tests
[?]
Jan 23, 2023, 12:30 AM
2NTKHMLG75XXFYYMIBH4GJBEJVEEUT4INKUAFLE6YWFJ52JVAJQACDependencies
- [2]
ARYMNK52merge bugfix: show test failures - [3]
Q7HDVBN7keep some prints in the terminal for now - [4]
5ZCQGZP5save 2 more alternate formats for test failures - [5]
2CTN2IEFMerge lines.love - [6]
3QMTXKWNrename - [7]
NR43TWCNmake App.open_for_* look more like io.open - [8]
36Z442IVback to commit 8123959e52f without code editing - [9]
AVTNUQYRbasic test-enabled framework - [10]
CZQ3NJ4NMerge text0 - [11]
FCFJVYKYredundant check - [12]
IMEJA43Lsnapshot - [13]
AD34IX2Zcouple more tests - [14]
7CLGG7J2test: autosave after any shape - [15]
ORRSP7FVdeduce test names on failures - [16]
KKMFQDR4editing source code from within the app - [17]
JOPVPUSAediting source code from within the app - [18]
3QNOKBFMbeginnings of a test harness - [19]
JNJ4R56Xsupport running tests multiple times
Change contents
- replacement in app.lua at line 72
App.run_tests()App.run_tests(record_error_with_heuristic_location) - replacement in app.lua at line 422
function App.run_tests()function App.run_tests(record_error_fn) - replacement in app.lua at line 436
xpcall(_G[name], function(err) record_error_with_heuristic_location(name, err) end)xpcall(_G[name], function(err) record_error_fn(name, err) end)