Skip to main content

Interfaces to access TestResultWebApp database

Project description

TestResultDBAccess

Table of Contents

Getting Started

The TestResultDBAccess package offers a flexible and efficient way to interact with the database of a test result web application.

Users can choose between Direct Access and REST API Access, depending on their specific needs and preferences.

How to install

TestResultDBAccess can be installed in two different ways.

  1. Installation via PyPi (recommended for users)

    pip install python-testresultdbaccess
    

    TestResultDBAccess in PyPi

  2. Installation via GitHub (recommended for developers)

    • Clone the python-testresultdbaccess repository to your machine.

      git clone https://github.com/test-fullautomation/python-testresultdbaccess.git
      

      TestResultDBAccess in GitHub

    • Install dependencies

      Notes: Regarding the Linux environment (such as Ubuntu), there are Linux dependency packages that need to be installed before installing Python dependency libraries. Use the following commands to install them:

      chmod +x ./requirements_linux.sh
      ./requirements_linux.sh
      

      TestResultDBAccess 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 TestResultDBAccess 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 TestResultDBAccess:

      python setup.py install
      

Contribution

We are always searching support and you are cordially invited to help to improve TestResultDBAccess package.

Package Documentation

A detailed documentation of the TestResultDBAccess can be found here: TestResultDBAccess tool's Documentation.

Feedback

Please feel free to give any feedback to us via

Email to: Thomas Pollerspöck

Issue tracking: TestResultDBAccess Issues

About

Maintainers

Thomas Pollerspöck

Tran Duy Ngoan

Contributors

Thomas Pollerspöck

Tran Duy Ngoan

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

License: Apache v2

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

TestResultDBAccess-0.1.3.tar.gz (209.4 kB view hashes)

Uploaded Source

Built Distribution

TestResultDBAccess-0.1.3-py3-none-any.whl (206.3 kB view hashes)

Uploaded Python 3

Supported by

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