Last active
February 29, 2020 20:41
-
-
Save pawelpluta/f5f092131ebea062a1f164ad1986a577 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class CustomerRepositoryTcLibraryIT extends Specification implements ExecutionTimeMeasurementSupport { | |
| CustomerRepository customerRepository | |
| def setup() { | |
| startTimeMeasure() | |
| Connection connection = DriverManager.getConnection("jdbc:tc:postgresql:9.6.17:///test_plain_db?TC_INITSCRIPT=db/customer_database_schema.sql&TC_REUSABLE=true") | |
| stopTimeMeasure() | |
| 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