Skip to content

Conversation

@LilyFirefly
Copy link
Collaborator

Fixes #68.

@LilyFirefly LilyFirefly self-assigned this Oct 7, 2025
@LilyFirefly LilyFirefly requested a review from a team as a code owner October 7, 2025 10:26
@LilyFirefly LilyFirefly added the documentation Improvements or additions to documentation label Oct 7, 2025
Comment on lines +39 to +41
### Testing

By default, [Django's `TestCase`][TestCase] runs all tests in a transaction. Django Subatomic hooks into Django's test infrastructure to make this test transaction completely transparent. This allows realistic testing of code using [`transaction`][django_subatomic.db.transaction] without needing [Django's `TransactionTestCase`][TransactionTestCase].
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is important to note, but I'm not sure that this is the place to document it... but I'm not sure if we have an appropriate doc yet 🤔

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking about it, I think we need a whole doc just on testing. I hope to start on that soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add documentation for ignoring testcase transactions

3 participants