Commits

Anonymous committed 1552bb7

Bump for multiprocessing cov-core. Update doc.

Comments (0)

Files changed (3)

 examine it.
 
 
+Coverage Config File
+--------------------
+
+This plugin provides a clean minimal set of command line options that are added to nose2.  For
+further control of coverage use a coverage config file.
+
+For example if tests are contained within the directory tree being measured the tests may be
+excluded if desired by using a .coveragerc file with the omit option set::
+
+    nose2 --with-cov --cov-config .coveragerc testfoo
+
+Where the .coveragerc file contains file globs::
+
+    [run]
+    omit = tests/*
+
+For full details refer to the `coverage config file`_ documentation.
+
+.. _`coverage config file`: http://nedbatchelder.com/code/coverage/config.html
+
+Note that this plugin controls some options and setting the option in the config file will have no
+effect.  These include specifying source to be measured (source option) and all data file handling
+(data_file and parallel options).
+
+
 Limitations
 -----------
 
 import setuptools
 
 setuptools.setup(name='nose2-cov',
-                 version='1.0a3',
-                 description='nose2 plugin for coverage reporting, including subprocesses',
+                 version='1.0a4',
+                 description='nose2 plugin for coverage reporting, including subprocesses and multiprocessing',
                  long_description=open('README.txt').read().strip(),
                  author='Meme Dough',
                  author_email='memedough@gmail.com',
                  url='http://bitbucket.org/memedough/nose2-cov/overview',
                  py_modules=['nose2_cov'],
                  install_requires=['nose2>=0.1',
-                                   'cov-core>=1.3'],
+                                   'cov-core>=1.6'],
                  license='MIT License',
                  zip_safe=False,
                  keywords='nose2 cover coverage',
+[unittest]
+plugins = nose2_cov