Back to Index.
Steps for testing relational databases

Steps for testing relational databases

Steps related to working with SQL relational databases (currently supports postgresql, mysql and clickhouse). GingerSpec automatically detects if a database connection was left open at the end of each scenario and automatically tries to close it, so is not necessary to use the step "Then I close database connection" at the end.


  1. Opening and closing a connection to a database


  2. Executing statements on the database


  3. Getting data from the database


  4. Verify the database or the returned data