Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

classMethods ::= (('%' packageName)? ('@' className) | qualifiedName) ('#' methodName)? ('$' operationName)?

 

Probably the best way to explain this is with some examples:

SpecificationResult
@classnameRun every method in every class with 'classname' in the name.
%packRun every method in every class with 'pack' in the package name
@classname and %packRun every method which matches both of the previous conditions. This is a compound statement.
<tag>Run the tag named 'tag' using the 'all' set.
<tag, fail>Run the tag named 'tag' using the 'fail' set.
[ aud ]Run every method in every class with the @JoinSuite tag with the name aud.

{ property: 'value' }

 

Run every method in all classes which contain an operation with a parameter named 'property' and the value 'value'

 

All of the selectors have the effect of choosing any test to run that they match.  If an operation is specified (using $), only those operations are executed.  The properties selector will select the entire method is a single operation matches.