sft.decorators.Decorator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SimpleFunctionalTest Show documentation
Show all versions of SimpleFunctionalTest Show documentation
A JUnit extension to easily adopt functional testing and acceptance testing
/*******************************************************************************
* Copyright (c) 2013, 2014 Sylvain Lézier.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Sylvain Lézier - initial implementation
*******************************************************************************/
package sft.decorators;
import sft.DefaultConfiguration;
import sft.result.FixtureCallResult;
import sft.result.UseCaseResult;
import java.util.List;
public interface Decorator {
Decorator withParameters(String... parameters);
Decorator withConfiguration(DefaultConfiguration configuration);
public String applyOnUseCase(UseCaseResult useCaseResult, String result);
String applyOnScenario(String result);
String applyOnFixtures(List instructions, List fixtureCallResuts);
boolean comply(Decorator other);
}