Unit Testing ATG Classes Your First ATGDustCase
Dust.
2. Your test class must extend the class ATGDustCase
(package ->atg.dust.ATGDustCase).eg:
package x.x.x.x;(->package structure where your test class
resides)
import atg.test.AtgDustCase;
public class FirstATGDustCaseTest extends AtgDustCase {
}
3. Override the two methods setup() and tearDown() in your test
class.
eg: protected void setUp() throws Exception {
}
protected void tearDown() throws Exception {
}
4. You have to write minimum one test method and it must prefix the
word 'test'(eg: actual method ->Agent(),test method->testAgent
()).
See basic steps to execute ATGDustCase for a Droplet
Comments
Post a Comment