[SalesForce] Test Class SeeAllData=true Annotation

I am creating a test class that will test my controller class which uses almost 5 to 8 objects that has many DML statements like insert and delete, however I am feeling a little bit worried about not getting the result like in my controller class. As a turnaround I used the SeeAllData=True annotation in order not to make sample data for each object and to cover most of my codes.

Question:
When using the SeeAllData=True annotation, will it also do the DML statements in the actual record and reflect in the database?

Sample:

@isTest SeeAllData=True
public with sharing class ControllerTest
{
    static testmethod void sampleTest()
    {
     //Codes that will test the Controller using the data from the annotation
    }
}

Best Answer

Test methods have a built-in "rollback" function that is implicitly called at the completion of every test. Not only will data created within the test method not persist, any changes that occur to "live" data will also not persist. This means that even with SeeAllData=true, you can never accidentally modify or delete "live" data, because it is guaranteed to be rolled back.