robotframework-sqless is a SQL abstraction library for Robot Framework
Project description
Robot Framework - SQLess
robotframework-sqless
is a SQL abstraction library for Robot Framework
Usage
pip install robotframework-sqless
Example testcase
*** Settings *** | ||||
Library | SQLess | schema.yml | db_config.yml | |
*** Test Cases *** | ||||
Get Users By Filter | ||||
${users} | Get By Filter | Users | username=TestUser | |
Length Should Be | ${users} | 1 |
The example presumes there is a database with a user table and at least a column username
.
Schema definition
The database schema and the database configuration must be defined in separate .yml files. For the above example, the following files should apply:
db_config.yml
dbms: sqlite
db: sqless.db
schema.yml
users:
tablename: user
fields:
id: integer
username: char
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for robotframework-sqless-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0133dba75665a9f5f0347a04483ce8103d1c18f6c784d4635d13809885c178b |
|
MD5 | fd5318abcf1f98abfc2c1644dcb974a9 |
|
BLAKE2b-256 | ed38811c6bf25800dcd28612a481e4e07a444251ac5ae1689eaac175b87a71cd |
Close
Hashes for robotframework_sqless-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e11893391dac82b4b665c09ab95de101ef7ab93dcc800fa3a511c272d814a3ac |
|
MD5 | 58364a023b03caa5041f88bc131bd894 |
|
BLAKE2b-256 | 6fd7b7e2216c760281a7fa60eeaa41fd6609c8d00fa6cba26dd46565553b2eb9 |