Gradle Dependencies Check

Specification run results

View on GitHub

Dependencies plugin

As a user I would like to be able inject a Plugin into a Gradle build to collect dependencies.

Total Runs Success Rate Failures Errors Skipped Total time (ms)
1 100.0% 0 0 0 0.145 seconds

TestSubject:

Issues:

See:

Features


should register plugin to registry

Result: PASS Time: 0.141 seconds

ToolingModelBuilderRegistry toolingModelBuilderRegistry = Mock()
@Subject
DependenciesPlugin testSubject = new DependenciesPlugin(toolingModelBuilderRegistry)
testSubject.apply(_ as Project)
interaction {
    1 * toolingModelBuilderRegistry.register(_) >> { ToolingModelBuilder builder -> builder instanceof DependenciesModelBuilder }
}
noExceptionThrown()