差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

java:code_quality [2021/02/12 23:37]
tony [Resource]
java:code_quality [2023/06/25 09:48]
行 1: 行 1:
-{{tag>​java findbugs junit}} +
-====== Quality ====== +
-與Code Quality相關的tool與文章都集中在這。 +
-===== JUnit ===== +
-  * [[.:​junit:​powermock|PowerMock / PowerMockito / Mockito]] +
-  * [[.:​junit:​tech:​capture_systemout|How to verify the System.out.print?​]] +
-  * [[.:​junit:​tech:​ignore|Conditionally ignore tests]] +
-  * [[.:​junit:​tech:​capture_log4j_output|How to verify the Log4j output?]] +
-  * [[java:​junit4:​rules:​temporaryfolder|JUnit4 : TemporaryFolder Rule]] +
-==== Resource ==== +
-  * [[http://​www.ibm.com/​developerworks/​cn/​java/​j-lo-junit-installanywhere/​index.html|Test InstallAnywhere By JUnit]] +
-  * [[http://​www.appperfect.com/​support/​java-coding-rules/​junit.html|JUnit coding rule]] +
-  * [[http://​junit.sourceforge.net/​doc/​cookstour/​cookstour.htm|cooks tour]] +
-  * [[http://​stackoverflow.com/​questions/​5147187/​ignore-assertion-failure-in-a-testcase-junit|Error Collector]] 把assertion中的錯誤都收集起來 +
-  * [[https://​jazz.net/​help-dev/​clm/​index.jsp?​topic=%2Fcom.ibm.rational.test.qm.doc%2Ftopics%2Fc_testsuite_work_flow.html|IBM Rational - testsuite work flow]] 講述testsuite的建置與測試規劃 +
-  * [[http://​teddy-chen-tw.blogspot.tw/​2013/​04/​eclemmaeclipse-java.html|Eclipse Code Coverage Plugin - EclEmma(JaCoco)]] +
-  * [[https://​stackoverflow.com/​questions/​473401/​get-name-of-currently-executing-test-in-junit-4|在console顯示testcase名稱的方法]] +
-  * [[https://​www.codingblocks.net/​podcast/​how-to-write-amazing-unit-tests/​|Clean Code – How to Write Amazing Unit Tests?]] +
-  * [[https://​martinfowler.com/​bliki/​UnitTest.html?​fbclid=IwAR3ljmcfHo9zw6FipOI7vwx1C8HyZIrq20QJQgzxzMVMc5Zy40KGX-qIVUc|martinfowler-unit test]] +
-  * [[https://​tyrrrz.me/​blog/​unit-testing-is-overrated?​fbclid=IwAR07iVReCHk265_pNhhrKN5SFMtZIz1n6PFwApqNm2YozgiE4b96Woyp_xA|Unit Testing is Overrated]] +
-  * [[https://​medium.com/​%E5%BE%8C%E7%AB%AF%E6%96%B0%E6%89%8B%E6%9D%91/​review-software-testing-anti-patterns-35c9b422dc4e|閱讀心得:軟體測試的反面模式(anti-patterns)]] +
-===== JVisualVM ===== +
-  * [[.:​jvisualvm:​troubleshooting|Throbuleshooting]] +
-===== Code Quality Tools ===== +
-  * [[java:​sonarlint|SonarLint]] +
-  * [[java:​findbug|FindBug]] +
-==== Reference ==== +
-  - [[http://​findbugs.sourceforge.net/​|FindBugs官方網站]] +
-  - [[http://​qa.taobao.com/?​p=4206|Code review工具FindBugs介绍]] +
-===== Selenium ===== +
-  * [[http://​www.seleniumhq.org/​docs/​appendix_migrating_from_rc_to_webdriver.jsp#​migrating-to-webdriver-reference|Migrating from RC to WebDriver]]+