diff options
author | Iryna Cherniavska <i.chernyavska@gmail.com> | 2015-07-28 10:21:43 -0700 |
---|---|---|
committer | Iryna Cherniavska <i.chernyavska@gmail.com> | 2015-07-28 10:21:43 -0700 |
commit | 22670a83937c459371ef7f1fbdab70ea97721ba4 (patch) | |
tree | bda863e1085db766c061218d3458121dbbd2f17c /tests/features/crud_database.feature | |
parent | 49036047047cb96d4d8b658a95cc16250c92d3be (diff) |
CRUD tests for database and table, select and update on table.
Diffstat (limited to 'tests/features/crud_database.feature')
-rw-r--r-- | tests/features/crud_database.feature | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/features/crud_database.feature b/tests/features/crud_database.feature new file mode 100644 index 00000000..6657e391 --- /dev/null +++ b/tests/features/crud_database.feature @@ -0,0 +1,24 @@ +Feature: manipulate databases: + create, drop, connect, disconnect + + Scenario: create and drop temporary database + Given we have pgcli installed + when we run pgcli + and we wait for prompt + and we create database + then we see database created + when we drop database + then we see database dropped + when we send "ctrl + d" + then pgcli exits + + Scenario: connect and disconnect from test database + Given we have pgcli installed + when we run pgcli + and we wait for prompt + and we connect to test database + then we see database connected + when we connect to postgres + then we see database connected + when we send "ctrl + d" + then pgcli exits |