gcovr 4.1

@latk latk released this Jul 2, 2018 · 2 commits to master since this release

This is a minor update that restores/fixes the --exclude-directories option.

You can pip install --upgrade gcovr the newest release from PyPI

  • Fixed/improved --exclude-directories option. (#266)
  • New "Cookbook" section in the documentation. (#265)

gcovr 4.0

@latk latk released this Jun 17, 2018 · 13 commits to master since this release

This release represents a huge amount of refactoring and under-the-hood improvements. Most users should not experience any regressions, although there are lots of smaller incompatible changes.

Highlights:

⭐️ Gcovr now runs perfectly on Python 3 (Python 3.5+ recommended).
⭐️ Filters are no longer restricted on Windows. The filter syntax was changed to use forward slashes everywhere, so a filter like -f 'src/.*\.cpp' will now behave identically on all platforms.

You can pip install gcovr the most recent release from PyPI.

Breaking changes:

  • This release drops support for Python 2.6. (#250)
  • PIP is the only supported installation method.
  • No longer encoding-agnostic under Python 2.7. If your source files do not use the system encoding (probably UTF-8), you will have to specify a --source-encoding. (#148, #156, #256)
  • Filters now use forward slashes as path separators, even on Windows. (#191, #257)
  • Filters are no longer normalized into pseudo-paths. This could change the interpretation of filters in some edge cases.

Improvements and new features:

  • Improved --help output. (#236)
  • Parse the GCC 8 gcov format. (#226, #228)
  • New --source-encoding option, which fixes decoding under Python 3. (#256)
  • New --gcov-ignore-parse-errors flag. By default, gcovr will now abort upon parse errors. (#228)
  • Detect the error when gcov cannot create its output files (#243, #244)
  • Add -j flag to run gcov processes in parallel. (#3, #36, #239)
  • The --html-details flag now implies --html. (#93, #211)
  • The --html output can now be used without an --output filename (#223)
  • The docs are now managed with Sphinx. (#235, #248, #249, #252, #253)
  • New --html-title option to change the title of the HTML report. (#261, #263)
  • New options --html-medium-threshold and --html-high-threshold to customize the color legend. (#261, #264)

Internal changes:

gcovr 3.4

@latk latk released this Feb 12, 2018 · 135 commits to master since this release

  • Added --html-encoding command line option (#139).
  • Added --fail-under-line and --fail-under-branch options,
    which will error under a given minimum coverage. (#173, #116)
  • Better pathname resolution heuristics for --use-gcov-file. (#146)
  • The --root option defaults to current directory '.'.
  • Improved reports for "(", ")", ";" lines.
  • HTML reports show full timestamp, not just date. (#165)
  • HTML reports treat 0/0 coverage as NaN, not 100% or 0%. (#105, #149, #196)
  • Add support for coverage-04.dtd Cobertura XML format (#164, #186)
  • Only Python 2.6+ is supported, with 2.7+ or 3.4+ recommended. (#195)
  • Added CI testing for Windows using Appveyor. (#189, #200)
  • Reports use forward slashes in paths, even on Windows. (#200)
  • Fix to support filtering with absolute paths.
  • Fix HTML generation with Python 3. (#168, #182, #163)
  • Fix --html-details under Windows. (#157)
  • Fix filters under Windows. (#158)
  • Fix verbose output when using existing gcov files (#143, #144)

Tagging gcovr 3.3

@whart222 whart222 released this Aug 6, 2016 · 218 commits to master since this release

Misc formatting