How do I share state between tests, short of storing it externally (e.g. environment variables, file, etc)?
Stainless has a setup macro thing named before_each
, and I'm thinking of a similar thing, say shared_values
, but whose variables would be accessible to all tests, and which would also be ran once (at the beginning of the test suite).