🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

robotframework-sqless

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

robotframework-sqless

robotframework-sqless is a SQL abstraction library for Robot Framework

0.1.0
PyPI
Maintainers
1

Robot Tests

Robot Framework - SQLess

robotframework-sqless is a SQL abstraction library for Robot Framework

Usage

pip install robotframework-sqless

Example testcase

*** Settings ***
LibrarySQLessschema.ymldb_config.yml
*** Test Cases ***
Get Users By Filter
${users}Get By FilterUsersusername=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

Keywords

robotframework testing test automation http client sql orm postgres postgresql mysql sqlite

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts