---
title: "Discussion on \"Setting up transactional tests with Pytest and SQLAlchemy\" | Hashnode"
description: "Discussion on \"Setting up transactional tests with Pytest and SQLAlchemy\". Coming from a Ruby on Rails background, I really appreciate solutions that became community standards of solving problems. One of such things is DatabaseCleaner gem, which ensures that your tests run in separation and there are no data leaks between ..."
url: "https://hashnode.com/posts/setting-up-transactional-tests-with-pytest-and-sqlalchemy/5fa71ece54cc5b4ad931f4cf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Setting up transactional tests with Pytest and SQLAlchemy](https://kampikd.dev/setting-up-transactional-tests-with-pytest-and-sqlalchemy?utm_source=hashnode&utm_medium=feed)

Coming from a Ruby on Rails background, I really appreciate solutions that became community standards of solving problems. One of such things is DatabaseCleaner gem, which ensures that your tests run in separation and there are no data leaks between ...

Nov 2, 2020 · 3 min read · kampikd.dev  
Updated May 17, 2021  
Read the article

-   [#python3](https://hashnode.com/tag/python3)
-   [#testing](https://hashnode.com/tag/testing)
-   [#test-driven-development](https://hashnode.com/tag/test-driven-development)

## Written by

[Damian Kampik](https://hashnode.com/@kampikd)

@kampikd · Kraków, PL

  
[View profile](https://hashnode.com/@kampikd)

Staff Software Engineer @ NexHealth

👨‍💻 Software &amp; Data Engineer @ NexHealth 💙 Husband &amp; Dad ☕️ Coffee Elemental 📕 Learning Powerhouse

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
