approvals / ApprovalTests.Python

ApprovalTests for python
Apache License 2.0
150 stars 52 forks source link

add `Options.add_reporter()` #162

Closed nitsanavni closed 6 months ago

nitsanavni commented 6 months ago

wanted:

verify(story, options=Options().inline().add_reporter(app.screenshot_reporter()))

current workaround:

try:
    verify(story, options=Options().inline())
except:
    pass
verify(story, options=Options().with_reporter(app.screenshot_reporter()).inline())
nitsanavni commented 6 months ago

🙏