File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
src/test/java/org/testcontainers/chromadb Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ description = "Testcontainers :: ChromaDB"
33dependencies {
44 api project(' :testcontainers' )
55
6+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher:1.11.0'
7+
68 testImplementation ' org.assertj:assertj-core:3.27.4'
9+ testImplementation ' org.junit.jupiter:junit-jupiter:5.13.4'
710 testImplementation ' io.rest-assured:rest-assured:5.5.6'
811}
12+
13+ test {
14+ useJUnitPlatform()
15+ }
Original file line number Diff line number Diff line change 11package org .testcontainers .chromadb ;
22
33import io .restassured .http .ContentType ;
4- import org .junit .Test ;
4+ import org .junit .jupiter . api . Test ;
55
66import static io .restassured .RestAssured .given ;
77
8- public class ChromaDBContainerTest {
8+ class ChromaDBContainerTest {
99
1010 @ Test
11- public void test () {
11+ void test () {
1212 try ( // container {
1313 ChromaDBContainer chroma = new ChromaDBContainer ("chromadb/chroma:0.4.23" )
1414 // }
@@ -29,7 +29,7 @@ public void test() {
2929 }
3030
3131 @ Test
32- public void testVersion2 () {
32+ void testVersion2 () {
3333 try (ChromaDBContainer chroma = new ChromaDBContainer ("chromadb/chroma:1.0.0" )) {
3434 chroma .start ();
3535
You can’t perform that action at this time.
0 commit comments