Skip to content

Plugin TestReporter Interface Class

mikepoz59 edited this page Jun 5, 2019 · 3 revisions
package com.tmobile.etp.codeless.plugin.reporting;

import com.tmobile.ct.codeless.core.Execution;
import com.tmobile.ct.codeless.core.Step;
import com.tmobile.ct.codeless.core.Suite;
import com.tmobile.ct.codeless.core.Test;

public abstract class TestReporter {
    // executions contain suites
    public abstract void beforeExecution(Execution execution);

    public abstract void afterExecution(Execution execution);

    // suites contain tests
    public abstract void beforeSuite(Suite suite);

    public abstract void afterSuite(Suite suite);

    // tests contain steps
    public abstract void beforeTest(Test test);

    public abstract void afterTest(Test test);

    public abstract void beforeStep(Step step);

    public abstract void afterStep(Step step);
}