Commit Graph

163 Commits (ec69bc20a83a4092b27cabfd72b60c8c8522c213)

Author SHA1 Message Date
lethosor 4fde096009 Add expect.* functions for other binary comparisons 2020-03-27 02:01:03 -04:00
lethosor bb02c9f639 Add a couple basic gui tests 2020-03-27 01:38:40 -04:00
lethosor e6c9db0a18 Clean up test skipping logic 2020-03-27 00:49:34 -04:00
lethosor a312336f86 Add (placeholder) support for specifying which game mode tests should run in 2020-03-27 00:34:44 -04:00
lethosor c6d2407f2c Ensure that Lua test runner always exits 2020-03-26 23:33:39 -04:00
lethosor 2e352408c2 Split up test runner funcs 2020-03-26 23:26:43 -04:00
lethosor ea3be02c63 Overhaul lua testing script
- Now keeps track of the state of each test individually
- Only runs uncompleted tests if DF crashes/restarts
- DF now exits with 0
- Easier to run locally
- Hopefully works on Travis too!
2020-03-25 01:45:17 -04:00
lethosor f9c50a1f0e Add test to make sure viewscreen destructors work 2020-03-23 00:49:08 -04:00
Ben Lubar 37e7bed779
add df.global:_field method. add test case to check for overlapping globals. 2020-03-20 09:41:58 -05:00
lethosor 163c9b4059 Add utils.OrderedTable, make test order consistent
Also added OrderedTable tests and comment support to expect.*()
2018-07-19 12:40:25 -04:00
lethosor 5d3126403b Switch back to coroutines for tests 2018-07-19 11:26:38 -04:00
lethosor 063602349c Add a basic test library and a couple GUI module tests (squashed)
Also modified Core/Console a bit to get this to actually produce output on
Travis (DFHACK_DISABLE_CONSOLE now allows console output, just not input)

Squashed merge from lethosor/tests
2018-07-18 14:29:13 -04:00
lethosor 2af5f7ab87 Add test runner 2018-02-04 16:00:53 -05:00