Skip to content

Tests and coverage of boto S3 for both Boto3 and Boto2 SDKs

Notifications You must be signed in to change notification settings

iraj465/Boto-S3-tests

Repository files navigation

Boto S3 tests

This repository contains tests for S3 buckets and their coverage for both Boto3 and Boto2 SDKs.

Getting started

  • Clone the repository:
git clone [email protected]:iraj465/Boto-S3-tests.git
cd Boto-S3-tests
  • Install virtual environment and required dependencies:
# Create a virtual environment
$ python3 -m venv env
$ source ./env/bin/activate

# Install the dependencies:
$ pip install -r requirements.txt
  • Copy .env.example to .env and configure the environment variables accordingly.

  • Runs tests for Boto3 SDK by running:

coverage run --source boto3/ -m pytest boto3/tests_s3.py
  • Runs tests for Boto2 SDK by running:
coverage run --source boto2/ -m pytest boto2/tests_s3.py
  • Run the following command to generate coverage report:
coverage report
  • Run the following command to generate coverage report in html(for website viewing):
coverage html

About

Tests and coverage of boto S3 for both Boto3 and Boto2 SDKs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published