FilesShould
Assertion builder for checking rule expectations on Kotlin file declarations.
Functions
Filter or assertion criteria for all of.
Asserts that files are annotated with the annotation type parameter T.
Asserts that files are annotated with the specified annotation class.
Asserts that selected files satisfy at least one of the specified assertion blocks.
Filter or assertion criteria for be documented with k doc.
Asserts that selected files do not form dependency cycles among themselves.
Filter or assertion criteria for contain class.
Filter or assertion criteria for contain classes.
Asserts that files contain classes with annotation type parameter T.
Filter or assertion criteria for contain classes with annotation.
Asserts that all classes in matching files have one of the specified visibilities.
Asserts that all top-level functions in matching files have one of the specified visibilities.
Asserts that all top-level properties in matching files have one of the specified visibilities.
Filter or assertion criteria for contain top level functions.
Filter or assertion criteria for contain top level properties.
Filter or assertion criteria for have all classes ending with.
Filter or assertion criteria for have all classes matching.
Filter or assertion criteria for have all classes starting with.
Filter or assertion criteria for have classes.
Filter or assertion criteria for have import of.
Filter or assertion criteria for have name matching class name.
Filter or assertion criteria for have no wildcard imports.
Filter or assertion criteria for have only one class per file.
Filter or assertion criteria for have top level functions.
Filter or assertion criteria for have top level properties.
Asserts that files reside in a module matching modulePath.
Asserts that files reside in modules matching modulePaths.
Asserts that files reside in packages matching packagePatterns.
Asserts that files reside in a package matching predicate.
Asserts that files reside in a package matching packagePattern.
Filter or assertion criteria for named.
Filter or assertion criteria for name ending with.
Filter or assertion criteria for name matching.
Filter or assertion criteria for name starting with.
Filter or assertion criteria for none of.
Filter or assertion criteria for not call.
Asserts that files do not call members of type parameter T.
Filter or assertion criteria for not contain class.
Filter or assertion criteria for not contain classes.
Asserts that selected files do not form dependency cycles among themselves.
Filter or assertion criteria for not contain top level functions.
Filter or assertion criteria for not contain top level properties.
Filter or assertion criteria for not contain wildcard imports.
Filter or assertion criteria for not depend on modules.
Filter or assertion criteria for not depend on packages.
Filter or assertion criteria for not have classes.
Filter or assertion criteria for not have import of.
Filter or assertion criteria for not have top level functions.
Filter or assertion criteria for not have top level properties.
Filter or assertion criteria for not have wildcard imports.
Asserts that files do not reside in a module matching modulePath.
Asserts that files do not reside in modules matching modulePaths.
Asserts that files do not reside in packages matching packagePatterns.
Asserts that files do not reside in a package matching packagePattern.
Filter or assertion criteria for notNamed.
Filter or assertion criteria for not name ending with.
Filter or assertion criteria for not name matching.
Filter or assertion criteria for not name starting with.
Filter or assertion criteria for not reference class.
Asserts that files do not reference class type parameter T.
Filter or assertion criteria for only depend on modules.
Filter or assertion criteria for only depend on packages.
Asserts that selected files satisfy a custom boolean condition.
Asserts that selected files satisfy a custom violation-collecting assertion.
Asserts that selected files satisfy custom description description.
Asserts that selected files satisfy custom predicate predicate with description.
Asserts that selected files satisfy a custom predicate within a SatisfyContext block identified by id and optional description.