5 Replies Latest reply on Jan 31, 2014 4:33 AM by lfryc

    The Warp runtime isn't initialized. You need to annotate a test class with @WarpTest in order to initialize Warp but annotation is present above class

    wesseloc

      Hi

       

      I get erreor IllegalStateException: The Warp runtime isn't initialized. You need to annotate a test class with @WarpTest in order to initialize Warp

       

      But the @WarpTest is annotated at the top of the class.

       

      Any ideas why this might be happining?

       

      Testing class

       

      @WarpTest

      @RunWith(Arquillian.class)

      public class HelloWorldTest {

       

       

          @Deployment

          @OverProtocol("Servlet 3.0")

          public static WebArchive create()

          {

              return ShrinkWrap.create(WebArchive.class)

                      .addClasses(HelloWorld.class, HelloWorldResource.class)

                      //beans.xml

                      .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml")

                      //web.xml

                     .setWebXML("WEB-INF/web.xml");

          }

       

       

          @ArquillianResource

          private URL deploymentURL;

       

       

          /**

           * The service client.

           */

          private HelloWorldResource helloWorldResource;

          private ResteasyClient client;

          private ResteasyWebTarget target;

       

       

          /**

           * Sets up the test environment.

           */

          @BeforeClass

          public static void setUpClass() {

       

       

              // initializes the rest easy client framework

              RegisterBuiltin.register(ResteasyProviderFactory.getInstance());

          }

       

       

          /**

           * Sets up class.

           */

          @Before

          public void setUp() {

              client = new ResteasyClientBuilder().build();

       

       

              target = client.target(deploymentURL + "resource");

       

       

              helloWorldResource = target.proxy(HelloWorldResource .class);

       

       

          }

       

       

          @After

          public void tearDown() throws Exception {

       

       

          }

       

       

          @Test

          @RunAsClient

          public void getSayHelloWarp()

          {

              Warp.initiate(new Activity() {

                  @Override

                  public void perform() {

       

       

                      // invokes the service

                      helloWorldResource.sayHello();

                  }

              }).inspect(new Inspection() {

       

       

                  private static final long serialVersionUID = 1L;

       

       

                  @ArquillianResource

                  private RestContext restContext;

       

       

                  @AfterServlet

                  public void testSayHello() {

       

       

                      // validates the service response

                      assertEquals(HttpMethod.GET, restContext.getHttpRequest().getMethod());

                      assertEquals(200, restContext.getHttpResponse().getStatusCode());

                      assertEquals("application/json", restContext.getHttpResponse().getContentType());

                      assertNotNull(restContext.getHttpResponse().getEntity());

                  }

              });

          }

      }

        • 1. Re: The Warp runtime isn't initialized. You need to annotate a test class with @WarpTest in order to initialize Warp but annotation is present above class
          lfryc

          Hey Wessel,

           

          that's interesting.

           

          Could you please add the stack-trace and an output of a test when running it with -Darquillian.debug=true ?

          • 2. Re: The Warp runtime isn't initialized. You need to annotate a test class with @WarpTest in order to initialize Warp but annotation is present above class
            wesseloc

            Hi, Thanks for the response.

             

            Thank you in advance for all the help.

             

            I have included my stack trace and debug output below

             

            StackTrace:

             

            [INFO] Error stacktraces are turned on.

            [INFO] Scanning for projects...

            [INFO]                                                                        

            [INFO] ------------------------------------------------------------------------

            [INFO] Building NewrelicInteceptor 1.0-SNAPSHOT

            [INFO] ------------------------------------------------------------------------

            [INFO]

            [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ NewrelicInteceptor ---

            [INFO] Using 'UTF-8' encoding to copy filtered resources.

            [INFO] Copying 0 resource

            [INFO]

            [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ NewrelicInteceptor ---

            [INFO] Nothing to compile - all classes are up to date

            [INFO]

            [INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ NewrelicInteceptor ---

            [INFO] Using 'UTF-8' encoding to copy filtered resources.

            [INFO] skip non existing resourceDirectory /home/wessel/workspace/NewrelicInteceptor/src/test/resources

            [INFO]

            [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ NewrelicInteceptor ---

            [INFO] Nothing to compile - all classes are up to date

            [INFO]

            [INFO] --- maven-surefire-plugin:2.13:test (default-test) @ NewrelicInteceptor ---

            [INFO] Surefire report directory: /home/wessel/workspace/NewrelicInteceptor/target/surefire-reports

             

             

            -------------------------------------------------------

            T E S T S

            -------------------------------------------------------

            Running za.co.hiddenvillage.endpoint.HelloWorldTest

            Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.759 sec <<< FAILURE!

            getSayHelloWarp(za.co.hiddenvillage.endpoint.HelloWorldTest)  Time elapsed: 0.114 sec  <<< ERROR!

            java.lang.IllegalStateException: The Warp runtime isn't initialized. You need to annotate a test class with @WarpTest in order to initialize Warp.

              at org.jboss.arquillian.warp.Warp.initiate(Warp.java:41)

              at za.co.hiddenvillage.endpoint.HelloWorldTest.getSayHelloWarp(HelloWorldTest.java:98)

             

             

             

             

            Results :

             

             

            Tests in error:

              HelloWorldTest.getSayHelloWarp:98 » IllegalState The Warp runtime isn't initia...

             

             

            Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

             

             

            [INFO] ------------------------------------------------------------------------

            [INFO] BUILD FAILURE

            [INFO] ------------------------------------------------------------------------

            [INFO] Total time: 5.961s

            [INFO] Finished at: Wed Jan 22 09:25:09 SAST 2014

            [INFO] Final Memory: 16M/215M

            [INFO] ------------------------------------------------------------------------

            [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.13:test (default-test) on project NewrelicInteceptor: There are test failures.

            [ERROR]

            [ERROR] Please refer to /home/wessel/workspace/NewrelicInteceptor/target/surefire-reports for the individual test results.

            [ERROR] -> [Help 1]

            org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.13:test (default-test) on project NewrelicInteceptor: There are test failures.

             

             

             

            Please refer to /home/wessel/workspace/NewrelicInteceptor/target/surefire-reports for the individual test results.

              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)

              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

              at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

              at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)

              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

              at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)

              at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)

              at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:606)

              at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

              at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)

              at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

              at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

            Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

             

             

            Please refer to /home/wessel/workspace/NewrelicInteceptor/target/surefire-reports for the individual test results.

              at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82)

              at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:151)

              at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:721)

              at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:620)

              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)

              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)

              ... 19 more

            [ERROR]

            [ERROR] Re-run Maven using the -X switch to enable full debug logging.

            [ERROR]

            [ERROR] For more information about the errors and possible solutions, please read the following articles:

            [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

             

            Surefire report:

             

            -------------------------------------------------------------------------------

            Test set: za.co.hiddenvillage.endpoint.HelloWorldTest

            -------------------------------------------------------------------------------

            Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.759 sec <<< FAILURE!

            getSayHelloWarp(za.co.hiddenvillage.endpoint.HelloWorldTest)  Time elapsed: 0.114 sec  <<< ERROR!

            java.lang.IllegalStateException: The Warp runtime isn't initialized. You need to annotate a test class with @WarpTest in order to initialize Warp.

                    at org.jboss.arquillian.warp.Warp.initiate(Warp.java:41)

                    at za.co.hiddenvillage.endpoint.HelloWorldTest.getSayHelloWarp(HelloWorldTest.java:98)

             

            Debug:

            (E) ManagerProcessing

              (O) LoadableExtensionLoader.load

              (E) ServiceLoader

            (E) ManagerStarted

              (O) ConfigurationRegistrar.loadConfiguration

              (E) ArquillianDescriptor

              (O) ContainerRegistryCreator.createRegistry

              (E) ContainerRegistry

              (O) ProtocolRegistryCreator.createRegistry

              (E) ProtocolRegistry

            (E) BeforeSuite

              (I) TestContextHandler.createSuiteContext

              (O) ContainerEventController.execute

              (E) ContainerMultiControlEvent

              (O) ContainerLifecycleController.setupContainers

              (E) SetupContainer

              (I) ContainerDeploymentContextHandler.createContainerContext

              (O) ContainerLifecycleController.setupContainer

              (E) BeforeSetup

              (E) Container

              (E) AfterSetup

              (O) ClientDeployerCreator.createClientSideDeployer

              (E) Deployer

              (O) ClientContainerControllerCreator.createClientSideContainerController

              (E) ContainerController

              (E) ContainerMultiControlEvent

              (O) ContainerLifecycleController.startSuiteContainers

              (E) StartContainer

              (I) ContainerDeploymentContextHandler.createContainerContext

              (O) ContainerLifecycleController.startContainer

              (E) BeforeStart

              (E) ManagementClient

              (E) ArchiveDeployer

              (E) InitialContext

              (E) AfterStart

            (E) BeforeClass

              (I) TestContextHandler.createSuiteContext

              (I) TestContextHandler.createClassContext

              (E) TestClass

              (O) ContainerRestarter.restart

              (O) ContainerEventController.execute

              (E) ContainerMultiControlEvent

              (O) ContainerLifecycleController.startClassContainers

              (E) Event

              (O) DeploymentGenerator.generateDeployment

              (E) DeploymentScenario

              (E) ContainerMultiControlEvent

              (O) ContainerDeployController.deployManaged

              (E) DeployDeployment

              (I) ContainerDeploymentContextHandler.createContainerContext

              (I) ContainerDeploymentContextHandler.createDeploymentContext

              (I) DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy

              (O) ContainerDeployController.deploy

              (E) DeploymentDescription

              (E) Deployment

              (E) BeforeDeploy

              (O) ServerSetupObserver.handleBeforeDeployment

              (O) ArchiveDeploymentExporter.callback

              (O) ArquillianServiceDeployer.doServiceDeploy

              (O) ArchiveDeploymentToolingExporter.export

              (E) ProtocolMetaData

              (E) AfterDeploy

              (O) ClientBeforeAfterLifecycleEventExecuter.on

            (E) Before

              (I) TestContextHandler.createSuiteContext

              (I) TestContextHandler.createClassContext

              (E) TestClass

              (I) TestContextHandler.createTestContext

              (I) ContainerEventController.createBeforeContext

              (O) TestInstanceEnricher.enrich

              (E) BeforeEnrichment

              (E) AfterEnrichment

              (O) ClientBeforeAfterLifecycleEventExecuter.on

            (E) Test

              (I) TestContextHandler.createSuiteContext

              (I) TestContextHandler.createClassContext

              (E) TestClass

              (I) TestContextHandler.createTestContext

              (I) ContainerEventController.createTestContext

              (O) ClientTestExecuter.execute

              (E) ExecutionEvent

              (O) LocalTestExecuter.execute

              (E) TestResult

            (E) After

              (I) TestContextHandler.createSuiteContext

              (I) TestContextHandler.createClassContext

              (E) TestClass

              (I) TestContextHandler.createTestContext

              (I) CreationalContextDestroyer.destory

              (I) ContainerEventController.createAfterContext

              (O) ClientBeforeAfterLifecycleEventExecuter.on

             

             

            java.lang.IllegalStateException: The Warp runtime isn't initialized. You need to annotate a test class with @WarpTest in order to initialize Warp.

              at org.jboss.arquillian.warp.Warp.initiate(Warp.java:41)

              at za.co.hiddenvillage.endpoint.HelloWorldTest.getSayHelloWarp(HelloWorldTest.java:98)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)

              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)

              at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:270)

              at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

              at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

              at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

              at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

              at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)

              at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:53)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

              at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

              at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)

              at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

              at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:102)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

              at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:84)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

              at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:65)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

              at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

              at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)

              at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263)

              at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)

              at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)

              at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)

              at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)

              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)

              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)

              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)

              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)

              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)

              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)

              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)

              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)

              at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)

              at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)

              at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)

              at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)

              at org.junit.runners.ParentRunner.run(ParentRunner.java:300)

              at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)

              at org.junit.runner.JUnitCore.run(JUnitCore.java:157)

              at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74)

              at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:202)

              at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:65)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

             

             

            (E) AfterClass

              (I) TestContextHandler.createSuiteContext

              (I) TestContextHandler.createClassContext

              (E) TestClass

              (O) ClientBeforeAfterLifecycleEventExecuter.on

              (O) ServerSetupObserver.afterTestClass

              (O) ContainerEventController.execute

              (E) ContainerMultiControlEvent

              (O) ContainerDeployController.undeployManaged

              (E) UnDeployDeployment

              (I) ContainerDeploymentContextHandler.createContainerContext

              (I) ContainerDeploymentContextHandler.createDeploymentContext

              (O) ContainerDeployController.undeploy

              (E) BeforeUnDeploy

              (E) AfterUnDeploy

              (O) ServerSetupObserver.handleAfterUndeploy

              (E) ContainerMultiControlEvent

              (O) ContainerLifecycleController.stopManualContainers

              (E) ContainerMultiControlEvent

              (O) ContainerLifecycleController.stopClassContainers

            (E) AfterSuite

              (I) TestContextHandler.createSuiteContext

              (O) ContainerEventController.execute

              (E) ContainerMultiControlEvent

              (O) ContainerLifecycleController.stopSuiteContainers

              (E) StopContainer

              (I) ContainerDeploymentContextHandler.createContainerContext

              (O) ContainerLifecycleController.stopContainer

              (E) BeforeStop

              (O) ArquillianServiceDeployer.undeploy

              (E) AfterStop

            (E) ManagerStopping

            • 3. Re: Re: The Warp runtime isn't initialized. You need to annotate a test class with @WarpTest in order to initialize Warp but annotation is present above class
              lfryc

              Wessel,

               

              could you check whether you have arquillian-warp-impl on classpath?

               

              The problem is that Arquillian doesn't even call an observer method injectWarpRuntime:

              https://github.com/arquillian/arquillian-extension-warp/blob/master/impl/src/main/java/org/jboss/arquillian/warp/WarpRuntimeInitializer.java#L41

               

              This should be logged in Arquillian debug log under (E) BeforeClass as: (O) WarpRuntimeInitializer.injectWarpRuntime, but it isn't.

              It means that Arquillian either didn't registered Warp's observer at all or simply it does not call the observer method.

              • 4. Re: The Warp runtime isn't initialized. You need to annotate a test class with @WarpTest in order to initialize Warp but annotation is present above class
                wesseloc

                Thank you that was what was missing. Missed that it was needed in the documentation.

                 

                Thank you for all the help!

                 

                Kind Regards

                • 5. Re: The Warp runtime isn't initialized. You need to annotate a test class with @WarpTest in order to initialize Warp but annotation is present above class
                  lfryc

                  Great, glad to help.

                   

                  If the documentation isn't clear enough, we should correct it. :-)