Here is the generated test case class for our simple example.
下面是我们的简单示例所生成的测试用例类。
Make an inner class in the parent class, which is a test case.
在父类中建立一个内部类,这个内部类是个测试用例。
Every test case must extend from this class.
每个测试用例都必须是从这个类扩展而来。
At the heart of every jwebunit test case is net.sourceforge.jwebunit.WebTestCase class, which represents a test case.
每个jwebunit测试的核心都是net . sourceforge . jwebunit . webtestcase类,它代表测试用例。
For each test case. basically you need to extend your test class from TestCase.
对于每个案例来说,您都需要从TestCase扩展您的测试类。
Without a universal test case, developers tend to test only the class they have modified.
没有一个通用的测试环境的话,开发者将只能测试他们修改过的类。
Without a universal test case, developers tend to test only the class they have modified.
没有一个通用的测试环境的话,开发者将只能测试他们修改过的类。
应用推荐