24 views

Symptoms


  • Unable to find records that were created during an ATF test.
  • Data created during the test seems to be unavailable.

Release


Istanbul+

Cause


ATF rolls back all changes it makes, because it is designed for testing functionality and not for generating data.

Any data created throughout that specific test will be erased upon test completion.

Resolution


  • The user can disable the ATF rollback feature for any specific table.
  • Each table has a boolean field called "excludeFromRollback".
  • This field typically defaults to false.
  • If set to true, the corresponding table will maintain the data created during the test, even after completion.

 

Article Information

Last Updated:2018-05-21 13:57:28
Published:2018-05-21