Interface TestResource

    • Method Detail

      • startUp

        void startUp()
              throws Exception
        Start up the test resource.

        The implementation of this method should be idempotent.

        Throws:
        Exception - if anything wrong when starting the resource
      • tearDown

        void tearDown()
               throws Exception
        Tear down the test resource.

        The test resource should be able to tear down even without a startup (could be a no-op).

        Throws:
        Exception - if anything wrong when tearing the resource down