Skip to content

amjadparacha/ETL_UnitTest_Setup

Repository files navigation

ETL Unit Test Setup

Getting Started

This repository contains strucrure to setup ETL Unit Test environment To setup the project you can follow the following steps

Prerequisites

To install the pre-requisites, install the requirements.

  • python 3.7+
  • requirements
    pip install -r requirements.txt

Unit Testing

  1. Start LocalStack Docker Container
docker compose up
  1. Run Test
pytest test/
  1. List Bucket
aws --endpoint-url=http://localhost:4566 s3api list-buckets
  1. List Objects
aws --endpoint-url=http://localhost:4566 s3api list-objects --bucket raw

About

Setup unit test environment for ETL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages