AnyFixture
munit.AnyFixture
AnyFixture allows you to acquire resources during setup and clean up resources after the tests finish running.
Fixtures can be local to a single test case by overriding beforeEach
and afterEach
, or they can be re-used for an entire test suite by extending beforeAll
and afterAll
.
It's preferable to use a sub-class like munit.Fixture
or munit.FutureFixture
instead of this class. Extend this class if you're writing an integration a third-party type like Cats Resource
.
Value parameters
- fixtureName
-
The name of this fixture, used for displaying an error message if
beforeAll()
orafterAll()
fail.
Attributes
- See also
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Fixture[T]class FutureFixture[T]
Members list
In this article