????????????????·
???????????? ???????[ 2014/6/6 13:33:43 ] ????????????????? ???????
????4 ????
?-4-1-???????????
?????????????????????????????????????????UnitTest??β?????????Svn??
????Jenkins????????????????????????????6??????Svn?д???????????????У????????????????UnitTest??????????????????????
????????????????Sonar???????????????????????????????????????
?????????????????????????Sonar??????review??
????5 ???
????Jenkins???????
??????????????????????PollSCM
????Poll SCM???????????????????SCM?????汾?????????и??????checkout??
????Build periodically??????????????????????care?????????仯????
???????????H/6 * * * *
????Build????
????Goals and options??emma:emma -Dtest=*UnitTest soanr:sonar
?????????
????emma:emma??Add the "emma:emma" goal to your build to generate Emma reports??
????-Dtest=*UnitTest?????????????????UnitTest??β???????
????sonar:sonar????????????????????
??????????Emma Plugin??https://wiki.jenkins-ci.org/display/JENKINS/Emma+Plugin??
?????????????
????????Aggregate downstream test results???????????????е?downstream?????
????????Editable Email Notification????“???”????????????“Unstable”??
???????“Send To Committers”??Check this checkbox to send the email to anyone who checked in code for the last build??
?????????Editable Email Notification????? https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin
?????????ЩJenkins???????????????????????????????
????????????????Maven??
????????????Maven???й??????????pom.xml?н???????jar??????
???????????????????????????Maven??setting.xml???????ò??????????????sonar??????sonar????????????????????????
<profile>
<id>sonar</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!-- EXAMPLE FOR MYSQL -->
<sonar.jdbc.url>
jdbc:mysql://127.0.0.1:3306/sonar?useUnicode=true&characterEncoding=utf8
</sonar.jdbc.url>
<sonar.jdbc.driverClassName>com.mysql.jdbc.Driver</sonar.jdbc.driverClassName>
<sonar.jdbc.username>sonar</sonar.jdbc.username>
<sonar.jdbc.password>sonar</sonar.jdbc.password>
<!-- SERVER ON A REMOTE HOST -->
<sonar.host.url>http:/127.0.0.1:9000</sonar.host.url>
</properties>
</profile>
|
????Mockito???????
???????е????????MockitoTestContext????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11