Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Oscmage opened this issue Sep 29, 2023 · 0 comments
Open

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

Oscmage opened this issue Sep 29, 2023 · 0 comments
Labels
help wanted question Questions related to API usage

Comments

@Oscmage
Copy link

Oscmage commented Sep 29, 2023

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!

@dolmen dolmen added help wanted question Questions related to API usage labels Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted question Questions related to API usage
Projects
None yet
Development

No branches or pull requests

2 participants