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.012 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.idea.gradle.dependencies.gradle.tooling.model.api.Configuration
Features
- should return expected configuration name
- should return a set with one dependency
- should contain expected dependency
should return expected configuration name
Result: PASS Time: 0
- Expect name to equal “testConfiguration”
testSubject.name() == configurationName
should return a set with one dependency
Issues:
Result: PASS Time: 0
- Expect set of dependencies should have one element
testSubject.dependencies().size() == 1
should contain expected dependency
Issues:
Result: PASS Time: 0
- Expect should equal provided dependency
testSubject.dependencies()[0] == dependency