Skip to content

v1.0.18

Choose a tag to compare

@olgerd007 olgerd007 released this 04 Oct 17:20
b585c32

Added

  • Azure Functions hosts now support registered scenario resources, serialized scenario scopes,
    shared failure diagnostics, and the FunctionScenario and FunctionScopedTest bases. Original
    failures and cancellation tokens survive invocation disposal and scenario cleanup errors. See
    Functions scenarios.
  • Messaging assertions now support route counts, predicate selection, absence checks, exact global
    and route sequences, and partial typed payload matching. Collection failures use one consistent
    snapshot and include message positions, routes, types, and payloads. See
    messaging assertions.
  • Added framework-independent Eventually.AssertAsync and Eventually.WaitUntilAsync for
    background work, with cooperative deadlines, caller cancellation, sequential polling, fake-time
    support, and timeout diagnostics retaining the last assertion failure. See
    eventual assertions.
  • EasyTestHost.Create<TEntryPoint>().UseEnvironment(environmentName) selects the host environment
    before application startup, including for scenario child hosts. The default remains Testing.
    See host environments.
  • Scenario<TEntryPoint> provides reusable domain arrangement, guarded configuration, and
    immediate or deferred single-use setup. ScopedTest<TEntryPoint, TFactory> provides a concrete
    factory and isolated test runner with cancellation, failure diagnostics, and cleanup. Both bases
    are test-framework-independent. See
    domain scenarios and scoped tests.

Fixed

  • Message diagnostics now derive the count and message list from one snapshot, preventing
    inconsistent counts during concurrent publication or reset. See
    messaging diagnostics.

Dependencies

  • Azure.Core: 1.62.0 → 1.63.0
  • Microsoft.DurableTask.Abstractions: 1.24.1 → 1.26.0
  • Azure.Messaging.ServiceBus: 7.20.2 → 7.21.0
  • StackExchange.Redis: 3.3.0 → 3.3.1

Full changelog · Release PR #40