Bug 224687

Summary: Add a conftest.py to run existing webkitpy tests in pytest
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: Tools / TestsAssignee: Sam Sneddon [:gsnedders] <gsnedders>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, glenn, jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 224638    
Attachments:
Description Flags
Patch
none
Patch none

Description Sam Sneddon [:gsnedders] 2021-04-16 12:56:52 PDT
This tracks work on adding initial infrastructure to make it possible to run the webkitpy tests under pytest, along with the following part from bug 224638:

 * pytest's unittest support uses the stdlib unittest.TestLoader class, which we subclass in webkitpy.test.main, to optionally load methods beginning with serial_test_*, integration_test_*, and serial_integration_test_* as well as test_*; logically these would become marks in pytest
Comment 1 Sam Sneddon [:gsnedders] 2021-04-16 13:09:26 PDT
Created attachment 426260 [details]
Patch
Comment 2 Sam Sneddon [:gsnedders] 2021-04-22 12:48:07 PDT
Created attachment 426840 [details]
Patch
Comment 3 EWS 2021-04-23 12:34:44 PDT
Committed r276512 (236968@main): <https://commits.webkit.org/236968@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 426840 [details].
Comment 4 Radar WebKit Bug Importer 2021-04-24 15:02:24 PDT
<rdar://problem/77110018>