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 | |||
*** 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 must be defined in an .yml file. For the above example, the following file should apply:
database_config:
dbms: sqlite
db: sqless.db
schema:
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.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c29bfded7a239e9585b4636447fc0a5cf22c8308569b65b1bdfc34de83c1819 |
|
MD5 | 9cb6303de37241c66b34b494052a7f5f |
|
BLAKE2b-256 | da17e9a7418f835216a4f9e2eba3d610df17198564d6d11c908caf0d25c73ab4 |
Close
Hashes for robotframework_sqless-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2c17d570f5591822ba891d0203ae062e70816e5245c5a88a4d7c1b980f9222b |
|
MD5 | a7b4f22fb658cac7ac402624849d6ea9 |
|
BLAKE2b-256 | 7a7fe3b0f18a0e9898e4f3e26458ad9cda6b777acfb7e1e597d851d608a70fa9 |