Zoomed Image

AMSX Scripting Language - Command : Test

Summary

Run assertion tests against database table contents

Description

Provides sub-commands for validating data during automated testing: Test.Exists checks that at least one row matches a condition, Test.Count checks the number of matching rows against an expected value with an optional comparator. Both throw exceptions on failure.

Parameters

This command does not require parameters.

Syntax


Test

Return to the AMSX Command Reference