public void testRunStarted(Description description) throws Exception {
        if (isYaml()) {
            DumperOptions options = new DumperOptions();
            options.setPrintDiagnostics(true);
            Representer representer = new Tap13Representer(options);
            this.tapProducer = new TapProducer(representer);
        } else {
            this.tapProducer = new TapProducer();
        }
        this.testMethodsList = new LinkedList<JUnitTestData>();
    }
public void testRunStarted ( Description description ) throws Exception { if ( isYaml ( ) ) { DumperOptions options = new DumperOptions ( ) ; options . setPrintDiagnostics ( true ) ; Representer representer = new Tap13Representer ( options ) ; this . tapProducer = new TapProducer ( representer ) ; } else { this . tapProducer = new TapProducer ( ) ; } this . testMethodsList = new LinkedList < JUnitTestData > ( ) ; }
Called right before any tests from a specific class are run.

@see org.junit.runner.notification.RunListener#testRunStarted(org.junit.runner.Description)