Skip to content

ProvoK/article_agile_database_integration

Repository files navigation

Agile database integration testing [proof of concept]

This repo is a simple example for an easy database integration testing with pytest, factoryboy and sqlalchemy.

Read the full article here

Setup

Database

Tests assume you have a running postgresql database.

If you have UNIX OS and postgres commands installed you can simply run

docker-compose up

and then

sh init_db.sh

Install dependencies

pipenv install

Run test

pytest -vv

~ Have a nice day! ~

About

Agile database integration tests with Python, SQLAlchemy and Factory Boy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published