30 lines
1,022 B
Gherkin
30 lines
1,022 B
Gherkin
Feature: manipulate databases:
|
|
create, drop, connect, disconnect
|
|
|
|
Scenario: create and drop temporary database
|
|
When we create database
|
|
then we see database created
|
|
when we drop database
|
|
then we confirm the destructive warning
|
|
then we see database dropped
|
|
when we connect to dbserver
|
|
then we see database connected
|
|
|
|
Scenario: connect and disconnect from test database
|
|
When we connect to test database
|
|
then we see database connected
|
|
when we connect to dbserver
|
|
then we see database connected
|
|
|
|
Scenario: connect and disconnect from quoted test database
|
|
When we connect to quoted test database
|
|
then we see database connected
|
|
|
|
Scenario: create and drop default database
|
|
When we create database
|
|
then we see database created
|
|
when we connect to tmp database
|
|
then we see database connected
|
|
when we drop database
|
|
then we confirm the destructive warning
|
|
then we see database dropped and no default database
|