]> khamidou — GitHub mirrors - arcanist.git/commit
Minor "arc unit" coverage display updates
authorepriestley <git@epriestley.com>
Thu, 2 Feb 2012 01:36:25 +0000 (17:36 -0800)
committerepriestley <git@epriestley.com>
Thu, 2 Feb 2012 01:36:25 +0000 (17:36 -0800)
commit85083db929f384dee0d40f5ea8938348d7907326
tree3f589bb2638502083178a6335cd00d0279a0de73
parentbea4cd83d765a0fd08467c91abdb3c1f4ce9a3b4
Minor "arc unit" coverage display updates

Summary:
  - Show coverage for all files, not just files that have some coverage
information.
  - Read file data off disk, under git the "current" data is the data at HEAD,
not the (possibly unstaged/uncommitted) file in the working copy which we
actually ran.

Test Plan: Ran "arc unit --detailed-coverage" on various files.

Reviewers: tuomaspelkonen, btrahan

Reviewed By: tuomaspelkonen

CC: aran, epriestley
Maniphest Tasks: T818

Differential Revision: https://secure.phabricator.com/D1542
src/workflow/unit/ArcanistUnitWorkflow.php
src/workflow/unit/__init__.php