package Ġuk . ac . war wick . cam cat . context Ċ Ċ import Ġio . zon ky . test . db . Auto Configure Embedded Database Ċ import Ġorg . junit . runner . RunWith Ċ import Ġorg . springframework . boot . test . context . SpringBootTest Ċ import Ġorg . springframework . test . context . Active Profiles Ċ import Ġorg . springframework . test . context . jdbc . Sql Ċ import Ġorg . springframework . test . context . jdbc . Sql Config Ċ import Ġorg . springframework . test . context . junit 4 . Spring Runner Ċ Ċ @ Active Profiles (" integration Test ") Ċ @ Auto Configure Embedded Database ( bean Name Ġ= Ġ" dataSource ") Ċ @ RunWith ( Spring Runner :: class ) Ċ @ SpringBootTest Ċ @ Sql ( ĊĠ Ġscripts Ġ= Ġ["/ s its - schema . sql ", Ġ"/ s its - data . sql "], ĊĠ Ġconfig Ġ= ĠSql Config ( dataSource Ġ= Ġ" s its DataSource ", Ġtransaction Manager Ġ= Ġ" s its Transaction Manager ") Ċ ) Ċ abstract Ġclass ĠContext Test Ċ