Database Testing

Database testing support was added in version 3.2

Additional Prerequisites

Configuring

You will need to specify various parameters:

	Service DB {
		dsn:		dbi:mysql:database=mydatabase;host=dbhost
		user:		argus
		pass:		password
		sql:		SELECT COUNT(*) FROM mytable
	}

The results of the select statement may be tested using any of the normal tests described in extended testing, such as 'expect', or 'minvalue'.