- git clone https://github.com/Angboo/auto_estimate.git
- use intellij idea to start auto_estimate
- input all trainees' repo to "src/main/resources/trainees"
- run main function in intellij idea
Detected code must be java language Detected code must config JaCoCo plugin
- build.gradle
plugins {
id 'jacoco'
}
jacocoTestReport {
reports {
csv.enabled true
}
}
test {
useJUnitPlatform()
}
pom.xml
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.2</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<!-- attached to Maven test phase -->
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
- automatically select different configurations based on the quiz
- run program on the terminal
- completion test
- business naming judgment algorithm improved
- test coverage judgment algorithm improved
- git commit judgment algorithm improved