[Test Proxy] Add test recording fixture - #24848
Conversation
24d7ad6 to
be692f4
Compare
|
API change check APIView has identified API level changes in this PR and created following API reviews. |
d76096f to
13ede80
Compare
|
Yep, we're almost there! I just need to add async functionality, make a few tweaks to the variable recorder for easier use, and work out any integration and invocation kinks (like applying the fixture to tests from a class or session level). I'll mark this ready for review and provide an update when it's there 🙂 |
0038413 to
1126d1b
Compare
c03954c to
5b61428
Compare
|
In terms of integrating this PR with the rest of the repo. Perhaps we maintain the existing |
I completely agree. That raises a point about the main blocker for marking this ready for review: the variables fixture isn't compatible with parameterized tests. So, for example, most Key Vault tests can't use the That isn't an immediate issue since: 1. KV tests don't use Since the decorator approach to recording will still be supported, should we try to get this merged sooner rather than later, once the small packaging issue is resolved? The ML team is hoping to migrate their tests soon, and they would need this recording fixture to make that happen. Scott Beddall (@scbedd) Laurent Mazuel (@lmazuel) |
|
Talked to @mccoyp offline, thumbs up. ;) |
bb3a48c to
2d60c41
Compare
|
/azp run python - keyvault - ci |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
|
Build verifying that |
Scott Beddall (scbedd)
left a comment
There was a problem hiding this comment.
This is great McCoy. Maybe Anna Tisch (@annatisch) will pick something out that I'm not seeing, but this looks super solid.
Description
This takes an alternative approach to recording and playing back tests: using a fixture instead of a wrapping decorator.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines