diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2011-08-27 22:12:20 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2011-08-27 22:12:20 -0400 |
| commit | 802a9199403947f5edbe1df573342bb502ddeb0e (patch) | |
| tree | 0bc7bc2435bd05a88e355240b0783ec560ba72e3 /doc/config.rst | |
| parent | 3b4fd38f14ad2677213308bd3ed6c076162cfcc0 (diff) | |
| download | python-coveragepy-git-802a9199403947f5edbe1df573342bb502ddeb0e.tar.gz | |
Document the [paths] section in the config file.
Diffstat (limited to 'doc/config.rst')
| -rw-r--r-- | doc/config.rst | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/config.rst b/doc/config.rst index ddaf22a3..aed52300 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -8,6 +8,7 @@ Configuration files :history: 20100725T211700, updated for 3.4. :history: 20100824T092900, added ``precision``. :history: 20110604T184400, updated for 3.5. +:history: 20110827T212700, updated for 3.5.1 Coverage.py options can be specified in a configuration file. This makes it @@ -103,6 +104,33 @@ measure during execution. See :ref:`source` for details. Try this if you get seemingly impossible results. +.. _config_paths: + +[paths] +------- + +The entries in this section are lists of file paths that should be +considered equivalent when combining data from different machines:: + + [paths] + source = + src/ + /jenkins/build/*/src + c:\myproj\src + +The names of the entries are ignored, you may choose any name that +you like. The value is a lists of strings. When combining data +with the ``combine`` command, two file paths will be combined +if they start with paths from the same list. + +The first value must be an actual file path on the machine where +the reporting will happen, so that source code can be found. +The other values can be file patterns to match against the paths +of collected data. + +See :ref:`cmd_combining` for more information. + + [report] -------- |
