If you want to use automated testing, the best practice is to use separate projects for testing and for the actual integration or data migration.
Create a test project in the same way as an integration or data migration project. For the test project, only set up test tasks.