XBullet.EasyTesting
Core test hosts, isolated scenarios, authentication helpers, and HTTP response assertions.
<PackageReference Include="XBullet.EasyTesting" Version="VERSION" />
Primary APIs
- EasyTestHost creates minimal-hosting test applications.
- EasyTestHostBuilder<TEntryPoint> composes host overrides, including
UseEnvironmentto change the defaultTestingenvironment before startup. - TestScenarioScope<TEntryPoint> owns one isolated scenario and its resources.
- Scenario<TEntryPoint> provides reusable domain arrangement with single-use guards.
- ScopedTest<TEntryPoint, TFactory> provides a concrete factory and isolated test runner.
- TestJwtBuilder creates deterministic JWT bearer tokens.
- TestHttpResponseAssertions provides fluent response assertions.
- Eventually retries assertions or polls asynchronous conditions.
- EventuallyOptions configures deadlines, polling, and deterministic time.
- EventuallyTimeoutException retains the last assertion failure and attempt diagnostics.