3 ms·
If you're writing your code to work against multiple schemas, how do you test it? Do you run your test suite twice, once with the pre-migration schema, and agai
by dan_manges 15y ago
If you're writing your code to work against multiple schemas, how do you test it? Do you run your test suite twice, once with the pre-migration schema, and again with the post-migration schema?
- pedrobelo 15y agoFor sure. Most of the time migrations are developed in a feature branch, so the owner is responsible for splitting his branch into two or three before sending pull requests (as many as required to address issues with hot compatibility). This means that we have two or more merges (and deploys) from master, each requiring a full run of the test suite.