about test database

i have a conclusion to make sure,that is : when testing codes, only the fixtures data are stored in the test database table after running the test and the model saved during runing test method is not stored in the test database table? For example:

Sort of. It is stored in the test database, but the entire test runs within a transaction, which is rolled back at the end of the test.

Fred

Sort of. It is stored in the test database, but the entire test runs
within a transaction, which is rolled back at the end of the test.

Fred

But rolled back at the end of this test method or the entire controller test? You means I need not consider if the user is saved in the test database table in the following test methods because the user is not in the database at that time? If the user is still in the database in the following test methods.i need to consider it because of my application’s logic.

anyone help me?

Take a look in your app's test.log and you'll see for yourself.

Fred