stretchr / testify

A toolkit with common assertions and mocks that plays nicely with the standard library
MIT License
22.5k stars 1.56k forks source link

Testify Suite of Suites helper functions #996

Open abMatillion opened 3 years ago

abMatillion commented 3 years ago

Does testify currently have suite of suites helper functions?

Context We have testify test suites that create docker containers within the SetupSuite method though the cost of spinning up docker containers is stacking up as we add more suites, Ideally it would be possible to have a helper setup/teardown functions for all our suites where we would spin up one container and teardown once all suites have ran, we could use the SetupSuite/TearDownSuite for specific suites to clear the current state within the container though keep it running.

boyan-soubachov commented 3 years ago

Unfortunately we do not have a 'meta'-suite. Are you able to nest Suite(s) inside of a Suite?