[Webkit-unassigned] [Bug 215712] New: [webkitcorepy] Standard Popen mocking API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 20 13:22:17 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=215712

            Bug ID: 215712
           Summary: [webkitcorepy] Standard Popen mocking API
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jbedard at apple.com

Tests frequently need to mock subprocess calls. It's not obvious, but all subprocess calls can be mocked by mocking Popen well. We should have common way of mocking subprocess calls that is thorough enough that code being tested does not have to consider the testing harness that will be testing it. (namely, I think the "Executive" idiom of webkitpy makes testing much harder)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200820/02e7edb2/attachment-0001.htm>


More information about the webkit-unassigned mailing list