summaryrefslogtreecommitdiffstats
path: root/test/features/crud_database.feature
blob: f4a7a7f1c6ca86b81c36172cde8d27bfda8132f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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