robotframework-dblibrary

A database testing library for the Robot Framework

APACHE-2.0 License

Stars
12
Committers
11

Database library for Robot Framework

Introduction

The Robot Framework Database Library is a library which provides common functionality for testing database contents.

  • More information about this library can be found in the
    Keyword Documentation.
  • For keyword completion in RIDE you can download this
    Library Specs
    and place it in your PYTHONPATH.
    Usage

If you are using the robotframework-maven-plugin you can use this library by adding the following dependency to your pom.xml:

<dependency>
    <groupId>com.github.marketsquare</groupId>
    <artifactId>robotframework-dblibrary</artifactId>
    <version>3.3.0</version>
</dependency>

With Gradle, library can be use by importing it as a dependency in build.gradle:

runtime('com.github.marketsquare:robotframework-dblibrary:3.3.0')

Library import in Robot tests can be done with:

*** Settings ***
Library DatabaseLibrary

Please note that at the library itself there's no JDBC drivers included, so also DB-specific driver needs to be added as a dependency. Test build e.g. uses H2 driver, and it's inclusion can be seen from pom-file.

Example

Usage examples can be found at Tests-folder for local usage. Remote usage is similar, just importing library with Remote library.

Package Rankings
Top 39.77% on Repo1.maven.org
Related Projects