package com.xdd;

import org.junit.runner.Description;
import org.junit.runner.Runner;
import org.junit.runner.notification.RunNotifier;

public class SpecRunner extends Runner {

    private Class testClass;

    public SpecRunner(Class testClass) {
        this.testClass = testClass;
    }

    @Override
    public Description getDescription() {
        return Description.createSuiteDescription(testClass);
    }

    @Override
    public void run(RunNotifier notifier) {

    }
}

package com.xdd;

import org.junit.runners.BlockJUnit4ClassRunner;
import org.junit.runners.model.InitializationError;

public class SpecRunner extends BlockJUnit4ClassRunner {

    public SpecRunner(Class<?> klass) throws InitializationError {
        super(klass);
    }
}

--- 
+++ 
@@ -1,11 +1,24 @@
 package com.xdd;
 
-import org.junit.runners.BlockJUnit4ClassRunner;
-import org.junit.runners.model.InitializationError;
+import org.junit.runner.Description;
+import org.junit.runner.Runner;
+import org.junit.runner.notification.RunNotifier;
 
-public class SpecRunner extends BlockJUnit4ClassRunner {
+public class SpecRunner extends Runner {
 
-    public SpecRunner(Class<?> klass) throws InitializationError {
-        super(klass);
+    private Class testClass;
+
+    public SpecRunner(Class testClass) {
+        this.testClass = testClass;
+    }
+
+    @Override
+    public Description getDescription() {
+        return Description.createSuiteDescription(testClass);
+    }
+
+    @Override
+    public void run(RunNotifier notifier) {
+
     }
 }
Move SpecRunnner to extend Runner
