Skip to content

Guidance on re-using a shared SetupSuite across multiple packages #1477

Description

@Oscmage

Hi, thanks for this lovely package.

I wonder if it is possible to use a suite across multiple packages?

I have an integration test use case where I'd like to start a container that is expensive in terms of time. I'd like to re-use this container at something like a SetupSuite stage and then tear it down when the full integration suite is complete across all package. I have no problem achieving this when everything is within a shared package. The twist of the problem is that I'd like to re-use this container across multiple packages.

Is my best option to simply put all of my integration tests in one huge package or is there a more clever way to achieve this that doesn't feel like a "hack"?

Thanks!

Activity

  1. locked and limited conversation to collaborators on May 7, 2026
  2. converted this issue into a discussion #1887 on May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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