I don't need to do anything else to my test case.
对于我的测试用例,我什么都不需要做。
My test case forces me to think through the design of the API.
测试用例促使我全面地思考API的设计。
So, in other words, to use my strategy, simply write one test case class, and then always deploy to both the client and the server.
所以,换句话说,要使用我的策略,只需编写一个测试案例类,然后总是将其部署到客户机和服务器就可以了。
So the code is "clean and green," according to my simple unit test case — but that's meaningful only if I'm really testing the code thoroughly.
根据前面简单的单元测试用例,这块代码是“干净,绿色”的——但只有在我真正彻底地测试这块代码的情况下这才有意义。
In my particular implementation, the EJBServletTestCase test case class has to be in two places -- on the client and server side -- as it is run from two places.
在我具体的实现中,EJBServletTestCase测试案例类必须存在于两个地方 ?在客户机和服务器端上 ?
The REFID column is a sequential number generated my the JMeter test case when creating the tasks.
refid列是一串序列号,是在创建任务时JMeter测试案例所生成的。
Because I was creating an internal DSL, which in my case is a Ruby API, the creation of the DSL could be purely test driven.
由于我创建的是一个内部DSL,它在我这个例子里是一个RubyAPI,这套dsl的创建完全可以遵循测试驱动的实践。
Naturally, I also write a quick test case to verify my check actually averts NullPointerExceptions, as shown in Listing 4.
很自然,我也会编写一个快速测试用例来验证我的检验是否真能避免NullPointerException,如清单4所示。
One of my favorite test cases is NetPBM, which is huge and full of interesting features and makes a good test case.
我喜欢的一个测试用例是NetPBM,它很庞大并且具有非常丰富的有趣特性,因此是一个很好的测试用例。
In this case, if there is nothing underneath "My Portal" besides our test hierarchy, the first page is the home page.
在本例中,如果除了我们的测试层次结构外,“My Portal”下面没有任何其他内容,则第一个页面就是主页。
In my case, I used the file in listing 4 to seed the database before running my component tests and then used the same file to indicate which data to delete from the database upon test completion.
在本文的例子中,将在运行组件测试前使用清单4中的文件在数据库中播种,然后使用相同的文件指示测试完成时从数据库中删除哪些数据。
In my case, I'd like the database to have a clean set of data before each logical test collection is run.
在本文的示例中,在运行每个逻辑测试集合前,我希望数据库具有一组干净的数据。
My task is clear. I need to make the test case pass.
显而易见,我的任务就是使测试通过。
The former represents the most common use of smartphones (for my worst-case test of the iPhone 4, I had it play Web radio nonstop), while the latter taxes the battery more than anything else.
前者是智能机上最频繁的应用(我个人在iPhone4上最糟糕一次让它不间断地播放了网络电台),后者则比其他任何程序都耗费电池。
In this case, I cut a section through my master model and worked it over in Photoshop to test out some ideas.
在这个案例中,我在我的主模型上切出一个切面,然后在Photoshop中操作,以此尝试一些想法。
My guess is, initially, people just wanted to make computer do what it is best for - repetitive work (in this case - testing) and have code test the application, not humans.
我想,刚开始人们也就只是希望发挥计算机的特点,让它完成重复性的工作(这里是指测试),而不再需要人去进行测试。
My guess is, initially, people just wanted to make computer do what it is best for - repetitive work (in this case - testing) and have code test the application, not humans.
我想,刚开始人们也就只是希望发挥计算机的特点,让它完成重复性的工作(这里是指测试),而不再需要人去进行测试。
应用推荐