All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.junitrunner.unitils.UnitilsRunner Maven / Gradle / Ivy

The newest version!
package com.github.junitrunner.unitils;

import java.util.List;

import org.junit.runners.model.InitializationError;

import com.github.junitrunner.JUnitPlugin;
import com.github.junitrunner.JUnitRunner;

public class UnitilsRunner extends JUnitRunner {

    public UnitilsRunner(Class testClass) throws Exception {
        super(testClass);

        registerListener(new UnitilsRunnerListener());
    }

    @Override
    protected List discoverPlugins() throws InitializationError {
        List plugins = super.discoverPlugins();
        plugins.add(new UnitilsPlugin(testClass));
        return plugins;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy