Automated Migration Testing

Brigham Young University

Provo, UtahMar 2024 – Mar 20241 moCompleted

Replaced repetitive spreadsheet-based data checks with a weekly validation system, freeing student developers to contribute more directly to BYU’s ERP migration.

A process that usually found nothing

During BYU's PeopleSoft-to-Workday migration, hundreds of database tables had to be checked repeatedly as data moved through different environments. The test cases lived in spreadsheets. A student developer would copy a query into SQL Developer, run it, and return to the spreadsheet to record the result.

Most tests passed. That was good for the migration, but it meant student employees spent much of their time repeating a process that usually confirmed nothing had changed.

While working through those spreadsheets, Aaron Starkweather and I noticed a second problem: the tests themselves were inconsistent. Some were difficult to run in a repeatable way, and others did not meaningfully validate the data. We asked our manager for permission to explore an automated approach.

Turning a checklist into a system

We built a Python process that could interpret the team's organized SQL tests, run them against the required environment, and collect the results in one place. Instead of opening individual spreadsheets to learn what happened, the team could review a central set of results and concentrate on the tests that found a problem.

I designed the initial architecture and worked with Aaron to implement it. After seeing the result, our manager asked us to configure it for each required migration environment and schedule it to run every week.

The automation also forced us to improve the test suite. A query being run automatically did not make it useful. Tests still needed consistent definitions, clear expectations, and results that told the team what required attention.

What changed for the team

The largest benefit was not the number of queries the computer could execute. It was what the student developers could do afterward.

Instead of spending their time copying tests and updating spreadsheets, students began fixing bugs in migration ETLs, repairing other scripts and processes, and taking on work that contributed more directly to the migration. The system became a weekly safety net while the people who had previously run it manually gained room to grow.

This project taught me that good automation can change responsibility, not just speed. Removing repetitive work gave the team more consistent validation, but it also gave newer developers the opportunity to move from observing the migration to helping build it.