OAP Lizzard A game interface engine
Game interfaces, outside the game Settings
← The journal
event Stage 8 · Test service Milestone follow-up

The Lizzard host: addon sessions test through a pipe

In one day, stage 8 gave addon development sessions a way to load whole addons or fragments into a running Lizzard, drive them with mouse and key steps, and get reports and pictures back.

Read the entry: The Lizzard host: addon sessions test through a pipe

I asked whether addon sessions could test addons, and fragments of Lua and XML, in a running Lizzard and get results back, with steps such as 'put the mouse over this button', instead of starting a runner each time.

Built in one day: a host with one thread per world, talking JSON over a local pipe, a small Python client, fresh worlds with chosen addons, test steps, and a report of errors, prints, clicks, events and every call to something not built yet. A fresh Retail world with an addon opens in 4.1 s, and six steps run in 0.6 s.

A hidden run leaves my window settings and saved files untouched. Fresh worlds keep their files in the temp folder, because OneDrive held a file just written and refused to delete it in the first test run.

The guide for addon sessions stays unannounced until I say so, and at my request it opens by saying that Lizzard is a work in progress, never the only test, and that testing in game is the authority.

Follow-up, : The first time an addon's own test session reported what Lizzard lacked. OAP Party Utilities' session tested its party window in a fresh world and wrote four gaps into Lizzard's issues list, all now fixed: raid icon codes show as icons, a test can put the player in a dungeon, names can be clicked to whisper, and the window resizes by its grip. When a link takes a click is Lizzard's reading of Blizzard's code, not checked in the game.

Follow-up, : Seven addons are now tested in Lizzard by their own sessions, and by the evening of 17 November they had written 31 reports into Lizzard's issues list, 12 of them from OAP Party Utilities. My rule, from 16 November: while Lizzard is still young, a fault found in a Lizzard test isn't counted against the addon. The addon's session rules out its own steps first and reports the rest as a plain observation; a Lizzard session traces it against Blizzard's code and fixes Lizzard or closes it as the game's own behaviour; I check in the game only what is left. Of the 31, 15 were Lizzard's and are fixed, 2 turned out to be how the game behaves, and 14 are still open.

The pictures of this work

Each step's album, shown by its cover picture. Open one for all its pictures, their dates and limits.