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) |
---|---|---|---|---|---|
8 | 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/Project.html
- io.github.gregoranders.idea.gradle.dependencies.gradle.tooling.model.api.Project
Features
- should return expected project group
- should return expected project name
- should return expected project description
- should return expected project version
- should return expected project path
- should return a set with one configuration
- should contain expected configuration
- should contain expected sub project
should return expected project group
Issues:
Result: PASS Time: 0
- Expect name to equal “testProjectGroup”
testSubject.group() == projectGroup
should return expected project name
Result: PASS Time: 0
- Expect name to equal “testProjectName”
testSubject.name() == projectName
should return expected project description
Result: PASS Time: 0
- Expect name to equal “testProjectDescription”
testSubject.description() == projectDescription
should return expected project version
Result: PASS Time: 0
- Expect name to equal “testProjectVersion”
testSubject.version() == projectVersion
should return expected project path
Result: PASS Time: 0
- Expect name to equal “testProjectPath”
testSubject.path() == projectPath
should return a set with one configuration
Issues:
Result: PASS Time: 0
- Expect set of configurations should have one element
testSubject.configurations().size() == 1
should contain expected configuration
Issues:
Result: PASS Time: 0
- Expect should equal provided configuration
testSubject.configurations()[0] == configuration
should contain expected sub project
Issues:
Result: PASS Time: 0
- Expect should equal sub project
testSubject.subProjects()[0] == subProject