KontureFileScope
Represents a scope containing a set of Kotlin files for checking file-level rules.
Types
Functions
Asserts that file names in this scope match their primary class names.
Asserts that files in this scope have KDoc documentation.
Asserts that all file declarations in the scope have names ending with any of the specified suffixes.
Asserts that all file declarations in the scope have names matching any of the specified glob patterns.
Asserts that all file declarations in the scope have names starting with any of the specified prefixes.
Filter or assertion criteria for assert not reside in a module.
Asserts that no file in this scope contains wildcard imports.
Asserts that files in this scope contain at most one class.
Filter or assertion criteria for assert reside in a module.
Asserts that all file declarations in the scope reside in packages matching any of the specified patterns. Matches using standard Kotlin package wildcard matching (e.g. "..domain..").
Asserts that all files in this scope satisfy predicate.
Filter or assertion criteria for have name ending with.
Filter or assertion criteria for have name starting with.
Filters this file selector to include files residing in packages matching the specified pattern.
Filter or assertion criteria for minus.
Filter or assertion criteria for plus.
Filter or assertion criteria for reside in a package.
Returns a fluent assertion scope for sequential assertions on this FileSelector.
Filters files in this scope to include only those with import matching importPath.
Filters files in this scope to include only those with import of class type.
Filter or assertion criteria for with module.
Filters this file selector to include files whose names match the specified pattern.
Filter or assertion criteria for with name matching.