spring-boot with flyway and how to get your tests working

spring-boot with flyway and how to get your tests working published on No Comments on spring-boot with flyway and how to get your tests working

Problem You have a spring boot application with flyway migration scripts for a MySQL database. Now your tests are failing because you don’t have the database available during unit testing and flyway is complaining. Solution Use an in memory H2 database in MySql mode. How Create a file called flyway_init.sql in src/test/resources with the following… Continue reading spring-boot with flyway and how to get your tests working

Integration testing

Integration testing published on No Comments on Integration testing

For my current work gig I’m doing some Prove Of Concepts (POC) around testing and testing frameworks.

I’ve looked at a couple of tools and will tell something of my experiences.
I was actually searching for an Integrated Test Environment for all my needs but I haven’t found it yet.

Please tell me if you do know of some.