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.
Metadata
Release files for questions-three-aws 3.12.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| questions_three_aws-3.12.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / questions_three_aws-3.12.0.0-py3-none-any.whl
| Download URL | questions_three_aws-3.12.0.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ff93f8320adbef6538f3fcaf022fb867136aa49136b7047a3da1d280a3b19d4
|
|
BLAKE2b-256 checksum How to use checksums |
eede0bb417f99a82b4080272de67bffc8210f90e2507c09da1e796d2997ab48e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|