Matthew Wright
06/17/2022, 3:56 PMAnnotationSpec
but it doesn't appear kotest supports ParameterResolver
(Junit docs). Am I understanding this correctly?sam
06/17/2022, 4:25 PMMatthew Wright
06/17/2022, 5:18 PM@ExtendWith
(not old style JUnit4 rules). Here's the test in question. I assumed that if I used kotest's JUnit5 engine/runner that the extension would work with AnnotationSpec
. I was able to get the engine/runner working and convert the test to look like so:
@ExtendWith(SeleniumJupiter::class)
class EmailAndPasswordRegistrationWorkflowSpec : AnnotationSpec() {
@Test
fun happyPath(driver: WebDriver) {
...
}
}
But the driver: WebDriver
parameter is not supplied and the runner/engine fails when trying to execute the test.Matthew Wright
06/17/2022, 5:25 PMtestcontainers
to manage webdriver containers, but browsers in containers aren't easy to work with when you want to run tests against something on localhost
😛sam
06/17/2022, 5:32 PMMatthew Wright
06/17/2022, 5:34 PMMatthew Wright
06/17/2022, 5:49 PMsam
06/17/2022, 5:49 PMabendt
06/23/2022, 6:55 AMMatthew Wright
06/24/2022, 12:02 AM