01: /* TestStep.java
02: *
03: * DDSteps - Data Driven JUnit Test Steps
04: * Copyright (C) 2005 Jayway AB
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License version 2.1 as published by the Free Software Foundation.
09: *
10: * This library is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13: * Lesser General Public License for more details.
14: *
15: * You should have received a copy of the GNU Lesser General Public
16: * License along with this library; if not, visit
17: * http://www.opensource.org/licenses/lgpl-license.php
18: */
19: package org.ddsteps.step;
20:
21: /**
22: * The core interface for all test steps.
23: *
24: * @author Adam
25: * @version $Id: TestStep.java,v 1.1 2005/12/03 12:51:41 adamskogman Exp $
26: */
27: public interface TestStep {
28:
29: /**
30: * Runs this test step.
31: *
32: * @throws Exception Aloow the step to throw anything. JUnit will catch and handle it.
33: */
34: public void runStep() throws Exception;
35:
36: }
|