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.

Built Distribution

Supported by

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