Metadata-Version: 2.4
Name: unittest-parallel
Version: 0.8.2
Summary: Parallel unit test runner for Python3 with coverage support
Home-page: https://github.com/craigahobbs/unittest-parallel
Author: Craig Hobbs
Author-email: craigahobbs@gmail.com
License: MIT
Keywords: unittest parallel
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
Provides-Extra: tests
Requires-Dist: coverage; extra == "tests"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: provides-extra
Dynamic: summary

[![Build Status](https://travis-ci.org/craigahobbs/unittest-parallel.svg?branch=master)](https://travis-ci.org/craigahobbs/unittest-parallel)
[![Code Coverage](https://codecov.io/gh/craigahobbs/unittest-parallel/branch/master/graph/badge.svg)](https://codecov.io/gh/craigahobbs/unittest-parallel)
[![Version](https://img.shields.io/pypi/v/unittest-parallel.svg)](https://pypi.org/project/unittest-parallel/)

unittest_parallel is a parallel unittest runner for Python with coverage support.

NOTE: The [coverage](https://pypi.org/project/coverage/) module must be installed for coverage support.

##  Usage

```
usage: unittest-parallel [-h] [-v] [-q] [-j COUNT] [--version] [-s START]
                         [-p PATTERN] [-t TOP] [--coverage]
                         [--coverage-branch] [--coverage-rcfile RCFILE]
                         [--coverage-include PAT] [--coverage-omit PAT]
                         [--coverage-source SRC] [--coverage-html DIR]
                         [--coverage-xml FILE] [--coverage-fail-under MIN]

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         Verbose output
  -q, --quiet           Quiet output
  -j COUNT, --jobs COUNT
                        The number of test processes (default is 0, all cores)
  --version             show version number and quit

unittest options:
  -s START, --start-directory START
                        Directory to start discovery ('.' default)
  -p PATTERN, --pattern PATTERN
                        Pattern to match tests ('test*.py' default)
  -t TOP, --top-level-directory TOP
                        Top level directory of project (defaults to start
                        directory)

coverage options:
  --coverage            Run tests with coverage.
  --coverage-branch     Run tests with branch coverage.
  --coverage-rcfile RCFILE
                        Specify coverage configuration file.
  --coverage-include PAT
                        Include only files matching one of these patterns.
                        Accepts shell-style (quoted) wildcards.
  --coverage-omit PAT   Omit files matching one of these patterns. Accepts
                        shell-style (quoted) wildcards.
  --coverage-source SRC
                        A list of packages or directories of code to be
                        measured.
  --coverage-html DIR   Generate coverage HTML report.
  --coverage-xml FILE   Generate coverage XML report.
  --coverage-fail-under MIN
                        Fail if coverage percentage under min.
```
