Class SlingRemoteTestRunner

  • All Implemented Interfaces:
    org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

    public class SlingRemoteTestRunner
    extends org.junit.runners.ParentRunner<org.apache.sling.junit.remote.testrunner.SlingRemoteTest>
    JUnit TestRunner that talks to a remote Sling JUnit test servlet. Using this test runner lets a test class discover tests that the JUnit servlet can execute, execute them and report results exactly as if the tests ran locally.
    • Constructor Summary

      Constructors 
      Constructor Description
      SlingRemoteTestRunner​(java.lang.Class<?> testClass)  
    • Method Summary

      • Methods inherited from class org.junit.runners.ParentRunner

        filter, getDescription, getTestClass, run, setScheduler, sort
      • Methods inherited from class org.junit.runner.Runner

        testCount
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SlingRemoteTestRunner

        public SlingRemoteTestRunner​(java.lang.Class<?> testClass)
                              throws org.junit.runners.model.InitializationError
        Throws:
        org.junit.runners.model.InitializationError