Test Runs

I implemented an AI-"Test"-Environment. One might think this is a bit "to much", and you are probably right on the other hand my real-life job is closely related to software testing, so it probably comes only natural The basic underlying idea:

Testcases as such can be defined, commented and collected. You can edit gamestates. You can import gamestates. You can view gamestates (window, which behaves like a match) Testcases can be collected to a "TestRun". TestRuns can be run on to be tested AI in sequential order. OutPut can be viewed. Thus by collecting usefull testcases I can automatically verify:

Example: To be tested AI (EAI): Malban (what else :-



Testcase


(Note: If Enhanced AI was player 1, he would play "Undo" - and the result would be totally different!)

TestRun definition looks like this:



Testrun


And finally - the results of a run: (Tested Moses, who does not pass the tests (only one):



Test results