Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class CustomerRepositoryTcLibraryIT extends Specification implements ExecutionTimeMeasurementSupport {
CustomerRepository customerRepository
def setup() {
Connection connection = DriverManager.getConnection("jdbc:tc:postgresql:9.6.17:///test_plain_db?TC_INITSCRIPT=db/customer_database_schema.sql&TC_REUSABLE=true")
customerRepository = new CustomerRepository(connection)
def "should be able to retrieve saved customer"() {
// test code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment