Challenge Overview
Challenge Objectives
-
Bundle test results from Allure report.
Project Background
In this series of challenges, we’re creating an E2E testing framework that will help us test different applications within the Topcoder platform.
Currently, we target the Connect app.
Technology Stack
-
Node.js
-
Selenium
-
Webdriver.io
-
AWS S3
-
CircleCI
Code access
Repo: https://github.com/appirio-tech/qa-framework-js
You will find a self-registration link on the challenge forum in case you don’t have access to the repository.
Individual requirements
Our E2E framework is generating the test results using Allure but this generates a ton of files (mostly JSON) that our framework then uploads to AWS S3. This causes a lot of unnecessary API calls in order to upload the results to the S3 API.
There are 2 possible solutions to this problem. You can choose any of the following 2 approaches or you can also suggest any other way if you have a better solution.
1st approach
-
Bundle all content from the test results in a single file (or as less files as possible).
-
Upload the bundled file(s) to AWS s3.
2nd approach
-
Compress the results in a zip file.
-
Upload the zip file to AWS S3.
-
Extract the zip file directly on S3.
Important Notes
-
Note that the tests will run on CircleCI and not locally.
-
The current functionality of being able to view the results directly from the S3 bucket must be kept intact.