Represents a contract for annotations, which serves as argument lists provider for parametrized tests. These annotations are used on function and are resolved during execution. Basic implementation is annotation parameters(), but custom implementation can be very easily implemented, see example below.


shared annotation DataFileAnnotation dataFile(String fileName) => DataFileAnnotation(fileName);

shared final annotation class DataFileAnnotation(String fileName)
         satisfies OptionalAnnotation<DataFileAnnotation,FunctionDeclaration> & ArgumentListProvider {

    shared actual {Anything[]*} argumentLists(ArgumentProviderContext context)
         => CsvFileParser(fileName).parse();         


shared void shouldProcessPerson(String firstname, String surname, Integer age) {

no type hierarchy

no supertypes hierarchy

Inherited Attributes
Attributes inherited from: Object
argumentListsSource Codeshared formal {Anything[]*} argumentLists(ArgumentProviderContext context)

Returns arguments lists.

Inherited Methods
Methods inherited from: Object