Skip to main content

Functionality to manage RobotFramework testsuites

Project description

Package Description

The RobotFramework_TestsuitesManagement enables users to define dynamic configuration values within separate configuration files in JSON format.

These configuration values are available during test execution - but under certain conditions that can be defined by the user (e.g. to realize a variant handling). This means: Not all parameter values are available during test execution - only the ones that belong to the current test scenario.

To realize this, the RobotFramework_TestsuitesManagement provides the following features:

  • Split all possible configuration values into several JSON configuration files, with every configuration file contains a specific set of values for configuration parameter
  • Use nested imports of JSON configuration files
  • Follow up definitions in configuration files overwrite previous definitions (of the same parameter)
  • Select between several criteria to let the Robot Framework use a certain JSON configuration file

How to install

The RobotFramework_TestsuitesManagement can be installed in two different ways.

  1. Installation via PyPi (recommended for users)

    pip install RobotFramework_TestsuitesManagement
    

    RobotFramework_TestsuitesManagement in PyPi

  2. Installation via GitHub (recommended for developers)

    • Clone the RobotFramework_TestsuitesManagement repository to your machine

      git clone https://github.com/test-fullautomation/robotframework-testsuitesmanagement.git
      

      RobotFramework_TestsuitesManagement in GitHub

    • Install dependencies

      RobotFramework_TestsuitesManagement requires some additional Python libraries. Before you install the cloned repository sources you have to install the dependencies manually. The names of all related packages you can find in the file requirements.txt in the repository root folder. Use pip to install them:

      pip install -r requirements.txt
      

      Additionally install LaTeX (recommended: TeX Live). This is used to render the documentation.

    • Configure dependencies

      The installation of RobotFramework_TestsuitesManagement includes to generate the documentation in PDF format. This is done by an application called GenPackageDoc, that is part of the installation dependencies (see requirements.txt).

      GenPackageDoc uses LaTeX to generate the documentation in PDF format. Therefore GenPackageDoc needs to know where to find LaTeX. This is defined in the GenPackageDoc configuration file

      packagedoc\packagedoc_config.json
      

      Before you start the installation you have to introduce the following environment variable, that is used in packagedoc_config.json:

      • GENDOC_LATEXPATH : path to pdflatex executable
    • Use the following command to install RobotFramework_TestsuitesManagement:

      setup.py install
      

Package Documentation

A detailed documentation of the RobotFramework_TestsuitesManagement can be found here: RobotFramework_TestsuitesManagement.pdf

For self-study also a tutorial is available containing lots of examples. Here you find the rendered tutorial documentation.

Feedback

To give us a feedback, you can send an email to Thomas Pollerspöck or RBVH-ECM-Automation_Test_Framework-Associates

About

Maintainers

Thomas Pollerspöck

Contributors

Mai Dinh Nam Son

Tran Duy Ngoan

Nguyen Huynh Tri Cuong

Tran Hoang Nguyen

Holger Queckenstedt

License

Copyright 2020-2023 Robert Bosch GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

File details

Details for the file robotframework_testsuitesmanagement-0.8.2-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_testsuitesmanagement-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 067ba39b16f8f12dcefca8ba26cf3e3a20aa3072e7ed91180944bd2229ed90b7
MD5 b610a61367aa0f9c6804c67072f184c7
BLAKE2b-256 ae326e381c2ae0ed2401aebca5cc2800218d8b99abc03b17f0ccfab0cfc8e5e8

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