This paper puts forward a state-based incremental class test strategy on the basis of the FREE state test model.
本文在FREE状态测试模型的基础上,提出了一种基于状态的增量式类测试策略。
Class is the basic unit in object-oriented test. Generally, class test can be divided into the testing way based on data flow and the testing way based on object states.
类是面向对象测试的基本单元,类测试一般分为基于数据流的测试方法和基于对象状态的测试方法。
Finally, author put the test method forward to a class test use to withdraw money automatically in applied software the machine (ATM) imitate system, and describe the detail of test process.
最后,作者将该文提出的测试方法,应用于一个应用软件自动取款机(atm)模拟系统中at M类的类测试,讲述了具体的测试实施过程。
Thee assessment includes assignments (essay, report, group work, presentation, in-class test, etc. ) and final examination. The weightage for each assessment components vary per course/subject.
娬评估包括平时作业(论文,报告,小组作业,演讲,课堂小测等)和期末考试。每门课的评估分布比重是不一样的。
It seems to me that a compromise would be receiving the exam questions a day or two in advance, and then doing the actual test in class the ticking clock overhead.
在我看来,一个折衷的办法是提前一两天收到考题,然后在课堂上计时做实际的测试。
If you don't make it to class, contact your TA, your recitation instructor, and you can take makeup within a week of the time of the original test.
如果你不能来上课,联系你们的助教、背诵课的老师,你可以在测试后那个礼拜内找时间补回来。
The teacher said that she would test us on what we've learnt in the class today.
老师说她会考察我们今天在课堂上学到的东西。
The consequences of getting caught are serious and may include a "0" on a test or assignment, an "F" in the class, suspension or dismissal from school and a ruined reputation.
被抓的后果是严重的,可能包括考试或作业得“0”分,课堂表现得“F”,停学或开除学籍,名誉受损。
Any all means, if you are scheduled to attend class at 11:00, please take the test at 11:00.
无论如何,如果你被安排在11点上课,请在11点参加考试。
Anyway on the test paper, I had written down what Mr. Jackson said in class.
不管怎样,在试卷上,我已经把杰克逊先生在课堂上说的话记下来了。
The scientists did a test with first-year college students the first time they met in class.
在大一学生第一次在课堂上见面时,科学家们针对他们做了一个测试。
The test class contains two tests: one to authenticate a valid user and another to authenticate an invalid user.
这个测试类包含两个测试:一个是鉴定一个无效用户,另一个是鉴定一个有效的用户。
Doing so provides a design for the class that the test will exercise, allowing you to focus on small chunks of code.
这样就为要测试的类提供了一种设计,这种设计使您每一时刻都只需集中考虑一小块代码。
Now that I have my test class defined I can start developing (and testing) the application.
定义了测试类后,就可以开始开发(并测试)这个应用程序了。
By designing test cases based on class descriptions, one is able to test the system at a deeper level.
通过设计基于类描述的测试用例,一个人能够在较深的级别上测试系统。
As long as all the test cases pass, I add the new unit test class to my unit test automation library, which gets run on every build.
只要通过所有的测试用例,我就将向单元测试自动库添加新的单元测试类,在每次构建时运行。
The test class represents the usual unit of test execution that occurs while you are developing, and so we should consider carefully how many tests to include in any one class.
测试类表示在开发时发生的测试执行的常见单元,所以我们应仔细考虑任何一个类中包括了多少个测试。
For example, it might take five times more work to write test cases for a given class than to test the class once manually.
例如,在对给定类编写测试案例所耗费的工作量可能比手工地对该类进行一次测试所耗费的工作量多五倍以上。
The execution model is a bit strange: The test class is reinstantiated every time a test method is executed.
执行模型有点奇怪:每次执行一个测试方法的时候,都要重新实例化测试类。
Finally, the two lines at the bottom allow you to run the tests within this test class by simply running this module.
最后的两行负责在这个测试类内部运行测试,方法是直接运行该模块即可。
Listing 4 shows the test class, again showing the main sections of the test.
清单4显示了测试类,还显示了测试的主要部分。
For instance, some samples I've seen have adopted a convention where the test class USES the same names for its test methods as the class being tested does.
例如,我介绍的一些例子采用的约定是,测试类对其测试方法使用与被测试的类相同的名称。
Just making a call to the predefined RUN_ALL_TESTS macro does the trick, as opposed to creating or deriving a separate runner class for test execution.
只需调用预定义的run_all_tests宏,而不需要通过创建或驱动单独的运行器类来执行测试。
Listing 1 illustrates that a TestSuite is composed of class instances of Test classes.
清单1表明TestSuite是由test类的类实例组成的。
Listing 6 a test class for a special Facebook user.
清单6一个特殊的Facebook用户的测试类。
You can re-execute the tests selectively from the JUnit view; right-click the class or test, then select Run.
您可以从JUnit视图选择性地重新执行测试;右键单击类或测试,然后选择run。
Listing 12 a test class for a polymorphic Facebook user record.
清单12一条多态Facebook用户记录的测试类。
JUnit provides a TestRunner class to execute test cases.
JUnit提供了一个TestRunner类来执行测试用例。
The above listing is a test class which performs basic tests on the feedparser module.
上述清单是实现feedparser模块基本测试功能的测试类。
The above listing is a test class which performs basic tests on the feedparser module.
上述清单是实现feedparser模块基本测试功能的测试类。
应用推荐