Test-first development (Maps to testing)
测试优先的开发(映射到测试(testing))
Test-First Programming: An individual practice for developers.
优先测试的程序设计:开发人员的个人实践。
Support starting the test automation effort immediately, using a test-first approach.
要支持“首先测试”的方式,并可以马上开始进行自动化测试。
One of these -- test-first programming, or TFP -- is the topic of this month's column.
其中一种——优先测试的程序设计,或称为 TFP——是本文的主题。
This is epitomized by "agile" practices that endorse test-first development — building tests before you code.
这可以由“敏捷”实践所概括,其认可测试先行开发——在你编码之前构建测试。
Agile teams need tools that support starting the test automation effort immediately, using a test-first approach.
敏捷团队需要的测试工具要支持“首先测试”的方式,并可以马上开始进行自动化测试。
Unlike classic test-first programming, I'm writing a lot of tests here without necessarily writing any model code.
与典型的test - first编程不同,我在此处编写了很多测试代码却没有必要编写任何模型代码。
XP demands that you write tests before you write code, so a simple design is one that grows over time in a test-first manner.
XP要求您在写代码之前先写测试,所以简单设计是以一种测试当先(test - first)的方式逐渐增长的。
You may not have success with test-first development, but accumulating test collateral gives you the freedom to refactor your code.
您可能还没有在测试第一的开发中成功过,但测试会间接给您带来重构代码的便利。
As I mentioned in the test-first development practice section of last month's installment, acceptance testing is the customer half of the XP testing picture.
在上篇文章的“测试优先的开发方法”这一部分中我已经提到了验收测试,把它作为整个XP测试中由客户负责的那一半。
Unit testing, test-first programming, and test-driven development do not have to be implemented in JUnit, any more than GUI programming must be done with Swing.
单元测试、测试先行的编程和测试驱动的开发并非都要在JUnit中实现,任何比较GUI的编程都必须用Swing来完成。
One problem you're likely to encounter in test-last as opposed to test-first development, especially with legacy code, is that there are often unadvertised dependencies and prerequisites.
对于相对于test - last开发来说的test - first开发,尤其是对于遗留代码来说,您可能会遇到一个问题是,经常存在未公开的依赖关系和先决条件。
Being a test-first kind of guy, I'll start by writing a quick JUnit test to verify that I can obtain the information I want from a sample line obtained from the CSV file, shown in Listing 4.
作为一个测试优先的工具,我首先编写一个快捷JUnit测试,确认我可以从CSV文件的一个样例行获取的我所需要的信息,如清单4所示。
You don't need to commit yourself to methodology such as agile programming, extreme programming, or test-first design to see the advantages of planning for testing when you are writing your code.
在编写代码时,不需要在测试期间为了查看预期的优势而去掌握诸如敏捷编程、极限编程或测试优先设计等方法。
His home city of Sacramento, California should see the technology's first test as part of the upgrading of its rail yard.
他的家乡加利福尼亚州萨克拉门托市应该将这项技术的首次测试视为其铁路站场升级的一部分。
Those who did well on the memory test had an increase in levels of immunoglobulin A, an antibody that's the body's first line of defense against germs.
那些在记忆测试中表现良好的人,其体内的免疫球蛋白A水平会升高。免疫球蛋白 A 是一种抗体,是人体抵御细菌的第一道防线。
The egg industry's push is the first major test of whether animal products from regenerative farms can become the next premium offering.
蛋品行业的营销是对再生农场的动物产品能否成为下一个优质品类的首个重大考验。
During this morning's test, I couldn't do the last four questions, but I did the first five.
今天早上的考试中,最后四道题我答不上来,但前五道我答了。
Mission to the moon intends to establish and test the first elements of a communications network on the moon.
登月计划旨在建立和测试月球上通信网络的第一部分。
The first station is expected to be installed off Lynmouth in Devon shortly to test the technology in a venture jointly funded by the Department of Trade and Industry and the European Union.
预计很快,由英国贸易工业部和欧盟共同出资的第一个核电站将安装在德文郡的林茅斯附近,以用于测试这项技术。
Ten years ago, when the first NEWSWEEK list based on college-level test participation was published, only three of the top 100 schools had graduating classes smaller than 100 students.
十年前,《新闻周刊》发布了第一份基于大学水平考试参与度的排行榜,当时排名前100位的学校中,只有三所学校的毕业班学生人数少于100人。
In the first, a timed task that required memorizing a list followed by a short test, subjects through a gory video on surgical procedures.
第一种是一种定时任务,要求记忆一张单子,然后进行一个简短的测试,让受试者经受一段关于外科手术的血腥视频。
The first test asked 40 volunteers to unscramble sentences.
在第一个实验中,40名志愿者被要求整理句子。
I'll give you a blood test first.
我先给你验血。
The scientists did a test with first-year college students the first time they met in class.
在大一学生第一次在课堂上见面时,科学家们针对他们做了一个测试。
You'd better test your fitness level first to decide what activities you need.
你最好先测试一下你的体能水平,以决定你需要什么样的活动。
So far, 59 satellites, including the first four test ones, have been launched from Xichang.
到目前为止,包括前四颗测试卫星在内的59颗卫星已经在西昌发射成功。
The results were similar to the first test: the participants followed suit but took significantly more candy when the thin actor took 30 pieces.
结果和第一个测试结果相似:这个瘦演员拿了30块糖,参与者们也跟着拿糖,但拿的数量显然更多。
The results were similar to the first test: the participants followed suit but took significantly more candy when the thin actor took 30 pieces.
结果和第一个测试结果相似:这个瘦演员拿了30块糖,参与者们也跟着拿糖,但拿的数量显然更多。
应用推荐