public class DBBaseStepDefinition extends Object
| Constructor and Description |
|---|
DBBaseStepDefinition() |
| Modifier and Type | Method and Description |
|---|---|
void |
before(io.cucumber.java.Scenario scenario)
Before.
|
void |
insertSql(String dummy,
String resource,
List<String> sqls)
Insert sql.
|
void |
verify(String dummy1,
String dummy,
String resource,
List<String> selectSql)
Verify.
|
public void before(io.cucumber.java.Scenario scenario)
scenario - the scenario@Given(value="perform a (.*) DDL sql on (.*)$") @Given(value="update the given sql for (.*) on (.*)$") @Given(value="delete the given sql for (.*) on (.*)$") @Given(value="insert the given sql for (.*) on (.*)$") public void insertSql(String dummy, String resource, List<String> sqls) throws Exception
dummy - the dummyresource - the resourcesqls - the sqlsException - the exception@Given(value="verify (.*) with the given sql for (.*) on (.*)$") public void verify(String dummy1, String dummy, String resource, List<String> selectSql) throws Exception
dummy1 - the dummy 1dummy - the dummyresource - the resourceselectSql - the select sqlException - the exceptionCopyright © 2021. All rights reserved.