Add support for component connections default tip

Dockerfile, verse: Add support for sha1 via luaossl

Dockerfile: Update to bullseye-slim and install lua-unbound

Remove dependency on util.iterators

verse: Update bundled verse version

client: Fix harmless error logged when calling 'done' too many times

client: Tell Verse that stanzas are "handled"

Serialize XML in a consistent order by default

scansion: Support for per-script captures

client: Fix timeout handling

client: Move some generic utility functions to a helpers module

stanzacmp: Support for captures

Makefile: make scansion executable for the poor owner, too

docs/install: Add links

README: Add intro and links

docs: Add initial documentation

Makefile: Add docker target

client: Ignore timeout timer if we received a stanza

parser: Prefix parse errors with "ParserError: "

Make current line number available in all error events

main: Make undefined actions throw a proper scansion error

Include line_start and line_end in action objects and action log events for /run end-point

serve: Log port and origin as part of startup

Allow CORS for /run end-point

Make --serve and --serve-port take an origin argument, in order to disallow random websites from accessing the local port

scansion.serve: Add support for chunked encoding (thanks Zash)

main: Pass logging function to run_test_script

main: Remove debug print()

stanzacmp: Allow scansion:strict at the top level of the stanza

scansion.pretty: Just emit input on invalid XML

stanzacmp: Fix for {scansion:any} in top-level attributes being ignored

main: Add support for including/excluding tests based on tag

main: Add more luacheck annotations

scansion.console: Add count of skipped tests

scansion.parser: Ensure script objects always have tags, even if empty

main, scansion.console: Refactor (changes event data format) so that test results include test name

scansion.console: Support for indentation in lines() helper

main: Only process .scs files in directories

README: Add initial version

Makefile: Build with server by default

Dockerfile: Run all tests in /scripts by default

Dockerfile: Add luafilesystem for '-d'

squishy: Add --with-server option to bundle server and deps

serve/: Import dependencies required for serve mode from Prosody 329a670ae975

main, scansion.serve: Add mode that serves /run API for executing scripts

main: Modify run_test_script() to take the actual script data

main: Move check for whether any files have been provided

main: Don't let action timeout fire after a script already finished

scansion.console: Handle missing filename

main: Add long form of -d: --script-dir

main, console: Allow force-printing --summary even if -q is passed

client: Throw scansion error on stanza timeout, to avoid traceback

main: Fix to restore correct exit code

main: Remove debug print

main: Add support for passing one or more script directories with '-d'

scansion.console: Print summary at end of test run

main: Refactor to support a more advanced summary at the end of a test run

main: Throw scansion error on timeout, to avoid unnecessary traceback

main: Factor out script uninitialization into a function for consistency

Makefile; Factor out squish params and build with verse by default

squishy: Add support for optionally building with bundled verse

squishy: Add new modules 'console' and 'pretty'

Makefile: Add 'test' target

client: Add _finish handler to disconnect from server if still connected

main: Add _finish handler so objects can clean up

stanzacmp: Don't look for scansion control attrs in comparison stanza

Revamp console output to be driven by log_data()

main: Move 'start' event to correct place (signals start of test run, not individual tests)

main: Include script filename in "script" log event

scansion.pretty: Utility lib for XML pretty-printing, borrowed from Prosody

scansion.error, client: Change error syntax slightly, so first param is identifier string

main.lua: Don't log traceback for normal scansion internal errors

main.lua: Some fixes for [luacheck]

scansion: Add support for passing multiple scripts on the command-line

scansion: Add -q and -v for controlling log output

basic.scs: Add some comments

scansion.objects.client: Include expected stanza in error, if any

scansion.error: Add __name and is() for identifying scansion errors

verse: Update to 5.2-compatible version

buildscripts/squish: Update to 5.2-compatible version

stanzacmp + tests: Advance through matching stanza on successful match

stanzacmp tests: Fix some [luacheck] warnings

stanzacmp+tests: Add support for scansion:strict to allow override of default behaviour

spec/stanzacmp: Allow passing XML strings to yes()/no() to avoid manual stanza building

scansion.xml: Add 'scansion' namespace, and tests

Remove testcmp.lua (replaced by spec/ for busted)

tests: Add test for scansion:any

Add Dockerfile

Add tests for stanzacmp

stanzacmp: A new iteration of the stanza matching algorithm

stanzacmp: Add {scansion:any} magic wildcard value for attributes

client: Detect unexpected disconnects more reliably

main.lua: Add flag for when script has finished

verse.lua: Update to 5.2-compatible version

configure: Fix typo (scansion/squish)

buildscripts/sqush: Update to 5.2-compatible version

Add test for instant MUC rooms

client: Support for "receives: nothing", to verify that the server does not respond to a given stanza, for example

client: Store last received id so it can be used in scripts

main.lua, client: Make timeouts more coherent (stanza timeout was greater than action timeout), add command-line options to change them

main.lua: Read any remaining server logs after script completes (error or otherwise)

main.lua: Add per-action timeout

scansion.parser: Remove unused variable (thanks luacheck)

main, scansion.parser: Allow scripts to include tags in comments at the beginning, which are included in JSON output

Ignore shebangs at the top of a script

main.lua: Add --skip-server-startup-log to discard server log output at startup

Makefile: Automatically create build directory if it doesn't exist

Add Makefile and other files for building

client: Wait for 'drained' event when sending stanzas (experimental, may help with syncing to server's logs)

scansion.parser: Whitespace fix

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

(0) -120 tip

mercurial