testcontainers-spock
testcontainers-spock copied to clipboard
Spock extension for using Docker containers in Spock tests. (DEPRECATED, moved to main repo!)
Although Jitpack is a good solution, a mature library should provide their artifacts in Maven Central as well.
I use Selenium Webdriver: ``` @Shared public BrowserWebDriverContainer chrome = new BrowserWebDriverContainer() .withDesiredCapabilities(DesiredCapabilities.chrome()) .withRecordingMode(RECORD_ALL, new File("./build/")) ``` But the recording always appeared under `./.tmp-volume-1503438720097/screen.flv`. How I can change this behavior?
When trying to test a Spring-Boot app with an exclusive database container, it's necessary to start the container in the `setupSpec()` phase, so the first `SpringApplicationContext` can be initialized correctly.