Skip to main content

Test case fails,take a screenshot,save it,attach it to the allure

Project description

After the test case fails, take a screenshot in time, save the screenshot in the specified address and attach it to the allure; Usage: cmd line or main function –screenshot={on:off} –screenshot_path=file path,default is off, if is on it will be save “screenshot” of project root

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_failed_screenshot-0.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page