Skip to content

dmschauer/aws-glue-local-dev-and-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This repository contains example code to be used with an article I wrote. Here you can find the article: https://medium.com/@dominikschauer/professional-aws-glue-pyspark-development-local-development-and-unit-tests-190be8ed75fb

What does it do?

This repository helps you to setup a local development environment for AWS Glue PySpark jobs. It works for both Windows and Ubuntu/Mac OS.

It contains:

  • a template for an AWS Glue PySpark job
  • a template for a corresponding pytest unit test

For more details, please read the article. It explains step by step what to do to start developing on your local machine (i.e. without AWS Glue charges!).

Commands

  • start tests from project root python3 -m pytest ./tests/

Sources