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/chromadb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ description = "Testcontainers :: ChromaDB"
dependencies {
api project(':testcontainers')

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

testImplementation 'org.assertj:assertj-core:3.27.4'
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'io.rest-assured:rest-assured:5.5.6'
}

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

import io.restassured.http.ContentType;
import org.junit.Test;
import org.junit.jupiter.api.Test;

import static io.restassured.RestAssured.given;

public class ChromaDBContainerTest {
class ChromaDBContainerTest {

@Test
public void test() {
void test() {
try ( // container {
ChromaDBContainer chroma = new ChromaDBContainer("chromadb/chroma:0.4.23")
// }
Expand All @@ -29,7 +29,7 @@ public void test() {
}

@Test
public void testVersion2() {
void testVersion2() {
try (ChromaDBContainer chroma = new ChromaDBContainer("chromadb/chroma:1.0.0")) {
chroma.start();

Expand Down
Loading