Skip to content

Conversation

@pawtom
Copy link
Contributor

@pawtom pawtom commented Apr 18, 2023

A new module for using different Squish testSettings as context manager.

with settings.logScreenshotOnFail(True), settings.logScreenshotOnPass(True):
        test.passes("aaa")   
        test.fail("bbb")

@pawtom pawtom requested a review from Adakar April 18, 2023 10:02
Copy link
Contributor

@Adakar Adakar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about setting default values for parameters? At least for some of the functions.

@pawtom pawtom requested a review from Adakar April 24, 2023 10:31
@Adakar Adakar merged commit 7ef6ae4 into main Apr 24, 2023
@Adakar Adakar deleted the settings_context branch May 17, 2023 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants