Bug 224687 - Add a conftest.py to run existing webkitpy tests in pytest
Summary: Add a conftest.py to run existing webkitpy tests in pytest
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Sneddon [:gsnedders]
URL:
Keywords: InRadar
Depends on:
Blocks: 224638
  Show dependency treegraph
 
Reported: 2021-04-16 12:56 PDT by Sam Sneddon [:gsnedders]
Modified: 2021-04-24 15:02 PDT (History)
4 users (show)

See Also:


Attachments
Patch (15.39 KB, patch)
2021-04-16 13:09 PDT, Sam Sneddon [:gsnedders]
no flags Details | Formatted Diff | Diff
Patch (9.32 KB, patch)
2021-04-22 12:48 PDT, Sam Sneddon [:gsnedders]
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>