You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was introduced in #819. If I have data migrations in my project and two test cases, one TestCase and one TransactionTestCase, prioritizing the first flags over the order introduced in #214 can break the TestCase.
Running tests with --new-first and modifying the TransactionTestCase after the TestCase results in an empty database for the latter. If the project uses data migrations to create default data in the database this breaks the TestCase relying on that data. Running tests with --failed-first does the same if the TransactionTestCase is the last to have failed.
This means for a project using data migrations in this way and having both TestCases and TransactionTestCases the first flags cannot be used reliably currently.
The text was updated successfully, but these errors were encountered:
This was introduced in #819. If I have data migrations in my project and two test cases, one
TestCase
and oneTransactionTestCase
, prioritizing the first flags over the order introduced in #214 can break theTestCase
.Running tests with
--new-first
and modifying theTransactionTestCase
after theTestCase
results in an empty database for the latter. If the project uses data migrations to create default data in the database this breaks theTestCase
relying on that data. Running tests with--failed-first
does the same if theTransactionTestCase
is the last to have failed.This means for a project using data migrations in this way and having both
TestCase
s andTransactionTestCase
s the first flags cannot be used reliably currently.The text was updated successfully, but these errors were encountered: