<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add an API for getting the branch identifier from a Git or SVN checkout."
   href="https://bugs.webkit.org/show_bug.cgi?id=151570#c12">Comment # 12</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add an API for getting the branch identifier from a Git or SVN checkout."
   href="https://bugs.webkit.org/show_bug.cgi?id=151570">bug 151570</a>
              from <span class="vcard"><a class="email" href="mailto:ddkilzer&#64;webkit.org" title="David Kilzer (:ddkilzer) &lt;ddkilzer&#64;webkit.org&gt;"> <span class="fn">David Kilzer (:ddkilzer)</span></a>
</span></b>
        <pre>BTW, there are unit tests for VCSUtils.pm here:

  Tools/Scripts/webkitperl/VCSUtils_unittest/

For the subroutines that just extract data from command output, it might be nice to write a couple tests with output from actual SVN or git WebKit repository checkouts.

Testing the methods that run shell commands would be much more difficult since we don't have a way to mock shell commands to run.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>