Skip to content

Add TestContainers for running the Mock server #54

@jdubois

Description

@jdubois

As a Java developer, I don't want to run those NPM scripts on my machine, could we have TestContainers support to automate running the Mock server inside a container?

It would be something like:

val prism = GenericContainer("stoplight/prism:5.12.1") .withCommand( "mock https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-0d64ca9e45f51b4279f87b205eeb3a3576df98407698ce053f2e2302c1c08df1.yml" ) .withExposedPorts(4010) prism.start()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions