include

open fun include(includes: Array<String>): Test(source)
open fun include(includes: Iterable<String>): Test(source)

Adds include patterns for the files in the test classes directory (e.g. '**/*Test.class')).

See also


open fun include(includeSpec: Spec<FileTreeElement>): Test(source)

Adds an include spec. This method may be called multiple times to append new specs. If includes are not provided, then all files in this container will be included. If includes are provided, then a file must match at least one of the include patterns or specs to be included.


open fun include(includeSpec: Closure): Test(source)

Adds an include spec. This method may be called multiple times to append new specs. The given closure is passed a as its parameter. If includes are not provided, then all files in this container will be included. If includes are provided, then a file must match at least one of the include patterns or specs to be included.