FerroTestIsolationLevel
enum · ferroui-headless · v0.5.0
enum FerroTestIsolationLevel
Defines the isolation level for headless unit tests, controlling how the application and its associated dispatcher are managed between test runs.
Members
PerAssembly
PerAssembly
Reuses a single application and dispatcher instance across all tests within the assembly.
Tests must not rely on any global or persistent state that could leak between runs. Headless framework won't dispose any resources after tests when using this mode.
PerTest
PerTest
Recreates the application and dispatcher for each individual test method.
This mode ensures complete test isolation, and should be used for tests that modify global application state or rely on a clean dispatcher environment. This is the default isolation level if none is specified.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedResourceKeyObjectPropertyValueAnyValueClassDefaultsCloneCopyDebugStructuralPartialEqPartialEqEqHashErasedDestructorIntoEither
Availability
Extracted for x86_64-unknown-linux-gnu, aarch64-apple-darwin. Cargo features are listed in the crate index.