Commits

Meme Dough  committed a2bf4ef

Update tests to match coverage output.

Previously for some reason coverage was reporting the number of missed
lines in the exec column. This now appears fixed and number of exec
lines is reported in the exec column.

  • Participants
  • Parent commits aedcd99
  • Tags RELEASE_0_14

Comments (0)

Files changed (2)

 import setuptools
 
 setuptools.setup(name='pytest-cov',
-                 version='0.13',
+                 version='0.14',
                  description='py.test plugin for coverage reporting with support for both centralised and distributed testing',
                  long_description=open('README.txt').read().strip(),
                  author='Meme Dough',

File test_pytest_cov.py

                                '--cov=%s' % script.purebasename)
     result.stdout.fnmatch_lines([
             '*- coverage: platform *, python * -*',
-            'test_central * 18 * 5 * 72% *',
+            'test_central * 18 * 13 * 72% *',
             '*10 passed*'
             ])
     assert result.ret == 0
                                '--cov=%s' % script.purebasename)
     result.stdout.fnmatch_lines([
             '*- coverage: platform *, python * -*',
-            'test_module_selection * 3 * 0 * 100% *',
+            'test_module_selection * 3 * 3 * 100% *',
             '*1 passed*'
             ])
     assert result.ret == 0
                                '--tx=2*popen')
     result.stdout.fnmatch_lines([
             '*- coverage: platform *, python * -*',
-            'test_dist_load_collocated * 18 * 5 * 72% *',
+            'test_dist_load_collocated * 18 * 13 * 72% *',
             '*10 passed*'
             ])
     assert result.ret == 0
                                '--rsyncdir=%s' % script.basename)
     result.stdout.fnmatch_lines([
             '*- coverage: platform *, python * -*',
-            'test_dist_load_not_collocated * 18 * 5 * 72% *',
+            'test_dist_load_not_collocated * 18 * 13 * 72% *',
             '*10 passed*'
             ])
     assert result.ret == 0
                                '--tx=popen//python=/usr/local/python27b1/bin/python')
     result.stdout.fnmatch_lines([
            '*- coverage: platform *, python 2.4.6-final-0 -*',
-           'test_dist_each_many_reports_py2 * 18 * 5 * 72% *',
+           'test_dist_each_many_reports_py2 * 18 * 13 * 72% *',
            '*- coverage: platform *, python 2.5.5-final-0 -*',
-           'test_dist_each_many_reports_py2 * 18 * 5 * 72% *',
+           'test_dist_each_many_reports_py2 * 18 * 13 * 72% *',
             '*- coverage: platform *, python 2.6.5-final-0 -*',
-           'test_dist_each_many_reports_py2 * 18 * 5 * 72% *',
+           'test_dist_each_many_reports_py2 * 18 * 13 * 72% *',
             '*- coverage: platform *, python 2.7.0-beta-1 -*',
-           'test_dist_each_many_reports_py2 * 18 * 5 * 72% *',
+           'test_dist_each_many_reports_py2 * 18 * 13 * 72% *',
             '*40 passed*'
             ])
     assert result.ret == 0
             # results but ignore for this test as we want to see
             # multiple reports regardless of results.
             '*- coverage: platform *, python 3.0.1-final-0 -*',
-            'test_dist_each_many_reports_py3 * 18 * 1 * 94% *',
+            'test_dist_each_many_reports_py3 * 18 * 17 * 94% *',
             '*- coverage: platform *, python 3.1.2-final-0 -*',
-            'test_dist_each_many_reports_py3 * 18 * 5 * 72% *',
+            'test_dist_each_many_reports_py3 * 18 * 13 * 72% *',
             '*20 passed*'
             ])
     assert result.ret == 0
             '* platform *, python 2.5.5-final-0 *',
             '* platform *, python 2.6.5-final-0 *',
             '* platform *, python 2.7.0-beta-1 *',
-            'test_dist_each_one_report_py2 * 18 * 2 * 88% *',
+            'test_dist_each_one_report_py2 * 18 * 16 * 88% *',
             '*40 passed*'
             ])
     assert result.ret == 0
             '*- coverage -*',
             '* platform *, python 3.0.1-final-0 *',
             '* platform *, python 3.1.2-final-0 *',
-            'test_dist_each_one_report_py3 * 18 * 1 * 94% *',
+            'test_dist_each_one_report_py3 * 18 * 17 * 94% *',
             '*20 passed*'
             ])
     assert result.ret == 0