---
title: "Discussion on \"Django TransactionTestCase and django-q sync\" | Hashnode"
description: "Discussion on \"Django TransactionTestCase and django-q sync\". Django provides 2 base class that you can use to write tests for your django app - TestCase and TransactionTestCase. Most of the time TestCase is what you will be used. It's faster as it runs each test within a transaction and rollback the transactio..."
url: "https://hashnode.com/posts/django-transactiontestcase-and-django-q-sync/5fc2d5e52d08fb694996175f"
---

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

Discussion

# [Django TransactionTestCase and django-q sync](https://grep.koditi.my/django-transactiontestcase-and-django-q-sync?utm_source=hashnode&utm_medium=feed)

Django provides 2 base class that you can use to write tests for your django app - TestCase and TransactionTestCase. Most of the time TestCase is what you will be used. It's faster as it runs each test within a transaction and rollback the transactio...

Nov 28, 2020 · 4 min read · grep.koditi.my  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#django](https://hashnode.com/tag/django)
-   [#queue](https://hashnode.com/tag/queue)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[Kamal Mustafa](https://hashnode.com/@k4ml)

@k4ml

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

I am a web developer focusing on building web application using Python and Django. Full profile on https://kamal.koditi.my/.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
