Coder Social home page Coder Social logo

pelme / pytest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pytest-dev/pytest

0.0 3.0 0.0 9.9 MB

The pytest testing tool makes it easy to write small tests, yet scales to support complex functional testing

Home Page: http://pytest.org/

License: MIT License

Makefile 0.09% Python 99.11% PowerShell 0.59% Batchfile 0.18% Shell 0.03%

pytest's Introduction

pytest

The pytest testing tool makes it easy to write small tests, yet scales to support complex functional testing.

image

image

image

image

Documentation: http://pytest.org/latest/

Changelog: http://pytest.org/latest/changelog.html

Issues: https://github.com/pytest-dev/pytest/issues

Features

  • auto-discovery of test modules and functions,
  • detailed info on failing assert statements (no need to remember self.assert* names)
  • modular fixtures for managing small or parametrized long-lived test resources.
  • multi-paradigm support: you can use pytest to run test suites based on unittest (or trial), nose
  • single-source compatibility from Python2.6 all the way up to Python3.4, PyPy-2.3, (jython-2.5 untested)
  • many external plugins.

A simple example for a test:

# content of test_module.py
def test_function():
    i = 4
    assert i == 3

which can be run with py.test test_module.py. See getting-started for more examples.

For much more info, including PDF docs, see

http://pytest.org

and report bugs at:

https://github.com/pytest-dev/pytest/issues

and checkout or fork repo at:

https://github.com/pytest-dev/pytest

Copyright Holger Krekel and others, 2004-2015 Licensed under the MIT license.

pytest's People

Contributors

akasurde avatar avdn avatar benjaminp avatar bubenkoff avatar carreau avatar davehunt avatar davidszotten avatar flub avatar holgerpeters avatar hpk42 avatar hunse avatar ionelmc avatar jaraco avatar jurko-gospodnetic avatar magopian avatar msabramo avatar nicoddemus avatar pbanaszkiewicz avatar pedronis avatar pfctdayelise avatar ronnypfannschmidt avatar schmir avatar singletoned avatar t2y avatar takluyver avatar the-compiler avatar tomviner avatar turbo87 avatar w00t0r avatar witsch avatar

Watchers

 avatar  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.