Modern QA2026Practical Exercise — tiles
Log inJoin
40 / 65 · 15 SQL & Database Testing · Migration Testing← prev⊞ allnext →☰ Read as one page

5.8Practical Exercise

  1. Take a migration file (or write one that adds a new column)
  2. Write a script that tests: applies cleanly, preserves data, rollback works
  3. Test what happens when the migration adds a NOT NULL column without a default to a table with existing data
  4. Measure migration time with 100,000 rows and set a performance threshold
  5. Add migration testing to a CI pipeline