GithubHelp home page GithubHelp logo

kianmeng / pytest-dependency Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rkrahl/pytest-dependency

0.0 2.0 0.0 194 KB

Manage dependencies of tests

License: Apache License 2.0

Makefile 0.93% Python 99.07%

pytest-dependency's Introduction

GitHub Workflow Status Documentation build status PyPI version

pytest-dependency – Manage dependencies of tests

This pytest plugin manages dependencies of tests. It allows to mark some tests as dependent from other tests. These tests will then be skipped if any of the dependencies did fail or has been skipped.

Download

The latest release version can be found at PyPI.

System requirements

Optional library packages:

  • setuptools_scm

    The version number is managed using this package. All source distributions add a static text file with the version number and fall back using that if setuptools_scm is not available. So this package is only needed to build out of the plain development source tree as cloned from GitHub.

Installation

  1. Download the sources, unpack, and change into the source directory.

  2. Build (optional):

    $ python setup.py build
    
  3. Test (optional):

    $ PYTHONPATH=build/lib python -m pytest tests
    
  4. Install:

    $ python setup.py install
    

The last step might require admin privileges in order to write into the site-packages directory of your Python installation.

Documentation

See the online documentation.

The example test modules used in the documentation can be found in doc/examples in the source distribution.

Copyright and License

  • Copyright 2013–2015 Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
  • Copyright 2016–2020 Rolf Krahl

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.

pytest-dependency's People

Contributors

asteriogonzalez avatar jkooker avatar joesc avatar rkrahl avatar rogdham avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.