smartrics.rest.fitnesse.fixture.RunnerVariablesProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartrics-RestFixture Show documentation
Show all versions of smartrics-RestFixture Show documentation
The RestFixture is a FitNesse (http://fitnesse.org) fixture that allows
developers and/or product owners to write test fixtures for REST services
with simplicity in mind. The idea is to write tests that are self
documenting and easy to write and read, without the need to write Java code.
The fixture allows test writers to express tests as actions (any of the
allowed HTTP methods) to operate on resource URIs and express expectations on
the content of the return code, headers and body. All without writing one
single line of Java code.
And it also works as a living/executable documentation of the API.
/**
*
*/
package smartrics.rest.fitnesse.fixture;
import smartrics.rest.fitnesse.fixture.support.Variables;
/**
* The fixture provides the variables of the runner.
* This interface abstracts the fixture so that it can
* be tested easily.
*/
public interface RunnerVariablesProvider {
/**
* Get a variable store linked to the current runner environment.
*/
Variables createRunnerVariables();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy