Huge News!Announcing our $40M Series B led by Abstract Ventures.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
  • Socket score

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc