当前在线人数14348
首页 - 分类讨论区 - 电脑网络 - 窗口里的风景版 -阅读文章
未名交友
[更多]
[更多]
文章阅读:Re: 困猫, 定义test driven programming and ..
[同主题阅读] [版面: 窗口里的风景] [作者:LodossWar] , 2003年10月17日18:34:59
LodossWar
进入未名形象秀
我的博客
[上篇] [下篇] [同主题上篇] [同主题下篇]

发信人: LodossWar (sleepycat), 信区: DotNet
标  题: Re: 困猫, 定义test driven programming and ..
发信站: Unknown Space - 未名空间 (Fri Oct 17 18:34:59 2003) WWW-POST

1. Test Driven Programming:
One aspect of Extreme Progrgramming.(XP)
http://www-106.ibm.com/developerworks/java/library/j-xp042203/

Writing tests first
XP talks about two kinds of tests: programmer tests and customer tests.
Test-driven programming (also called test-first programming) most commonly
refers to the first variety, at least when I use the term. Test-driven
programming is letting programmer tests (or unit tests -- again, just a choice
of terms) drive the code you write. That means you have to have the test
before you write the code. The test drives the code you write by dictating
what code you need to write. You write only the code necessary to make your
test pass -- no more, no less. The XP rule is simple: If you don't have a
programmer test, you don't know what code to write, so you don't write any
code.

2. Data Driven programming:
Data structure design first.
i.e., you first design database, then create connection, adapter, then
generate dataset, then you can darg-drop web forms controls to create your
fancy ASP.net sites.

You see, the real business logic and presentation layers are not the first.
That's just my thought. You can also find "Data-driven" in MSDN.



【 在 Edelweiss (雪绒花) 的大作中提到: 】
: test driven programming, data driven programming
:
: in english ,and professionally.
:
: recently I found myself not be able to describe what I know in a nice
: professional way.
: let alone what I don't know!
:
: I am working on that too these days.
:
:
:
:


--
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 151.201.]

[上篇] [下篇] [同主题上篇] [同主题下篇]
[转寄] [转贴] [回信给作者] [修改文章] [删除文章] [同主题阅读] [从此处展开] [返回版面] [快速返回] [收藏] [举报]
 
回复文章
标题:
内 容:

未名交友
将您的链接放在这儿

友情链接


 

Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有,未名空间(mitbbs.com),since 1996