Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions modules/k6/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@ description = "Testcontainers :: k6"
dependencies {
api project(':testcontainers')

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'org.assertj:assertj-core:3.27.4'
}

test {
useJUnitPlatform()
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
package org.testcontainers.k6;

import org.junit.Test;
import org.junit.jupiter.api.Test;
import org.testcontainers.containers.output.WaitingConsumer;
import org.testcontainers.utility.MountableFile;

import java.util.concurrent.TimeUnit;

import static org.assertj.core.api.Assertions.assertThat;

public class K6ContainerTests {
class K6ContainerTests {

@Test
public void k6StandardTest() throws Exception {
void k6StandardTest() throws Exception {
try (
// standard_k6 {
K6Container container = new K6Container("grafana/k6:0.49.0")
Expand Down
Loading