Id like to ask whether spring boot jpa test still needs to connect first to database before starting the test or not?
if not so it just uses the in-memory embedded database?
I am migrating a legacy app and its part of the test requirement (unit test) not to connect to database it self or any other services.
Update: so i just tried turning off mysql service and its failing. so it really is connecting still to database even if you have JpaTest annotation. how can we avoid this?
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Update:
I just use spring autoconfigure to make connection to my repository beans.