Iman Tumorang
Aug 8, 2017 · 1 min read

Hello,

Thank you for your response.

If you asking for database migration, then you asking for integration testing using the real data and the real database server (in my case MySql) . For this testing I’m using docker. Then for the migration data I’m using this library https://github.com/mattes/migrate . A good enough for database migration.

The scenario is, I will spawn a mysql server in docker, then migrate the data using the library, then doing testing for each function in Repository layer.

    Iman Tumorang

    Written by

    Software Engineer - Writer - Open Source Enthusiast - Startup Enthusiast. Reach me out in https://bxcodec.io for fast response :)