`
alanwu
  • 浏览: 200536 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Automated unit Bestpractise

阅读更多
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 楼 alanwu 2008-03-21  
http://www.robincurry.org/blog/CodeMetricsAndCodeMetricsTools.aspx
4 楼 alanwu 2008-03-20  
http://depositfiles.com/en/files/1074589#
3 楼 alanwu 2008-03-20  
Rational Edge: 书评:IBM Rational ClearCase、Ant 和 CruiseControl——加速和自动化构建过程的 Java 开发者指南

http://www.ibm.com/developerworks/cn/rational/rationaledge/content/aug06/reader/pollice.html
2 楼 alanwu 2008-03-20  
http://english.zhuaxia.com/pre_channel/94687/6
1 楼 alanwu 2008-03-20  
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

相关推荐

Global site tag (gtag.js) - Google Analytics