Skip to main content

Amazon Web Services integrations for Questions Three

Project description

Amazon Web Services Integrations for Questions Three

This is an optional package for the Questions Three testing library.

S3 Artifact Saver

As the name implies, the S3 Artifact Saver saves artifacts to an AWS S3 bucket. It subscribes to ARTIFACT_CREATED and REPORT_CREATED events and saves everything it sees. Among other things, this will include JUnit XML test reports, HTTP transcripts from the built-in HTTP Client, and screenshots and DOM dumps from the optional Selenium integrations.

Activation

Create (or append) a custom reporters file:

echo questions_three_aws.s3_artifact_saver.S3ArtifactSaver >> /var/custom_reporters

Inform Questions Three about the custom reporters file:

export CUSTOM_REPORTERS_FILE=/var/custom_reporters

Tell the S3 Artifact Saver which bucket to use:

export S3_BUCKET_FOR_ARTIFACTS=spam-eggs-sausage-spam

(Optional) Specify an object(folder) prefix to which test runs will be saved within the specified bucket:

export S3_PREFIX_OBJECT_NAME=some_test_runner

Set appropriate environment variables for AWS:

See the fine AWS documentation. At a minimum, you will need credentials and a region.

Project details


Download files

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

Files for questions-three-aws, version 3.12.0.0
Filename, size File type Python version Upload date Hashes
Filename, size questions_three_aws-3.12.0.0-py3-none-any.whl (4.0 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page