Unit Testing ATG Classes Your First ATGDustCase

1. Make sure you have all the required Jar Files to execute ATG
   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

Popular posts from this blog

BCC site status inaccessible Agent Production in error state

Weblogic Issues during EAR Deployment Exception in AppMerge flows progression

DUseSunHttpHandler=true weblogic.net.http.SOAPHttpsURLConnection Weblogic/Java HttpHandler issues