As a user I would like to be able to get a custom model from a Gradle build to collect dependencies.
Total Runs | Success Rate | Failures | Errors | Skipped | Total time (ms) |
---|---|---|---|---|---|
3 | 100.0% | 0 | 0 | 0 | 0.018 seconds |
TestSubject:
Issues:
See:
- https://gradle.org
- https://github.com/bmuschko/tooling-api-custom-model
- https://docs.gradle.org/current/javadoc/org/gradle/api/artifacts/Configuration.html
- io.github.gregoranders.gradle.dependencies.tooling.model.api.Configuration
Features
- should contain expected dependency
- should return a set with one dependency
- should return expected configuration name
should contain expected dependency
Result: PASS Time: 0
- Expect should equal provided dependency
testSubject.dependencies()[0] == dependency
should return a set with one dependency
Result: PASS Time: 0
- Expect set of dependencies should have one element
testSubject.dependencies().size() == 1
should return expected configuration name
Result: PASS Time: 0
- Expect name to equal “testConfiguration”
testSubject.name() == configurationName