Skip to main content

A testing library for Robot Framework that utilizes the Sysrepo tool internally

Project description

Sysrepo Robot Framework Library

DevelopmentDocumentationSupportContributeContributorsLicensing

The goal of this project is to provide a way to use sysrepo with the Robot Framework.

About this component

This repository contains a Robot Framework Python library wrapper around the sysrepo-python sysrepo bindings.

The examples directory contains a simple example test that connects to sysrepo and does some basic validity checks.

Development

The following additional dependencies are required to work on the library:

  • libyang
  • sysrepo
  • xmltodict
  • pip
  • setuptools
  • wheel
  • build

Installation

The recommended installation method is using pip:

$ python3 -m pip install robotframework-sysrepolibrary

With recent versions of pip it is also possible to install directly from the GitHub repository. To install from the latest source from the master branch, use the following command:

$ python3 -m pip install git+https://github.com/telekom/sysrepo-library-robot-framework.git

Build

First clone the repository:

$ git clone https://github.com/telekom/sysrepo-library-robot-framework

To build the library run the following commands:

$ python3 -m venv sysrepolibrary-venv
$ source sysrepolibrary-venv/bin/activate
$ python3 -m pip install --upgrade pip setuptools wheel build

To install it:

$ python3 -m pip install .

To install the additional dependencies as well (generating the documentation and testing):

$ python3 -m pip install .[docs,tests]

Code of Conduct

This project has adopted the Contributor Covenant in version 2.0 as our code of conduct. Please see the details in our CODE_OF_CONDUCT.md. All contributors must abide by the code of conduct.

Working Language

We decided to apply English as the primary project language.

Consequently, all content will be made available primarily in English. We also ask all interested people to use English as language to create issues, in their code (comments, documentation etc.) and when you send requests to us. The application itself and all end-user facing content will be made available in other languages as needed.

Documentation

The documentation for the Sysrepo Robot Framework Library can be generated using the Sphinx documentation generator tool. The documentation sources are located in docs/source

To build the documentation as HTML files run while in the root directory:

$ sphinx-build -b html docs/source docs/build/html

The -b option selects a builder in this example it's HTML.

To quickly generate the docs use the scripts in the docs/ directory. Execute make without an argument while in the directory to see which targets are available.

Example for HTML:

docs/$ make html

Support and Feedback

The following channels are available for discussions, feedback, and support requests:

Type Channel
Issues
Other Requests

How to Contribute

Contribution and feedback is encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines. By participating in this project, you agree to abide by its Code of Conduct at all times.

Contributors

Our commitment to open source means that we are enabling -in fact encouraging- all interested parties to contribute and become part of its developer community.

Licensing

Copyright (C) 2023 Deutsche Telekom AG.

Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in compliance with the License.

You may obtain a copy of the License by reviewing the file LICENSE in the repository.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the LICENSE for the specific language governing permissions and limitations under the License.

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

robotframework-sysrepolibrary-0.4.1.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robotframework_sysrepolibrary-0.4.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file robotframework-sysrepolibrary-0.4.1.tar.gz.

File metadata

File hashes

Hashes for robotframework-sysrepolibrary-0.4.1.tar.gz
Algorithm Hash digest
SHA256 4a36f1f13347d62405d11eda9836c0d5e8203ec93a5a09776229aba689d51536
MD5 170ef9510188e853cad21e14043e50e0
BLAKE2b-256 db61b83f60dbc4907cabade5d37d07d37cc1373176e55edfac6de5da1cbcef9b

See more details on using hashes here.

File details

Details for the file robotframework_sysrepolibrary-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_sysrepolibrary-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 616e21d8daf01fee8bb668ae0a50493497fc017d93b99137eb5f5f630cf97ccd
MD5 be63acf47e2b88375da6dd06f7855435
BLAKE2b-256 05b00b6413fe1a0ec5096f9bf76fa54ff32ea3a46036b3a6cc87bce3f28847ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page