main.lua: Log script title and summary

scansion.parser: Read any comments at top of the file as script title (first line) and summary (following lines)

main.lua: Support tagging metadata for test runs, and include it in JSON output

main.lua: Restructure server log reading

main: Add delay when reading server logs

client: Make use of new scansion.error library, log the received stanza when different to expected one

main: Change JSON log format for clarity, error may be more than just a simple message now

scansion.error: Util for creating error objects

main: Separate logging for the last event to ensure proper JSON syntax

main: Support for --server-log/-s option, which reads the server's log file during a test and includes it in the JSON log

main: Switch to socket.gettime for higher accuracy timestamps in machine-readable logs

client.lua: Handle unexpected disconnects in the middle of a test

main.lua: Whitespace fix

main.lua: Error on unknown command-line options

main.lua: Add support for JSON log output to a file, for a machine-readable transcript of the test results

main.lua: Command-line processing, and a way to set connect_host/connect_port from the command-line

main.lua: Print blank line between actions for easier reading

main: Change shebang to LuaJIT

scansion.objects.client: Pause connection before resuming async processing

scansion.objects.client: Split long line into one statement per line

scansion.objects.client: Hold of reading from clients when they are not expecting stanzas

scansion.objects.client: Expose a 'host' property with the bare hostname

scansion.objects.client: And the port too

scansion.objects.client: Pass on 'connect_host' to the stream

scansion.parser: Allow property names to contain underscore

Merge

Update basic_message.scs with more tests (passing)

parser, objects.client: Experimental support for more liberal object names

Add annotations to actions (by grabbing the preceding comment)

scansion.parser: Don't skip blank lines (otherwise line numbers get skewed)

(0) -50 -30 +30 +50 +100 tip

mercurial