1
0
mirror of https://github.com/dbcli/pgcli synced 2024-05-31 01:17:54 +00:00
pgcli/tests/features/iocommands.feature
2017-05-02 20:20:13 +02:00

18 lines
507 B
Gherkin

Feature: I/O commands
Scenario: edit sql in file with external editor
When we start external editor providing a file name
and we type sql in the editor
and we exit the editor
then we see dbcli prompt
and we see the sql in prompt
Scenario: tee output from query
When we tee output
and we wait for prompt
and we query "select 123456"
and we wait for prompt
and we notee output
and we wait for prompt
then we see 123456 in tee output