NAME

countTests - determine that number of tests that match given selection criteria

SYNOPSIS

countTests suite FIELD=sel1[,sel2...]...

DESCRIPTION

countTests will tell you how many tests match your selection criteria. It uses the same logic as set and session creation in ApTest Manager, so you can find out how big your set will be in advance.

OPTIONS AND ARGUMENTS

suite

The name of the suite to work on.

FIELD

A field name to apply selection criteria to. Takes a comma-separated list of values to match, e.g.:

countTests exampleSuite state=Ready,Obsolete

NOTES

Pattern matching or case-insensitive matching are not supported in this script.

The script is intended to operate on menu-style fields. Spaces in menu values must be translated to underscores (_), e.g.:

countTests exampleSuite state=Under_review

Copyright © 2000-2013 Applied Testing and Technology, Inc. All rights reserved.