ITeye博客

Automated unit Bestpractise

alanwu · 2008-03-20 13:46 · Improve_Productivity · Markdown

Automated unit testing Continuous integration software--CruiseControl Yes... More code needs to be written Estimates will increase It's a new way of working It feels weired,perhaps pointless initially But... Automated unit testing is very powerfull Lets you regression test code for free! Helps you write cheaner code Provides a good milestone for completion Provides confidence when changing, fixing or refactoring code If you can write code, you can write a unit test! A defect is raised... Look at the unit tests Write a unit test to prove the bug -- make sure its reproducible Fix the bug The new test will pass Check-in the fix and new test Chances of reoccurrence are greatly reduced

Continuous integration Project blogs -- Pebble

Tracking metrics over time -- QALab

http://www.scribd.com/doc/387095/Java-Development-Best-Practices

评论(5)

  1. #5 楼 · alanwu · 2008-03-21 17:36

    http://www.robincurry.org/blog/CodeMetricsAndCodeMetricsTools.aspx

  2. #4 楼 · alanwu · 2008-03-20 14:01

    http://depositfiles.com/en/files/1074589#

  3. #3 楼 · alanwu · 2008-03-20 13:55

    Rational Edge: 书评:IBM Rational ClearCase、Ant 和 CruiseControl——加速和自动化构建过程的 Java 开发者指南

    http://www.ibm.com/developerworks/cn/rational/rationaledge/content/aug06/reader/pollice.html

  4. #2 楼 · alanwu · 2008-03-20 13:54

    http://english.zhuaxia.com/pre_channel/94687/6

  5. #1 楼 · alanwu · 2008-03-20 13:48

    IBM Rational Clearcase, Ant, And Cruisecontrol: The Java Developer's Guide

    http://books.google.com.sg/books?hl=en&id=SRVdPTxjiRwC&dq=cruisecontrol+clearcase&printsec=frontcover&source=web&ots=M_dNKt2RD9&sig=enRSDgrEcJcJ4vl3Vho60uVGDuA#PPA260,M1

评论功能维护中,当前仅展示历史评论。