The following sample code first checks if an entry is made to the log file after the test case completes.
接下来的范例代码首先会检查测试用例完成以后日志文件是否做了一个条目。
Therefore, before a test case run, your must clean or delete the log file to ensure that the log entries belong only to the most recently run test case.
因此,在测试用例运行之前,您必须删除或者精简日志文件,以确保日志条目只属于最近所运行的测试用例。
The image below illustrates a piece of an SDD file that carries out a test case.
下图显示了执行测试用例的SDD文件的片断。
应用推荐