Skip to content

v0.6.0

Compare
Choose a tag to compare
@grodowski grodowski released this 12 Dec 21:52
· 8 commits to master since this release

What's Changed

  • New files that are not required (loaded) in tests do not appear in coverage reporting by default. To address this, undercover will report such new files as missing coverage, so that you don't forget to create a corresponding test file or require them in tests. 🥳🥳🥳

  • Support for including and excluding file glob patterns was added to the CLI args and the configuration file. By default undercover looks at extensions matching *.rb *.rake *.ru Rakefile, but you can change that with --include-files|--exclude-files (see undercover -h for details).

Fixes

  • Fixed an issue where top-level methods were not being considered #135. This was caused by a bug in the tree traversal logic.

  • Fixed a bug where --compare didn't work with grafted commits as there was no merge base available (#175). Now it's possible to pass a graft commit as --compare which enables undercover to work with shallow clones.

Full Changelog: v0.5.0...v0.6.0