Opened 7 years ago

Closed 7 years ago

#468 closed enhancement (fixed)

make unit tests

Reported by: Bluestone Owned by:
Priority: major Milestone:
Component: BA trunk Version:
Keywords: Cc:

Description

[17:16:10] <[LCC]jK> so back to topic, we need sim unit test framework for tests like "load unit here, unload there", "move from a to b", .... [17:16:29] <[LCC]jK> +a [17:16:39] <[Fx]Bluestone> i think it would not take long to make one with the zk mission editor [17:16:52] <[LCC]jK> yes [17:17:05] <[Fx]Bluestone> although then it would function right it would be likely full of screwed up lua [17:17:21] <[Fx]Bluestone> also, how to return if test was pass/fail? [17:18:33] <[LCC]jK> Spring.Log() [17:18:59] <[LCC]jK> just return an error with that [17:19:37] <[Fx]Bluestone> and then exit? [17:20:59] <[LCC]jK> you can run multiple tests in one run [17:21:06] <[LCC]jK> and exit when all are finished

Change History (1)

comment:1 by Bluestone, 7 years ago

Resolution: fixed
Status: newclosed

wip

Note: See TracTickets for help on using tickets.