Development log - red & black (1) (轉)
Development log - red & black (1)
Red
Software that easy to test.
By Zhang Hui
Mr Z add some in the de version of software. He even add a small
console for the application. It's more easy for him to do some kind of testing.
For example, if we want to test the case of what display when there are over
10000 message. No one will send 10000 message to do such test, it's so expensive
and time-consuming! What he does is add a small language parser in the application.
When inputting s can be parsed by the small language engine, it will trigle
some actions. Because it supports parameters, it's very handy for us to do various
testing. What a great a! Supposing we add "add inbox 1000", that means to create
1000 messages and store them in inbox. It's so easy, isn't?
Yesterday, I read the chapter of "unit test" of "Dive into ". From the example,
we know that the more early we add "unit test", the more we can get from them.
By "testing first", we can avoid over-design, we can release ealier, we can code
with full confidence, we can code in a graceful way, we can refactor the code anytime,
anywhere without worry about break something else.
To write a programe is not difficult, While it's much more difficult and complicated
to finish a "software". The core idea of develo software is to ensure quality,
meet schedule, within bugdet. So the core of the core is the software quality.
An procedure or mechanism is needed to ensure quality. It's natural for me to adopt
the idea of "test driven development" or "test centered development".
The mature level of development is decided by the level of testing.
===================================
版權所有 copyright 張輝
本文可原封不動的複製和自由地再發行,但在複製和再發行的複製中必須
原封不動地含有這段版權宣告。
.NET">http://forestsong.blogone.net
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10748419/viewspace-963075/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Development log - red & black (2) (轉)dev
- Game Development Methodology for Small Development Teams (轉)GAMdev
- Red and Black(DFS入門題)
- Red and Black Plaid Shoes Golden GooseAIGo
- DX: Full Screen GUI Development 2 (轉)GUIdev
- Beans Development Kit (BDK)分析(四) (轉)Beandev
- Beans Development Kit (BDK)分析(五) (轉)Beandev
- Beans Development Kit (BDK)分析(六) (轉)Beandev
- [Black Watch 入群題]PWN 1
- Python Geospatial Development reading note(1)Pythondev
- Red Flag 技術文件下載(轉)
- Red Hat Linux 入門指南!(轉)Linux
- Red hat公司對Oracle的回應(轉)Oracle
- red hat linux 9.0安裝求助!(轉)Linux
- Beaglebone Black教程專案1閃爍板載LED
- game development -- flowGAMdev
- log1按鈕介質頁面跳轉
- 美聯邦航空轉用Red Hat企業版Linux(轉)Linux
- SharePoint online Multilingual support - Development(1)dev
- Red Hat linux9 初裝配置(轉)Linux
- 製作Red Hat Linux急救盤組(轉)Linux
- 安裝red hat 9.0遇到的問題(轉)
- 安裝Red Hat9.0兩三事(轉)
- 系統操作程式:Red Hat linux inittab(轉)Linux
- Red Hat計劃公開Java原始碼 (轉)Java原始碼
- mulitpath配置+udev(red5+red6)dev
- Beaglebone Black教程Beaglebone Black的引腳分配
- weblogic 1Web
- Red TaiwanAI
- macOS Development - Auto LayoutMacdev
- office365 developmentdev
- What is strategy development process?dev
- BW: 80% of development costsdev
- Web Development Job in 4Webdev
- WebLogic的研究之三--開發、部署EJB(1) (轉)Web
- Red Hat套件讓你的EC更輕鬆(轉)套件
- Oracle 9i Installation on Red Hat Linux (轉)OracleLinux
- red hat linux 9.0下安裝oracle 8.1.7(轉)LinuxOracle