Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.
/ diff-cover Public archive

Quickly display test coverage of files changed on your git branch

License

Notifications You must be signed in to change notification settings

axioscode/diff-cover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diff-cover

Quick n' dirty way to visualize test coverage of files you've changed since your git branch started.

Demonstration of output

Requirements

  • git
  • a *nix with paste
  • a project that is configured to use Jest for testing and coverage reports
  • npm or yarn

Usage

  1. Install with npm or yarn:

     yarn add --dev @axioscode/diff-cover
    
  2. Run:

     yarn run diff-cover
    

Options

To change the base branch for coverage comparison, set the COVER_BASE environment variable:

COVER_BASE=stable yarn run diff-cover

About

Quickly display test coverage of files changed on your git branch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages