~jgrimm/curtin/coverage-for-unittest

Viewing all changes in revision 321.

  • Committer: Jon Grimm
  • Date: 2015-12-10 21:51:04 UTC
  • Revision ID: jon.grimm@canonical.com-20151210215104-gw5eidwjkx3gfics
Enable coverage test for unit tests
      
Enabling for vmtest will take a bit more thought, as well as, 
combining results all test runs.   HTML reports later too.  Additionally,
teach bzr to ignore .coverage directory where runtime coverage data gets
written to.
     
To run:  
   make unittest COVERAGE=1 
or
   make coverage
      
The 'coverage' target will grow to support coverage testing all tests. 
The default options for nose coverage opts can be overridden via 
the 'coverageopts' environment variable.  

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: