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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

questions_three_aws-3.12.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file questions_three_aws-3.12.0.0-py3-none-any.whl.

File metadata

  • Download URL: questions_three_aws-3.12.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.1

File hashes

Hashes for questions_three_aws-3.12.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ff93f8320adbef6538f3fcaf022fb867136aa49136b7047a3da1d280a3b19d4
MD5 d702199d7f03acfe3331d0d320d5fa3f
BLAKE2b-256 eede0bb417f99a82b4080272de67bffc8210f90e2507c09da1e796d2997ab48e

See more details on using hashes here.

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