The test cases are written first, and implementation proceeds by writing code to satisfy each test case.
将首先编写测试用例,然后将通过编写满足各个测试用例的代码来进行实现。
Once you've written the first test, you can often develop more tests very quickly from the same framework. This is where fixtures come in handy.
一旦编写了第一个测试,您就能够经常快速地从同一个框架下开发更多的测试。
When tests are written often (note, I'm not implying first), developers have the tendency to write uncomplicated code because complicated code is hard to test.
在编写测试时(注意,我没有暗示是第一次),开发人员通常倾向于编写不太复杂的代码,因为复杂的代码难以测试。
TDD is a style of coding where the desired behavior or specification is written first in the form of an executable example (typically as a JUnit test case).
TDD是一种编码风格,它先以可执行示例(通常是JUnit测试用例)的形式编写所需的行为或规范。
The first section of the test case is shown below. This is a simple JUnit test written in groovy.
下面将介绍测试用例的第一部分。
In test-driven development automated tests should be written in the first place, in comparison to manual tests performed by team members.
在测试驱动开发中,跟团队成员执行的手动测试相比,自动测试的编写应该放在首要位置。
For six or eight hours spread over the next few weeks I struggled to get the first test written and running.
几周的时间里,我总共花了6到8个小时来编写第一个测试并使之运行。
Mr Greenberg has quizzed thousands of people, first giving them a written test to analyse their personalities and then finding out what types of music they prefer.
格林伯格先生调查研究了数千人,首先给他们一个书面测试来分析他们的性格,然后找出他们喜欢什么类型的音乐。
Well, you should sit the written test first.
这是一项很准确的神经系统测试,请先坐。
To get your first license, you take a written test and drive around the block with an examiner.
要取得你的第一个驾照,你得参加一个笔试,还得和一个主考官一起驾车绕过障碍物。
Year 2008, it was the first time when I came to Leaning to take the Summer Course in Xuhui Campus. In the following year, I passed Three-star Oral Test, Three-star Written Test, Four-Star Oral Test.
我是在2008年暑假第一次到乐宁来进行学习的,我参加的是徐家汇校区的暑期课程,通过在乐宁一年多的学习我很顺利的通过了三星口语,三星笔试和四星口语考试。
There were three versions of MUD written between 1978 and 1980: the first was a simple test of the technology;
在1978年至1980年间,共有三个版本的MUD:第一版是简单的技术测试;
There were three versions of MUD written between 1978 and 1980: the first was a simple test of the technology;
在1978年至1980年间,共有三个版本的MUD:第一版是简单的技术测试;
应用推荐