Skip to content

[Feature]: enable "disableWithoutDocker" on SpockTestContainers #10178

Closed
@Jonathan-Zollinger

Description

@Jonathan-Zollinger

Module

Core

Problem

When using Junit, I can employ this annotation:

@Testcontainers(disabledWithoutDocker = true)

when using spock testcontainers (org.testcontainers.spock.Testcontainers), that disabledWithoutDocker option is not available

Solution

include this option with the spock testcontainers implementation

Benefit

I can use this feature whether I'm writing in spock of junit

Alternatives

use a different testing library, or I can include my own check to emulate this behavior

Would you like to help contributing this feature?

No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions