https://github.com/arkadiusjonczek/pgcumber
617
Use Gherkin to write plain-text, human-readable test cases for your PostgreSQL data.
Feature: PostgreSQL user permissions
Scenario: The user admin is a superuser on the pgcumber database
Given The host "localhost"
And The port "5432"
And The database "pgcumber"
When I use username "admin"
And I use password "admin"
And I connect to the server
Then the connection is successful
And I am a database superuser
Scenario: The user johndoe is not a superuser on the pgcumber database
Given The host "localhost"
And The port "5432"
And The database "pgcumber"
When I use username "johndoe"
And I use password "johndoe"
And I connect to the server
Then the connection is successful
And I am not a database superuser
docker run \
--interactive
--tty
--rm \
--volume "$(pwd)/features:/data/pgcumber/features" \
--network host \
arkadiusjonczek/pgcumber /data/pgcumber/features
Content type
Image
Digest
sha256:dc8cbcd87…
Size
5.8 MB
Last updated
5 days ago
docker pull arkadiusjonczek/pgcumber