Back to Testcontainers Java

Pinecone

docs/modules/pinecone.md

2.0.5885 B
Original Source

Pinecone

Testcontainers module for Pinecone Local.

PineconeLocalContainer's usage examples

You can start a Pinecone container instance from any Java application by using:

<!--codeinclude-->

Pinecone container inside_block:container

<!--/codeinclude-->

Adding this module to your project dependencies

Add the following dependency to your pom.xml/build.gradle file:

=== "Gradle"

groovy
testImplementation "org.testcontainers:testcontainers-pinecone:{{latest_version}}"

=== "Maven"

xml
<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>testcontainers-pinecone</artifactId>
    <version>{{latest_version}}</version>
    <scope>test</scope>
</dependency>