Not really a Ruby on Rails issue, but this is the structure we work in.
We transfer data from the old system to our own system and test the code that will perform the data migration. These tests live with the rest of the application tests and therefore work against our build server on commits, etc.
Once we have transferred this data, these tests are likely to be useless for us, because the code they are testing will never be run again. Moreover, the tests are likely to be outdated and may require maintenance so that they do not break our assembly.
Should we just throw away these tests after that? Mark them in some way so that they donβt run after we have done something for real? Something else?
source
share