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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 925b2b082ce23edf24832b540da166dad139a56e9b5a6541f60b94e20c9efed1 |
|
MD5 | 554321353f0b53e915e6a6cbb5ba689f |
|
BLAKE2b-256 | c9a047126bae9ef8749f89c9e088389d7126e52d3b60202c904e51d9f4d9161b |
Close
Hashes for robotframework_sqless-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1af6332a97cac319d7f9252066f9281f911f29e8659c17b3fe81d89c290edf2 |
|
MD5 | 40817bb8bb088adc0af4e6f9adb8d82d |
|
BLAKE2b-256 | 539ba43b38f426cf45df7035e05b18a9e361d8863b6b539602265aab6e7a46ee |