jeudi 7 novembre 2019

A lot of database migrations in the spring project

I 'm having a project with more than 50 liquibase migrations.   I have tables: Currencies, Countries ... And they are filling in the migrations right now. The problem is that for each integration test where context is running I have to do all of my 50 migrations. It takes time. And as you know spring is not the fastest framework. What can I do? The time Gradle is spending for passing all tests is 10 minutes.

Of course, you may say it is the monolith, yes, it is but the customer doesn't want to split up logic because the average level of the team is quite low.

How can I speed up my integration tests?

Aucun commentaire:

Enregistrer un commentaire