Repository navigation
v4.0.0
aweXpect
⚠️ Breaking changes
- feat!: remove the type-only overload of
IgnoringMembersin the equivalency options (#2134) - feat!: make AreEqualTo of non-generic items generic over the collection (#2098)
- refactor!: name the type parameters of results consistently (#2104)
- feat!: make the signaler and event recording subjects nullable (#2100)
- feat!: negate constraint results only through Invert and InvertIf (#2095)
- refactor!: align the remaining Core option hooks with the option rules (#2092)
- refactor!: make every option an immutable value in one OptionsHolder (#2046)
- feat!: make ReflectionFallback.NotSupported public and move ReflectionFallback to aweXpect.Core.Extending (#2058)
- refactor!: offer the quantified collection items through the Core interfaces (#2026)
- feat!: count the occurrences in the Containing operator of string properties (#2025)
- feat!: add HasDayOfWeek and a generic enum property result (#2023)
- refactor!: rename the member predicates of the equivalency options to IgnoringMembers (#2024)
- refactor!: make the result constructors of aweXpect internal (#2022)
- feat!: support match types for the string values of dictionaries (#2020)
- refactor!: redesign the match types around a matcher per evaluation (#2015)
- refactor!: keep the exception type after HasInner and DoesNotHaveInner with a type (#2018)
- refactor!: make the
ExpectationBuildersurface for extension authors consistent (#1996) - refactor!: add IsActive and IsIntroduced to the expectation grammars (#2007)
- refactor!: move the quantified collection constraints to aweXpect.Core.Extending (#2008)
- refactor!: make the result type shapes consistent for extension authors (#1997)
- refactor!: hand out every nested subject as
IThatSubject<T>(#1988) - refactor!: let aweXpect.Reflection own Customize.aweXpect.Reflection() (#1986)
- refactor!: move ObjectEqualityWithToleranceResult to aweXpect.Core (#1975)
- refactor!: move StringCollectionMatchResult to Core and name the collection matcher tuple (#1974)
- fix!: keep the item type in AreEqualTo on struct enumerables (#1941)
- feat!: let string match types add the contexts of their own failure (#1938)
- fix!: drop the comparer options from the result of AreEquivalentTo on collection items (#1932)
- feat!: release all aweXpect packages from one repository with one version
🚀 New features
- feat: add EventRecordings.StopWhen for expectations on recorded events (#2187)
- feat: report discarded option calls of the extension packages (#2106)
- feat: default the negated result and take the subject in AddExpectations (#2097)
- feat: let the equality options validate an expected value (#2090)
- feat: expose the running test, its cancellation token and attachments through the test framework adapter (#2073)
- feat: add a driver for collection matchers to Core and explain the WithValues failures in Web (#2068)
- feat: add ClosestMatch.AppendHint for an already known suggestion (#2063)
- feat: add AddEqualityConstraint to aweXpect.Core.Extending (#2057)
🐞 Bug fixes
- fix: accept a nullable string accessor in AreUnique and AreNotUnique (#2099)
- fix: explain IsNotOneOf with the candidate that matched (#2016)
- fix: ship the type metadata generator with aweXpect.Core (#1979)
- fix: match AtIndex in aweXpect.Reflection only at the requested index (#1965)
- fix: register custom exceptions despite the target site (#1873)
🧰 Other changes
- refactor: explain the empty result texts of the collection member constraint (#2150)
- chore: create the options holder of an expectation only when an option is set (#2078)
- refactor: compile and load less on the first call of a string expectation (#2084)
- chore: Bump System.Collections.Immutable from 10.0.13 to 10.0.14 (#2087)
- refactor: use the public Core helpers instead of internal copies (#2064)
- perf: reduce the allocations of expectations on members (#2056)
- refactor: let the nullability of collection items flow into their expectations (#2021)
- refactor: continue the element expectations on a non-null collection (#2019)
- refactor: enumerate async enumerables until cancelled without an async iterator (#1911)
- refactor: add expectations on a member without a closure (#1922)
- refactor: compare enums and GUIDs without boxing (#1914)
- refactor: verify a single item without a closure and delegates (#1913)
- chore: Bump System.Collections.Immutable from 10.0.12 to 10.0.13 (#1885)
- test: verify the public API with aweXpect.Snapshots.PublicApi (#1868)
aweXpect.Core
⚠️ Breaking changes
- refactor!: remove StopWhen from IEventRecording (#2186)
- feat!: replace ITimeSystem with TimeProvider (#2148)
- refactor!: put TResult first in IEnumPropertyResult (#2135)
- feat!: support string options in generated collection expectations (#2096)
- refactor!: name the type parameters of results consistently (#2104)
- feat!: negate constraint results only through Invert and InvertIf (#2095)
- refactor!: align the remaining Core option hooks with the option rules (#2092)
- feat!: honour ICopyOnOption in the quantifier and index options (#2089)
- refactor!: make every option an immutable value in one OptionsHolder (#2046)
- feat!: add PropertyComparison.Satisfying so that extensions can add property operators (#2067)
- feat!: make ReflectionFallback.NotSupported public and move ReflectionFallback to aweXpect.Core.Extending (#2058)
- feat!: offer string and number property operators in Core and on IsString() and IsNumber() of aweXpect.Json (#2044)
- refactor!: replace the nested Json DSL with expectations on the JSON value (#2034)
- refactor!: align the parameter names of aweXpect.Reflection across its layers (#2032)
- refactor!: offer the quantified collection items through the Core interfaces (#2026)
- feat!: count the occurrences in the Containing operator of string properties (#2025)
- feat!: add HasDayOfWeek and a generic enum property result (#2023)
- refactor!: redesign the match types around a matcher per evaluation (#2015)
- refactor!: offer the property result operators through interfaces (#2009)
- refactor!: generate the plural expectations of aweXpect.Reflection (#2012)
- refactor!: make the
ExpectationBuildersurface for extension authors consistent (#1996) - refactor!: rename Fail to FailureBothWays on ConstraintResult (#2004)
- refactor!: add IsActive and IsIntroduced to the expectation grammars (#2007)
- refactor!: move the quantified collection constraints to aweXpect.Core.Extending (#2008)
- refactor!: hide the public plumbing of aweXpect.Core (#2002)
- refactor!: use IReadOnlyList for the collection-valued customization settings (#2000)
- refactor!: make the result type shapes consistent for extension authors (#1997)
- refactor!: make the Core option types consistent for extension authors (#1998)
- refactor!: hand out every nested subject as
IThatSubject<T>(#1988) - refactor!: let aweXpect.Reflection own Customize.aweXpect.Reflection() (#1986)
- refactor!: keep the result type after
Because,WithTimeoutandWithCancellationon delegate results (#1993) - refactor!: remove
IOptionsProvider<ExpectationBuilder>from the expectation results (#1984) - refactor!: move ObjectEqualityWithToleranceResult to aweXpect.Core (#1975)
- refactor!: move StringCollectionMatchResult to Core and name the collection matcher tuple (#1974)
- feat!: let string match types add the contexts of their own failure (#1938)
- refactor!: tidy up core option types for extension authors (#1936)
- refactor!: let string match types fail both ways with a reason that follows "it" (#1934)
🚀 New features
- feat: add EventRecordings.StopWhen for expectations on recorded events (#2187)
- feat: add
OptionsProvider.WithOptionsto apply options to a result with or without copy-on-option (#2147) - feat: report discarded option calls of the extension packages (#2106)
- feat: default the negated result and take the subject in AddExpectations (#2097)
- feat: let the equality options validate an expected value (#2090)
- feat: fail null items both ways in generated collection expectations with NullItemFailsBothWays (#2093)
- feat: expose the running test, its cancellation token and attachments through the test framework adapter (#2073)
- feat: add a generated registration hook for extensions to aweXpect.Core (#2074)
- feat: add a driver for collection matchers to Core and explain the WithValues failures in Web (#2068)
- feat: add a public matcher for the excluded assembly prefixes (#2069)
- feat: pass the evaluation context and cancellation token to member accessors (#2065)
- feat: add ClosestMatch.AppendHint for an already known suggestion (#2063)
- feat: add AddEqualityConstraint to aweXpect.Core.Extending (#2057)
- feat: add CustomizationListValue for list-valued customization values (#2059)
- feat: format values with formatters scoped to an expectation (#1978)
- feat: let extensions find It.Is expectations and explain IsJsonSerializable failures like IsEquivalentTo (#1972)
- feat: add WithTimeout, WithCancellation and Because to Expect.ThatAll and Expect.ThatAny (#1957)
- feat: verify Expect.ThatAll and Expect.ThatAny synchronously (#1955)
- feat: exclude TUnit assemblies by default (#1877)
🐞 Bug fixes
- fix: reject null items in the list-valued settings of Core, Reflection and Web (#2184)
- fix: register the cancellation of a delay before its timer (#2172)
- fix: decide a cancellation when it arrives, not when a continuation notices it (#2165)
- fix: compare the host and scheme of a URI ignoring case by default (#2160)
- fix: keep the failure when a result context throws (#2159)
- fix: remove ConfigureAwait(false) from the Core evaluation (#2145)
- fix: apply the formatters of an expectation to the text of a failed negation (#2112)
- fix: mark ITimeSystem as experimental like WithTimeSystem (#2091)
- fix: align the argument messages of the extension packages with Core (#2088)
- fix: keep aweXpect.Reflection string filters unchanged when a string option is applied (#2036)
- fix: ship the type metadata generator with aweXpect.Core (#1979)
- fix: pass JSON numbers to It.Is() as the expected numeric type (#1967)
- fix: match AtIndex in aweXpect.Reflection only at the requested index (#1965)
- fix: allow a nullable inner exception type in WithInner like in HasInner (#1940)
- fix: honor comparison predicates for primitive members of registered types (#1898)
- fix: do not deadlock at the synchronous boundaries of Reflection and Snapshots (#1889)
🧰 Other changes
- perf: skip a formatter scope that would not change the scoped formatters (#2185)
- perf: return an already completed result of
SynchronousBoundary.Waitwithout a task (#2149) - chore: create the options holder of an expectation only when an option is set (#2078)
- refactor: compile and load less on the first call of a string expectation (#2084)
- chore: Bump System.Collections.Immutable from 10.0.13 to 10.0.14 (#2087)
- perf: a fast path for single expectations in aweXpect.Core (#2072)
- perf: reduce the allocations of expectations on members (#2056)
- refactor: let the nullability of collection items flow into their expectations (#2021)
- refactor: make the constructor of
Expectationprivate protected (#1985) - refactor: expose the name of MemberToIgnore.ByName (#1971)
- refactor: fix the reported Sonar issues (#1931)
- refactor: add the subject contexts of a member with its result (#1928)
- refactor: evaluate junctions and members without a state machine when they complete synchronously (#1925)
- refactor: keep the builder, the expectation node and the evaluation context smaller (#1910)
- refactor: add expectations on a member without a closure (#1922)
- refactor: compare with the default equality without a generic virtual call (#1912)
- refactor: allocate less for every expectation, equivalency and combined expectations (#1900)
- refactor: format values without allocating a context and a builder when a custom formatter is registered (#1896)
- refactor: make subject contexts, member expectations and materialized collections cheaper on the happy path (#1895)
- refactor: keep the synchronization context of the caller (#1888)
- test: verify the public API with aweXpect.Snapshots.PublicApi (#1868)
aweXpect.Json
⚠️ Breaking changes
- fix!: reject an invalid expected JSON of
IsJsonSerializedAswhen the expectation is written (#2136) - fix!: make the Json and Xml option methods available with only
using aweXpect;(#2130) - feat!: hand out nodes from the collection views of JsonNode and keep JsonValue in IsNumber (#2107)
- feat!: align the package options of Json, Xml and PublicApi (#2113)
- refactor!: hold the Json lookup option in an OptionsHolder (#2101)
- feat!: parse a string expected value as JSON text in the Json matching expectations (#2102)
- refactor!: name the type parameters of results consistently (#2104)
- feat!: negate constraint results only through Invert and InvertIf (#2095)
- refactor!: align the remaining Core option hooks with the option rules (#2092)
- refactor!: make every option an immutable value in one OptionsHolder (#2046)
- feat!: make ReflectionFallback.NotSupported public and move ReflectionFallback to aweXpect.Core.Extending (#2058)
- fix!: use the customized serializer options in IsJsonSerializable and keep the subject type (#2054)
- fix!: match JsonOptions.IgnoringMember case-sensitively (#2053)
- fix!: fail both ways on unparsable input when expectations on the XML or JSON root follow (#2050)
- feat!: offer string and number property operators in Core and on IsString() and IsNumber() of aweXpect.Json (#2044)
- refactor!: replace the nested Json DSL with expectations on the JSON value (#2034)
- refactor!: redesign the match types around a matcher per evaluation (#2015)
- refactor!: make the
ExpectationBuildersurface for extension authors consistent (#1996) - refactor!: generate the predicate expectations of aweXpect.Json and aweXpect.Web (#2005)
- refactor!: return the non-null subject type from expectations that guarantee it (#1992)
- refactor!: make the result type shapes consistent for extension authors (#1997)
- refactor!: make the Core option types consistent for extension authors (#1998)
- refactor!: hand out every nested subject as
IThatSubject<T>(#1988) - refactor!: make the
JsonOptionsconstructor internal (#1987) - refactor!: let aweXpect.Reflection own Customize.aweXpect.Reflection() (#1986)
- refactor!: shorten the customization extension class names of the extension packages (#1989)
- refactor!: nest expectations on IsValidJson and IsValidXml as an overload instead of Which (#1991)
- refactor!: make the constructor of JsonWhichResult internal (#1961)
- refactor!: move the public types of extension packages into their own namespaces (#1943)
- feat!: add WhoseProperties to IsObject (#1951)
- fix!: return non-null subjects from the status code and nullable JsonElement expectations (#1944)
- refactor!: rename WithJsonOptions to WithDocumentOptions (#1946)
- refactor!: make JsonOptions immutable like XmlOptions (#1935)
- refactor!: name the header and JSON property parameters name (#1942)
- feat!: let string match types add the contexts of their own failure (#1938)
- refactor!: take nested JSON expectations as an Action (#1937)
- refactor!: let string match types fail both ways with a reason that follows "it" (#1934)
- feat!: release all aweXpect packages from one repository with one version
🚀 New features
- feat: add
OptionsProvider.WithOptionsto apply options to a result with or without copy-on-option (#2147) - feat: report discarded option calls of the extension packages (#2106)
- feat: default the negated result and take the subject in AddExpectations (#2097)
- feat: add ClosestMatch.AppendHint for an already known suggestion (#2063)
- feat: add IsNotValidJson and IsNotValidXml (#2043)
- feat: show the subject of failed Json and Xml lookups as context (#2040)
- feat: format values with formatters scoped to an expectation (#1978)
- feat: let extensions find It.Is expectations and explain IsJsonSerializable failures like IsEquivalentTo (#1972)
🐞 Bug fixes
- fix: align the argument messages of the extension packages with Core (#2088)
- fix: use the collection "more" marker in the JSON and XML difference lists (#2061)
- fix: align the number differences of aweXpect.Json with aweXpect for non-finite values and overflow (#2066)
- fix: pass the analyzers of aweXpect.Core on from the extension packages (#2001)
- fix: pass JSON numbers to It.Is() as the expected numeric type (#1967)
🧰 Other changes
- docs: apply the docs style guide (#2156)
- docs: separate the extension READMEs from their docs pages (#2154)
- perf: parse the expected JSON once and the subject of IsValidJson only once (#2122)
- chore: create the options holder of an expectation only when an option is set (#2078)
- refactor: link the polyfill attributes of aweXpect.Core into the extension packages (#2060)
- refactor: dispatch the constraints of JsonNode expectations over all constraint kinds (#2062)
- perf: look up properties and elements of a JsonNode without converting it (#2055)
- perf: convert a JsonNode to a JsonElement only once per evaluation (#2047)
- refactor: share the JsonElement constraints with the nullable JsonElement expectations (#1983)
- refactor: expose the name of MemberToIgnore.ByName (#1971)
- refactor: add expectations on a member without a closure (#1922)
- refactor: match an equal string, boolean or integer in
IsObjectandIsArraywithout an expected document (#1908) - refactor: pair JSON array elements in any order without describing the differences of candidates (#1907)
- refactor: make JSON, HTTP and reflection expectations cheaper on the happy path (#1902)
- refactor: speed up matching JSON against an expected object (#1891)
aweXpect.Web
⚠️ Breaking changes
- fix!: keep encoded slashes distinguishable in
HasPath(#2142) - fix!: treat a missing content of a request like that of a response (#2138)
- fix!: map an IPv4-mapped address to IPv4 before the loopback check of
IPAddress(#2141) - refactor!: hand non-nullable values to
WhoseValuesof headers and query parameters (#2133) - refactor!: seal the built-in content processors of aweXpect.Web (#2137)
- refactor!: put TResult first in IEnumPropertyResult (#2135)
- fix!: fail
WhoseValuewhen a header or query parameter does not have exactly one value (#2131) - feat!: let the header expectations also read the content headers (#2128)
- refactor!: name the expected values of problem details
expected(#2126) - feat!: split HasProblemDetailsContent by whether a type is expected (#2125)
- refactor!: name the type parameters of results consistently (#2104)
- fix!: compare the media type of HasContentType ignoring case by default (#2070)
- refactor!: make every option an immutable value in one OptionsHolder (#2046)
- feat!: add PropertyComparison.Satisfying so that extensions can add property operators (#2067)
- feat!: add request content type and DoesNotHaveStatusCode to aweXpect.Web (#2045)
- feat!: offer the string match types on single Web values (#2038)
- refactor!: redesign the match types around a matcher per evaluation (#2015)
- refactor!: make the
ExpectationBuildersurface for extension authors consistent (#1996) - refactor!: generate the predicate expectations of aweXpect.Json and aweXpect.Web (#2005)
- refactor!: use IReadOnlyList for the collection-valued customization settings (#2000)
- refactor!: make the plumbing constructors of StatusCodeResult and the filtered collections internal (#1990)
- refactor!: hand out every nested subject as
IThatSubject<T>(#1988) - refactor!: shorten the customization extension class names of the extension packages (#1989)
- refactor!: move StringCollectionMatchResult to Core and name the collection matcher tuple (#1974)
- fix!: return non-null subjects from the status code and nullable JsonElement expectations (#1944)
- refactor!: name the header and JSON property parameters name (#1942)
- refactor!: make the problem details options internal (#1953)
- feat!: let string match types add the contexts of their own failure (#1938)
- refactor!: rename DifferentTo to NotEqualTo on the status code result (#1939)
- feat!: release all aweXpect packages from one repository with one version
🚀 New features
- feat: add nested expectations on the request URI of an HttpRequestMessage (#2124)
- feat: default the negated result and take the subject in AddExpectations (#2097)
- feat: add a driver for collection matchers to Core and explain the WithValues failures in Web (#2068)
- feat: pass the evaluation context and cancellation token to member accessors (#2065)
- feat: add AddEqualityConstraint to aweXpect.Core.Extending (#2057)
- feat: add CustomizationListValue for list-valued customization values (#2059)
- feat: add direct overloads for the scheme, host, path and fragment of a Uri (#2042)
🐞 Bug fixes
- fix: reject null items in the list-valued settings of Core, Reflection and Web (#2184)
- fix: keep the inner grammar of the Web "which" wrappers singular and reject blank header names (#2161)
- fix: compare the host and scheme of a URI ignoring case by default (#2160)
- fix: drop the nested grammar in the Web member expectations ending in "which" (#2127)
- fix: align the argument messages of the extension packages with Core (#2088)
- fix: read a missing response content as empty instead of throwing on .NET Framework (#2048)
- fix: pass the analyzers of aweXpect.Core on from the extension packages (#2001)
- fix: read the result contexts of IPAddress equality from the evaluation options (#1973)
🧰 Other changes
- docs: apply the docs style guide (#2156)
- docs: separate the extension READMEs from their docs pages (#2154)
- chore: create the options holder of an expectation only when an option is set (#2078)
- refactor: use the public Core helpers instead of internal copies (#2064)
- chore: remove the unused string member failure helper of aweXpect.Web (#1981)
- refactor: check for a relative URI inside the constraints of ThatUri (#1923)
- refactor: look up a query parameter without copying its values on the happy path (#1915)
- refactor: add expectations on a member without a closure (#1922)
- refactor: make JSON, HTTP and reflection expectations cheaper on the happy path (#1902)
- refactor: format the expected status code only when the expectation fails (#1894)
aweXpect.Xml
⚠️ Breaking changes
- fix!: make the Json and Xml option methods available with only
using aweXpect;(#2130) - feat!: align the package options of Json, Xml and PublicApi (#2113)
- feat!: hand out non-null Xml nodes and add attribute and value results (#2105)
- refactor!: name the type parameters of results consistently (#2104)
- refactor!: make every option an immutable value in one OptionsHolder (#2046)
- fix!: fail both ways on unparsable input when expectations on the XML or JSON root follow (#2050)
- refactor!: redesign the match types around a matcher per evaluation (#2015)
- refactor!: make the
ExpectationBuildersurface for extension authors consistent (#1996) - refactor!: return the non-null subject type from expectations that guarantee it (#1992)
- refactor!: hand out every nested subject as
IThatSubject<T>(#1988) - refactor!: nest expectations on IsValidJson and IsValidXml as an overload instead of Which (#1991)
- refactor!: move the public types of extension packages into their own namespaces (#1943)
- feat!: let string match types add the contexts of their own failure (#1938)
- refactor!: let string match types fail both ways with a reason that follows "it" (#1934)
- feat!: release all aweXpect packages from one repository with one version
🚀 New features
- feat: add
OptionsProvider.WithOptionsto apply options to a result with or without copy-on-option (#2147) - feat: report discarded option calls of the extension packages (#2106)
- feat: default the negated result and take the subject in AddExpectations (#2097)
- feat: add ClosestMatch.AppendHint for an already known suggestion (#2063)
- feat: add IsNotValidJson and IsNotValidXml (#2043)
- feat: show the subject of failed Json and Xml lookups as context (#2040)
- feat: add IgnoringAdditionalNodes to the XML options (#1962)
- feat: add HasValue for XML elements (#1963)
🐞 Bug fixes
- fix: indent nested elements once in the "Actual" context of a negated Xml Matches (#2189)
- fix: align the argument messages of the extension packages with Core (#2088)
- fix: use the collection "more" marker in the JSON and XML difference lists (#2061)
- fix: pass the analyzers of aweXpect.Core on from the extension packages (#2001)
🧰 Other changes
- chore: release aweXpect.Xml and aweXpect.Snapshots as stable packages (#2163)
- docs: apply the docs style guide (#2156)
- docs: separate the extension READMEs from their docs pages (#2154)
- refactor: link the polyfill attributes of aweXpect.Core into the extension packages (#2060)
- refactor: add expectations on a member without a closure (#1922)
- refactor: share the empty sets of an XML comparison without members to ignore (#1909)
- refactor: pair XML child nodes in any order without describing the differences of candidates (#1906)
- refactor: compare XML and look up XML nodes faster on the happy path (#1892)
aweXpect.Reflection
⚠️ Breaking changes
- refactor!: build the remaining plural expectations of aweXpect.Reflection on the generated collection constraints (#2151)
- refactor!: build the plural type expectations of aweXpect.Reflection on the generated collection constraints (#2146)
- refactor!: align the member-type and parameter filter names of aweXpect.Reflection (#2144)
- fix!: fail the reflection collection expectations and their negations for a null item (#2132)
- feat!: pass the cancellation token to the filters of aweXpect.Reflection (#2121)
- refactor!: move AccessModifiers to the aweXpect.Reflection namespace (#2111)
- feat!: support string options in generated collection expectations (#2096)
- refactor!: name the type parameters of results consistently (#2104)
- feat!: negate constraint results only through Invert and InvertIf (#2095)
- feat!: honour ICopyOnOption in the quantifier and index options (#2089)
- refactor!: make every option an immutable value in one OptionsHolder (#2046)
- feat!: make ReflectionFallback.NotSupported public and move ReflectionFallback to aweXpect.Core.Extending (#2058)
- refactor!: align the parameter names of aweXpect.Reflection across its layers (#2032)
- refactor!: select access modifiers of types only through the chain or a filter (#2033)
- refactor!: move the results of aweXpect.Reflection into their own namespace (#2029)
- feat!: accept an enumerable of expected dependencies on assemblies (#2028)
- refactor!: unify the inheritance options of aweXpect.Reflection (#2027)
- refactor!: offer the quantified collection items through the Core interfaces (#2026)
- refactor!: redesign the match types around a matcher per evaluation (#2015)
- refactor!: offer the property result operators through interfaces (#2009)
- refactor!: generate the plural expectations of aweXpect.Reflection (#2012)
- refactor!: use IReadOnlyList for the collection-valued customization settings (#2000)
- refactor!: make the changeable filter interfaces of aweXpect.Reflection internal (#1999)
- refactor!: return the non-null subject type from expectations that guarantee it (#1992)
- refactor!: make the result type shapes consistent for extension authors (#1997)
- refactor!: make the plumbing constructors of StatusCodeResult and the filtered collections internal (#1990)
- refactor!: let aweXpect.Reflection own Customize.aweXpect.Reflection() (#1986)
- refactor!: use AtIndexFromEnd in aweXpect.Reflection instead of AtIndex(i).FromEnd() (#1977)
- feat!: filter parameters by a custom predicate with Matching in aweXpect.Reflection (#1960)
- refactor!: move the public types of extension packages into their own namespaces (#1943)
- refactor!: replace the forceDirect flag of aweXpect.Reflection with explicit Directly methods (#1950)
- refactor!: make the plumbing constructors of aweXpect.Reflection internal (#1956)
- feat!: let string match types add the contexts of their own failure (#1938)
- feat!: use the core string options on reflection name filters (#1933)
- feat!: release all aweXpect packages from one repository with one version
🚀 New features
- feat: add the dependency and operator type filters and document OrHas and the parameter options (#2115)
- feat: default the negated result and take the subject in AddExpectations (#2097)
- feat: fail null items both ways in generated collection expectations with NullItemFailsBothWays (#2093)
- feat: add a public matcher for the excluded assembly prefixes (#2069)
- feat: add CustomizationListValue for list-valued customization values (#2059)
- feat: negate the setter checks, select operators on method collections and check access modifiers as a value (#2035)
- feat: verify that types depend on a runtime type (#2031)
- feat: add the missing negations to aweXpect.Reflection (#1948)
- feat: add DependOn() and DoNotDependOn() for collections of types (#1945)
🐞 Bug fixes
- fix: reject null items in the list-valued settings of Core, Reflection and Web (#2184)
- fix: separate the filter descriptions of the In.Type and In.Types sources (#2119)
- fix: align the argument messages of the extension packages with Core (#2088)
- fix: read the reflection sources when they are enumerated, not when they are created (#2052)
- fix: keep aweXpect.Reflection string filters unchanged when a string option is applied (#2036)
- fix: pass the analyzers of aweXpect.Core on from the extension packages (#2001)
- fix: limit the item lists in aweXpect.Reflection failures (#1980)
- fix: keep aweXpect.Reflection filters unchanged when an option is applied (#1969)
- fix: honour inherit in the attribute expectations of properties and events (#1968)
- fix: match AtIndex in aweXpect.Reflection only at the requested index (#1965)
- fix: show the parameter modifiers in the formatted methods and constructors of aweXpect.Reflection (#1964)
- fix: take params arrays in aweXpect.Reflection so consumers below C#13 can pass single values (#1959)
- fix: do not deadlock at the synchronous boundaries of Reflection and Snapshots (#1889)
🧰 Other changes
- docs: apply the docs style guide (#2156)
- docs: separate the extension READMEs from their docs pages (#2154)
- chore: create the options holder of an expectation only when an option is set (#2078)
- refactor: make the options of aweXpect.Reflection immutable values (#2071)
- refactor: link the polyfill attributes of aweXpect.Core into the extension packages (#2060)
- refactor: generate the singular predicate expectations of aweXpect.Reflection (#2006)
- refactor: fix the reported Sonar issues (#1931)
- refactor: check attribute expectations without a predicate with
IsDefined(#1920) - refactor: cache whether a method is async (#1917)
- refactor: cache the members of a type per scope and customization (#1916)
- refactor: list the types of unfiltered assemblies in a single iterator (#1921)
- refactor: cache the nullability annotation of a member (#1918)
- refactor: read the included compiler-generated and special-name members without a customization value (#1919)
- refactor: make JSON, HTTP and reflection expectations cheaper on the happy path (#1902)
- refactor: speed up architecture rules on the types of an assembly (#1893)
aweXpect.Snapshots
⚠️ Breaking changes
- feat!: list the snapshot and public API options in the failure (#2123)
- feat!: split the snapshot result by the kind of subject (#2116)
- feat!: rename ComparedWith to Using in the snapshot results (#2103)
- refactor!: name the type parameters of results consistently (#2104)
- refactor!: make every option an immutable value in one OptionsHolder (#2046)
- fix!: fail snapshot ids that differ only in case and compare paths by one rule (#2051)
- refactor!: merge the options overloads of MatchesPublicApiSnapshot (#2037)
- refactor!: redesign the match types around a matcher per evaluation (#2015)
- refactor!: use IReadOnlyList for the collection-valued customization settings (#2000)
- refactor!: return the non-null subject type from expectations that guarantee it (#1992)
- refactor!: shorten the customization extension class names of the extension packages (#1989)
- refactor!: move the public types of extension packages into their own namespaces (#1943)
- feat!: release all aweXpect packages from one repository with one version
🚀 New features
- feat: keep named snapshots in a directory per test file and method (#2181)
- feat: expose the running test, its cancellation token and attachments through the test framework adapter (#2073)
- feat: add a generated registration hook for extensions to aweXpect.Core (#2074)
- feat: add CustomizationListValue for list-valued customization values (#2059)
- feat: nest the snapshot files under their test files in the IDE (#2010)
🐞 Bug fixes
- fix: never compile snapshot files of a test project (#2118)
- fix: let the text selection of snapshot rules return a copy for each option (#2108)
- fix: let WithExtension accept the nullable public API snapshot result (#2110)
- fix: keep snapshot rule selections unchanged when a string option is applied (#2049)
- fix: pass the analyzers of aweXpect.Core on from the extension packages (#2001)
- fix: let
?in a snapshot wildcard mask match a surrogate pair as one character (#1982) - fix: ship the type metadata generator with aweXpect.Core (#1979)
- fix: do not deadlock at the synchronous boundaries of Reflection and Snapshots (#1889)
🧰 Other changes
- chore: release aweXpect.Xml and aweXpect.Snapshots as stable packages (#2163)
- docs: apply the docs style guide (#2156)
- docs: separate the extension READMEs from their docs pages (#2154)
- refactor: link the polyfill attributes of aweXpect.Core into the extension packages (#2060)
aweXpect.Snapshots.DiffEngine
⚠️ Breaking changes
- refactor!: move
DiffEngineReporterinto the namespaceaweXpect.Snapshots.DiffEngine(#2140) - refactor!: shorten the customization extension class names of the extension packages (#1989)
- feat!: release all aweXpect packages from one repository with one version
🚀 New features
- feat: add a generated registration hook for extensions to aweXpect.Core (#2074)
🐞 Bug fixes
- fix: pass the analyzers of aweXpect.Core on from the extension packages (#2001)
🧰 Other changes
- chore: release aweXpect.Xml and aweXpect.Snapshots as stable packages (#2163)
- docs: separate the extension READMEs from their docs pages (#2154)
aweXpect.Snapshots.PublicApi
⚠️ Breaking changes
- feat!: list the snapshot and public API options in the failure (#2123)
- feat!: align the package options of Json, Xml and PublicApi (#2113)
- feat!: split the snapshot result by the kind of subject (#2116)
- refactor!: accept optional options in PublicApiDeclarations.GenerateFrom (#2114)
- refactor!: merge the options overloads of MatchesPublicApiSnapshot (#2037)
- refactor!: make the
ExpectationBuildersurface for extension authors consistent (#1996) - refactor!: return the non-null subject type from expectations that guarantee it (#1992)
- refactor!: move the public types of extension packages into their own namespaces (#1943)
- feat!: release all aweXpect packages from one repository with one version
🚀 New features
- feat: store public API snapshots as C# files (#2182)
- feat: report discarded option calls of the extension packages (#2106)
🐞 Bug fixes
- fix: pass the analyzers of aweXpect.Core on from the extension packages (#2001)
🧰 Other changes
- chore: release aweXpect.Xml and aweXpect.Snapshots as stable packages (#2163)
- docs: separate the extension READMEs from their docs pages (#2154)
What's Changed
📖 Documentation
- docs: add an agent guide by @vbreuss in #1872
- docs: update the README and the extension packages overview by @vbreuss in #1897
- docs: show the benchmark results of the extension packages by @vbreuss in #1905
- docs: add a migration guide from aweXpect 3 to 4 by @vbreuss in #2030
- docs: link the extension docs instead of the archived repositories by @vbreuss in #2083
- docs: focus the documentation on users and extension authors by @vbreuss in #2094
- docs: separate the extension READMEs from their docs pages by @vbreuss in #2154
- docs: lead the v3 migration with Native AOT and complete the v4 changelog by @vbreuss in #2162
- docs: draw the aweXpect check as a brush stroke by @vbreuss in #2190
- docs: link aweXpect.Chronology at its new location by @vbreuss in #2191
🧰 Maintenance
- chore: bump aweXpect to v3.4.0 by @vbreuss in #1866
- ci: gate the push on the test jobs directly by @vbreuss in #1867
- test: verify the public API with aweXpect.Snapshots.PublicApi by @vbreuss in #1868
- chore: target the
.slnxsolution in the repository settings by @vbreuss in #1869 - chore: align the IDE settings, sponsoring and release notes by @vbreuss in #1870
- fix: register custom exceptions despite the target site by @vbreuss in #1873
- test: name the data-driven enum value tests after TUnit arguments by @vbreuss in #1874
- docs: say in CONTRIBUTING.md that the mutation tests are disabled by @vbreuss in #1876
- test: run the API tests on TUnit by @vbreuss in #1875
- feat: exclude TUnit assemblies by default by @vbreuss in #1877
- chore: clean up the build setup by @vbreuss in #1879
- ci: run Stryker in project mode by @vbreuss in #1878
- chore: Bump EnricoMi/publish-unit-test-result-action from 2.24.0 to 2.25.0 by @dependabot[bot] in #1881
- chore: Bump the tunit group with 4 updates by @dependabot[bot] in #1882
- chore: Bump Microsoft.NET.Test.Sdk from 18.10.1 to 18.11.0 by @dependabot[bot] in #1884
- chore: Bump System.Collections.Immutable from 10.0.12 to 10.0.13 by @dependabot[bot] in #1885
- feat!: release all aweXpect packages from one repository with one version by @vbreuss in #1886
- chore: rename the ReSharper settings back to aweXpect.sln.DotSettings by @vbreuss in #1887
- refactor: keep the synchronization context of the caller by @vbreuss in #1888
- fix: do not deadlock at the synchronous boundaries of Reflection and Snapshots by @vbreuss in #1889
- refactor: speed up matching JSON against an expected object by @vbreuss in #1891
- refactor: format the expected status code only when the expectation fails by @vbreuss in #1894
- refactor: speed up architecture rules on the types of an assembly by @vbreuss in #1893
- refactor: make subject contexts, member expectations and materialized collections cheaper on the happy path by @vbreuss in #1895
- refactor: compare XML and look up XML nodes faster on the happy path by @vbreuss in #1892
- refactor: format values without allocating a context and a builder when a custom formatter is registered by @vbreuss in #1896
- test: cover the main features of the extension packages in their benchmarks by @vbreuss in #1899
- refactor: make JSON, HTTP and reflection expectations cheaper on the happy path by @vbreuss in #1902
- fix: honor comparison predicates for primitive members of registered types by @vbreuss in #1898
- refactor: allocate less for every expectation, equivalency and combined expectations by @vbreuss in #1900
- refactor: pair XML child nodes in any order without describing the differences of candidates by @vbreuss in #1906
- refactor: pair JSON array elements in any order without describing the differences of candidates by @vbreuss in #1907
- refactor: match an equal string, boolean or integer in
IsObjectandIsArraywithout an expected document by @vbreuss in #1908 - refactor: share the empty sets of an XML comparison without members to ignore by @vbreuss in #1909
- refactor: verify a single item without a closure and delegates by @vbreuss in #1913
- refactor: compare with the default equality without a generic virtual call by @vbreuss in #1912
- refactor: read the included compiler-generated and special-name members without a customization value by @vbreuss in #1919
- refactor: cache the nullability annotation of a member by @vbreuss in #1918
- refactor: list the types of unfiltered assemblies in a single iterator by @vbreuss in #1921
- refactor: compare enums and GUIDs without boxing by @vbreuss in #1914
- refactor: add expectations on a member without a closure by @vbreuss in #1922
- refactor: cache the members of a type per scope and customization by @vbreuss in #1916
- refactor: look up a query parameter without copying its values on the happy path by @vbreuss in #1915
- refactor: check for a relative URI inside the constraints of ThatUri by @vbreuss in #1923
- refactor: keep the builder, the expectation node and the evaluation context smaller by @vbreuss in #1910
- refactor: enumerate async enumerables until cancelled without an async iterator by @vbreuss in #1911
- refactor: cache whether a method is async by @vbreuss in #1917
- refactor: evaluate junctions and members without a state machine when they complete synchronously by @vbreuss in #1925
- test: limit the wrapping string formatter to the test that registers it by @vbreuss in #1929
- refactor: add the subject contexts of a member with its result by @vbreuss in #1928
- refactor: check attribute expectations without a predicate with
IsDefinedby @vbreuss in #1920 - refactor: fix the reported Sonar issues by @vbreuss in #1931
- fix!: drop the comparer options from the result of AreEquivalentTo on collection items by @vbreuss in #1932
- refactor!: rename DifferentTo to NotEqualTo on the status code result by @vbreuss in #1939
- feat!: use the core string options on reflection name filters by @vbreuss in #1933
- docs: write down the API conventions of extension packages by @vbreuss in #1954
- refactor!: let string match types fail both ways with a reason that follows "it" by @vbreuss in #1934
- refactor!: take nested JSON expectations as an Action by @vbreuss in #1937
- fix: allow a nullable inner exception type in WithInner like in HasInner by @vbreuss in #1940
- refactor!: tidy up core option types for extension authors by @vbreuss in #1936
- feat!: let string match types add the contexts of their own failure by @vbreuss in #1938
- fix!: keep the item type in AreEqualTo on struct enumerables by @vbreuss in #1941
- refactor!: make the plumbing constructors of aweXpect.Reflection internal by @vbreuss in #1956
- refactor!: make the problem details options internal by @vbreuss in #1953
- refactor!: name the header and JSON property parameters name by @vbreuss in #1942
- refactor!: make JsonOptions immutable like XmlOptions by @vbreuss in #1935
- refactor!: rename WithJsonOptions to WithDocumentOptions by @vbreuss in #1946
- feat: verify Expect.ThatAll and Expect.ThatAny synchronously by @vbreuss in #1955
- feat: add DependOn() and DoNotDependOn() for collections of types by @vbreuss in #1945
- fix!: return non-null subjects from the status code and nullable JsonElement expectations by @vbreuss in #1944
- feat: add WithTimeout, WithCancellation and Because to Expect.ThatAll and Expect.ThatAny by @vbreuss in https://github.com/Testably/aweXpect/pull/1957
- refactor!: replace the forceDirect flag of aweXpect.Reflection with explicit Directly methods by @vbreuss in https://github.com/Testably/aweXpect/pull/1950
- feat!: add WhoseProperties to IsObject by @vbreuss in https://github.com/Testably/aweXpect/pull/1951
- refactor!: move the public types of extension packages into their own namespaces by @vbreuss in https://github.com/Testably/aweXpect/pull/1943
- feat: add the missing negations to aweXpect.Reflection by @vbreuss in https://github.com/Testably/aweXpect/pull/1948
- fix: take params arrays in aweXpect.Reflection so consumers below C#13 can pass single values by @vbreuss in https://github.com/Testably/aweXpect/pull/1959
- refactor!: make the constructor of JsonWhichResult internal by @vbreuss in https://github.com/Testably/aweXpect/pull/1961
- feat: add HasValue for XML elements by @vbreuss in https://github.com/Testably/aweXpect/pull/1963
- feat: add IgnoringAdditionalNodes to the XML options by @vbreuss in https://github.com/Testably/aweXpect/pull/1962
- fix: show the parameter modifiers in the formatted methods and constructors of aweXpect.Reflection by @vbreuss in https://github.com/Testably/aweXpect/pull/1964
- fix: match AtIndex in aweXpect.Reflection only at the requested index by @vbreuss in https://github.com/Testably/aweXpect/pull/1965
- feat!: filter parameters by a custom predicate with Matching in aweXpect.Reflection by @vbreuss in https://github.com/Testably/aweXpect/pull/1960
- docs: align the structure of the Json and Xml extension docs by @vbreuss in https://github.com/Testably/aweXpect/pull/1966
- docs: use the music theme in the remaining examples by @vbreuss in https://github.com/Testably/aweXpect/pull/1970
- fix: honour inherit in the attribute expectations of properties and events by @vbreuss in https://github.com/Testably/aweXpect/pull/1968
- test: expect the params modifier in the Matching failure messages by @vbreuss in https://github.com/Testably/aweXpect/pull/1976
- fix: pass JSON numbers to It.Is() as the expected numeric type by @vbreuss in https://github.com/Testably/aweXpect/pull/1967
- fix: keep aweXpect.Reflection filters unchanged when an option is applied by @vbreuss in https://github.com/Testably/aweXpect/pull/1969
- refactor!: move StringCollectionMatchResult to Core and name the collection matcher tuple by @vbreuss in https://github.com/Testably/aweXpect/pull/1974
- refactor!: move ObjectEqualityWithToleranceResult to aweXpect.Core by @vbreuss in https://github.com/Testably/aweXpect/pull/1975
- feat: let extensions find It.Is expectations and explain IsJsonSerializable failures like IsEquivalentTo by @vbreuss in https://github.com/Testably/aweXpect/pull/1972
- refactor: expose the name of MemberToIgnore.ByName by @vbreuss in https://github.com/Testably/aweXpect/pull/1971
- fix: read the result contexts of IPAddress equality from the evaluation options by @vbreuss in https://github.com/Testably/aweXpect/pull/1973
- refactor!: use AtIndexFromEnd in aweXpect.Reflection instead of AtIndex(i).FromEnd() by @vbreuss in https://github.com/Testably/aweXpect/pull/1977
- feat: format values with formatters scoped to an expectation by @vbreuss in https://github.com/Testably/aweXpect/pull/1978
- fix: ship the type metadata generator with aweXpect.Core by @vbreuss in https://github.com/Testably/aweXpect/pull/1979
- fix: limit the item lists in aweXpect.Reflection failures by @vbreuss in https://github.com/Testably/aweXpect/pull/1980
- chore: remove the unused string member failure helper of aweXpect.Web by @vbreuss in https://github.com/Testably/aweXpect/pull/1981
- fix: let
?in a snapshot wildcard mask match a surrogate pair as one character by @vbreuss in https://github.com/Testably/aweXpect/pull/1982 - refactor: share the JsonElement constraints with the nullable JsonElement expectations by @vbreuss in https://github.com/Testably/aweXpect/pull/1983
- refactor!: remove
IOptionsProvider<ExpectationBuilder>from the expectation results by @vbreuss in https://github.com/Testably/aweXpect/pull/1984 - refactor: make the constructor of
Expectationprivate protected by @vbreuss in https://github.com/Testably/aweXpect/pull/1985 - refactor!: nest expectations on IsValidJson and IsValidXml as an overload instead of Which by @vbreuss in https://github.com/Testably/aweXpect/pull/1991
- refactor!: shorten the customization extension class names of the extension packages by @vbreuss in https://github.com/Testably/aweXpect/pull/1989
- refactor!: keep the result type after
Because,WithTimeoutandWithCancellationon delegate results by @vbreuss in https://github.com/Testably/aweXpect/pull/1993 - refactor!: let aweXpect.Reflection own Customize.aweXpect.Reflection() by @vbreuss in https://github.com/Testably/aweXpect/pull/1986
- refactor!: make the
JsonOptionsconstructor internal by @vbreuss in https://github.com/Testably/aweXpect/pull/1987 - refactor!: hand out every nested subject as
IThatSubject<T>by @vbreuss in https://github.com/Testably/aweXpect/pull/1988 - refactor!: make the plumbing constructors of StatusCodeResult and the filtered collections internal by @vbreuss in https://github.com/Testably/aweXpect/pull/1990
- refactor!: make the Core option types consistent for extension authors by @vbreuss in https://github.com/Testably/aweXpect/pull/1998
- chore: nest the snapshot files in the IDE and review API changes in a diff tool by @vbreuss in https://github.com/Testably/aweXpect/pull/2003
- refactor!: make the result type shapes consistent for extension authors by @vbreuss in https://github.com/Testably/aweXpect/pull/1997
- refactor!: return the non-null subject type from expectations that guarantee it by @vbreuss in https://github.com/Testably/aweXpect/pull/1992
- fix: pass the analyzers of aweXpect.Core on from the extension packages by @vbreuss in https://github.com/Testably/aweXpect/pull/2001
- test: rename the fixture attribute of the Reflection attribute tests to MarkerAttribute by @vbreuss in https://github.com/Testably/aweXpect/pull/1994
- refactor!: make the changeable filter interfaces of aweXpect.Reflection internal by @vbreuss in https://github.com/Testably/aweXpect/pull/1999
- refactor!: use IReadOnlyList for the collection-valued customization settings by @vbreuss in https://github.com/Testably/aweXpect/pull/2000
- refactor!: hide the public plumbing of aweXpect.Core by @vbreuss in https://github.com/Testably/aweXpect/pull/2002
- refactor!: move the quantified collection constraints to aweXpect.Core.Extending by @vbreuss in https://github.com/Testably/aweXpect/pull/2008
- refactor!: add IsActive and IsIntroduced to the expectation grammars by @vbreuss in https://github.com/Testably/aweXpect/pull/2007
- refactor!: rename Fail to FailureBothWays on ConstraintResult by @vbreuss in https://github.com/Testably/aweXpect/pull/2004
- refactor!: generate the predicate expectations of aweXpect.Json and aweXpect.Web by @vbreuss in https://github.com/Testably/aweXpect/pull/2005
- feat: nest the snapshot files under their test files in the IDE by @vbreuss in https://github.com/Testably/aweXpect/pull/2010
- refactor!: make the
ExpectationBuildersurface for extension authors consistent by @vbreuss in https://github.com/Testably/aweXpect/pull/1996 - refactor: generate the singular predicate expectations of aweXpect.Reflection by @vbreuss in https://github.com/Testably/aweXpect/pull/2006
- test: use the renamed MemberAccessor factory in the expectation builder tests by @vbreuss in https://github.com/Testably/aweXpect/pull/2011
- refactor!: generate the plural expectations of aweXpect.Reflection by @vbreuss in https://github.com/Testably/aweXpect/pull/2012
- refactor!: offer the property result operators through interfaces by @vbreuss in https://github.com/Testably/aweXpect/pull/2009
- docs: make the longest examples easier to read by @vbreuss in https://github.com/Testably/aweXpect/pull/2014
- refactor!: keep the exception type after HasInner and DoesNotHaveInner with a type by @vbreuss in https://github.com/Testably/aweXpect/pull/2018
- refactor!: redesign the match types around a matcher per evaluation by @vbreuss in https://github.com/Testably/aweXpect/pull/2015
- fix: explain IsNotOneOf with the candidate that matched by @vbreuss in https://github.com/Testably/aweXpect/pull/2016
- refactor: continue the element expectations on a non-null collection by @vbreuss in https://github.com/Testably/aweXpect/pull/2019
- feat!: support match types for the string values of dictionaries by @vbreuss in https://github.com/Testably/aweXpect/pull/2020
- refactor!: make the result constructors of aweXpect internal by @vbreuss in https://github.com/Testably/aweXpect/pull/2022
- refactor!: rename the member predicates of the equivalency options to IgnoringMembers by @vbreuss in https://github.com/Testably/aweXpect/pull/2024
- feat!: add HasDayOfWeek and a generic enum property result by @vbreuss in https://github.com/Testably/aweXpect/pull/2023
- refactor: let the nullability of collection items flow into their expectations by @vbreuss in https://github.com/Testably/aweXpect/pull/2021
- feat!: count the occurrences in the Containing operator of string properties by @vbreuss in https://github.com/Testably/aweXpect/pull/2025
- refactor!: offer the quantified collection items through the Core interfaces by @vbreuss in https://github.com/Testably/aweXpect/pull/2026
- refactor!: unify the inheritance options of aweXpect.Reflection by @vbreuss in https://github.com/Testably/aweXpect/pull/2027
- feat!: accept an enumerable of expected dependencies on assemblies by @vbreuss in https://github.com/Testably/aweXpect/pull/2028
- refactor!: move the results of aweXpect.Reflection into their own namespace by @vbreuss in https://github.com/Testably/aweXpect/pull/2029
- feat: verify that types depend on a runtime type by @vbreuss in https://github.com/Testably/aweXpect/pull/2031
- refactor!: select access modifiers of types only through the chain or a filter by @vbreuss in https://github.com/Testably/aweXpect/pull/2033
- refactor!: align the parameter names of aweXpect.Reflection across its layers by @vbreuss in https://github.com/Testably/aweXpect/pull/2032
- feat: negate the setter checks, select operators on method collections and check access modifiers as a value by @vbreuss in https://github.com/Testably/aweXpect/pull/2035
- fix: keep aweXpect.Reflection string filters unchanged when a string option is applied by @vbreuss in https://github.com/Testably/aweXpect/pull/2036
- refactor!: merge the options overloads of MatchesPublicApiSnapshot by @vbreuss in https://github.com/Testably/aweXpect/pull/2037
- feat!: offer the string match types on single Web values by @vbreuss in https://github.com/Testably/aweXpect/pull/2038
- refactor!: replace the nested Json DSL with expectations on the JSON value by @vbreuss in https://github.com/Testably/aweXpect/pull/2034
- ci: collect test coverage only for the code analysis by @vbreuss in https://github.com/Testably/aweXpect/pull/2039
- ci: summarize the benchmarks in one comment compared to main by @vbreuss in https://github.com/Testably/aweXpect/pull/2041
- feat: show the subject of failed Json and Xml lookups as context by @vbreuss in https://github.com/Testably/aweXpect/pull/2040
- feat: add IsNotValidJson and IsNotValidXml by @vbreuss in https://github.com/Testably/aweXpect/pull/2043
- feat: add direct overloads for the scheme, host, path and fragment of a Uri by @vbreuss in https://github.com/Testably/aweXpect/pull/2042
- feat!: add request content type and DoesNotHaveStatusCode to aweXpect.Web by @vbreuss in https://github.com/Testably/aweXpect/pull/2045
- feat!: offer string and number property operators in Core and on IsString() and IsNumber() of aweXpect.Json by @vbreuss in https://github.com/Testably/aweXpect/pull/2044
- perf: convert a JsonNode to a JsonElement only once per evaluation by @vbreuss in https://github.com/Testably/aweXpect/pull/2047
- perf: look up properties and elements of a JsonNode without converting it by @vbreuss in https://github.com/Testably/aweXpect/pull/2055
- perf: reduce the allocations of expectations on members by @vbreuss in https://github.com/Testably/aweXpect/pull/2056
- fix: read a missing response content as empty instead of throwing on .NET Framework by @vbreuss in https://github.com/Testably/aweXpect/pull/2048
- fix: keep snapshot rule selections unchanged when a string option is applied by @vbreuss in https://github.com/Testably/aweXpect/pull/2049
- fix!: fail both ways on unparsable input when expectations on the XML or JSON root follow by @vbreuss in https://github.com/Testably/aweXpect/pull/2050
- fix!: fail snapshot ids that differ only in case and compare paths by one rule by @vbreuss in https://github.com/Testably/aweXpect/pull/2051
- fix: read the reflection sources when they are enumerated, not when they are created by @vbreuss in https://github.com/Testably/aweXpect/pull/2052
- fix!: match JsonOptions.IgnoringMember case-sensitively by @vbreuss in https://github.com/Testably/aweXpect/pull/2053
- refactor: dispatch the constraints of JsonNode expectations over all constraint kinds by @vbreuss in https://github.com/Testably/aweXpect/pull/2062
- refactor: link the polyfill attributes of aweXpect.Core into the extension packages by @vbreuss in https://github.com/Testably/aweXpect/pull/2060
- fix!: use the customized serializer options in IsJsonSerializable and keep the subject type by @vbreuss in https://github.com/Testably/aweXpect/pull/2054
- feat: add CustomizationListValue for list-valued customization values by @vbreuss in https://github.com/Testably/aweXpect/pull/2059
- feat: add AddEqualityConstraint to aweXpect.Core.Extending by @vbreuss in https://github.com/Testably/aweXpect/pull/2057
- feat: add ClosestMatch.AppendHint for an already known suggestion by @vbreuss in https://github.com/Testably/aweXpect/pull/2063
- fix: align the number differences of aweXpect.Json with aweXpect for non-finite values and overflow by @vbreuss in https://github.com/Testably/aweXpect/pull/2066
- feat: pass the evaluation context and cancellation token to member accessors by @vbreuss in https://github.com/Testably/aweXpect/pull/2065
- fix: use the collection "more" marker in the JSON and XML difference lists by @vbreuss in https://github.com/Testably/aweXpect/pull/2061
- feat!: make ReflectionFallback.NotSupported public and move ReflectionFallback to aweXpect.Core.Extending by @vbreuss in https://github.com/Testably/aweXpect/pull/2058
- refactor: use the public Core helpers instead of internal copies by @vbreuss in https://github.com/Testably/aweXpect/pull/2064
- feat: add a public matcher for the excluded assembly prefixes by @vbreuss in https://github.com/Testably/aweXpect/pull/2069
- feat!: add PropertyComparison.Satisfying so that extensions can add property operators by @vbreuss in https://github.com/Testably/aweXpect/pull/2067
- feat: add a driver for collection matchers to Core and explain the WithValues failures in Web by @vbreuss in https://github.com/Testably/aweXpect/pull/2068
- perf: a fast path for single expectations in aweXpect.Core by @vbreuss in https://github.com/Testably/aweXpect/pull/2072
- feat: add a generated registration hook for extensions to aweXpect.Core by @vbreuss in https://github.com/Testably/aweXpect/pull/2074
- refactor!: make every option an immutable value in one OptionsHolder by @vbreuss in https://github.com/Testably/aweXpect/pull/2046
- test: run the source cancellation tests of async enumerables on a virtual clock by @vbreuss in https://github.com/Testably/aweXpect/pull/2079
- ci: run the docs tests in the API job by @vbreuss in https://github.com/Testably/aweXpect/pull/2080
- chore: Bump the tunit group with 4 updates by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2081
- chore: run Dependabot in the night from Monday to Tuesday by @vbreuss in https://github.com/Testably/aweXpect/pull/2082
- fix!: compare the media type of HasContentType ignoring case by default by @vbreuss in https://github.com/Testably/aweXpect/pull/2070
- refactor: make the options of aweXpect.Reflection immutable values by @vbreuss in https://github.com/Testably/aweXpect/pull/2071
- feat: expose the running test, its cancellation token and attachments through the test framework adapter by @vbreuss in https://github.com/Testably/aweXpect/pull/2073
- chore: Bump Microsoft.AspNetCore.Mvc.Testing from 8.0.32 to 8.0.33 by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2085
- chore: Bump SharpCompress from 0.50.5 to 0.50.7 by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2086
- chore: Bump System.Collections.Immutable from 10.0.13 to 10.0.14 by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2087
- feat!: honour ICopyOnOption in the quantifier and index options by @vbreuss in https://github.com/Testably/aweXpect/pull/2089
- fix: align the argument messages of the extension packages with Core by @vbreuss in https://github.com/Testably/aweXpect/pull/2088
- fix: mark ITimeSystem as experimental like WithTimeSystem by @vbreuss in https://github.com/Testably/aweXpect/pull/2091
- refactor!: align the remaining Core option hooks with the option rules by @vbreuss in https://github.com/Testably/aweXpect/pull/2092
- feat!: negate constraint results only through Invert and InvertIf by @vbreuss in https://github.com/Testably/aweXpect/pull/2095
- feat: fail null items both ways in generated collection expectations with NullItemFailsBothWays by @vbreuss in https://github.com/Testably/aweXpect/pull/2093
- feat: let the equality options validate an expected value by @vbreuss in https://github.com/Testably/aweXpect/pull/2090
- refactor: compile and load less on the first call of a string expectation by @vbreuss in https://github.com/Testably/aweXpect/pull/2084
- feat: default the negated result and take the subject in AddExpectations by @vbreuss in https://github.com/Testably/aweXpect/pull/2097
- feat!: make the signaler and event recording subjects nullable by @vbreuss in https://github.com/Testably/aweXpect/pull/2100
- refactor!: name the type parameters of results consistently by @vbreuss in https://github.com/Testably/aweXpect/pull/2104
- feat!: support string options in generated collection expectations by @vbreuss in https://github.com/Testably/aweXpect/pull/2096
- feat!: make AreEqualTo of non-generic items generic over the collection by @vbreuss in https://github.com/Testably/aweXpect/pull/2098
- fix: accept a nullable string accessor in AreUnique and AreNotUnique by @vbreuss in https://github.com/Testably/aweXpect/pull/2099
- feat!: parse a string expected value as JSON text in the Json matching expectations by @vbreuss in https://github.com/Testably/aweXpect/pull/2102
- feat!: rename ComparedWith to Using in the snapshot results by @vbreuss in https://github.com/Testably/aweXpect/pull/2103
- refactor!: hold the Json lookup option in an OptionsHolder by @vbreuss in https://github.com/Testably/aweXpect/pull/2101
- feat!: hand out non-null Xml nodes and add attribute and value results by @vbreuss in https://github.com/Testably/aweXpect/pull/2105
- chore: create the options holder of an expectation only when an option is set by @vbreuss in https://github.com/Testably/aweXpect/pull/2078
- fix: let WithExtension accept the nullable public API snapshot result by @vbreuss in https://github.com/Testably/aweXpect/pull/2110
- refactor!: move AccessModifiers to the aweXpect.Reflection namespace by @vbreuss in https://github.com/Testably/aweXpect/pull/2111
- fix: apply the formatters of an expectation to the text of a failed negation by @vbreuss in https://github.com/Testably/aweXpect/pull/2112
- refactor!: accept optional options in PublicApiDeclarations.GenerateFrom by @vbreuss in https://github.com/Testably/aweXpect/pull/2114
- chore: Bump System.Text.Json from 10.0.13 to 10.0.14 by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2117
- fix: let the text selection of snapshot rules return a copy for each option by @vbreuss in https://github.com/Testably/aweXpect/pull/2108
- feat: report discarded option calls of the extension packages by @vbreuss in https://github.com/Testably/aweXpect/pull/2106
- feat: add the dependency and operator type filters and document OrHas and the parameter options by @vbreuss in https://github.com/Testably/aweXpect/pull/2115
- fix: never compile snapshot files of a test project by @vbreuss in https://github.com/Testably/aweXpect/pull/2118
- feat!: split the snapshot result by the kind of subject by @vbreuss in https://github.com/Testably/aweXpect/pull/2116
- fix: separate the filter descriptions of the In.Type and In.Types sources by @vbreuss in https://github.com/Testably/aweXpect/pull/2119
- test: drop the trailing space from the expected operator filter descriptions by @vbreuss in https://github.com/Testably/aweXpect/pull/2120
- feat!: align the package options of Json, Xml and PublicApi by @vbreuss in https://github.com/Testably/aweXpect/pull/2113
- feat!: hand out nodes from the collection views of JsonNode and keep JsonValue in IsNumber by @vbreuss in https://github.com/Testably/aweXpect/pull/2107
- feat!: pass the cancellation token to the filters of aweXpect.Reflection by @vbreuss in https://github.com/Testably/aweXpect/pull/2121
- feat!: list the snapshot and public API options in the failure by @vbreuss in https://github.com/Testably/aweXpect/pull/2123
- perf: parse the expected JSON once and the subject of IsValidJson only once by @vbreuss in https://github.com/Testably/aweXpect/pull/2122
- feat: add nested expectations on the request URI of an HttpRequestMessage by @vbreuss in https://github.com/Testably/aweXpect/pull/2124
- feat!: split HasProblemDetailsContent by whether a type is expected by @vbreuss in https://github.com/Testably/aweXpect/pull/2125
- refactor!: name the expected values of problem details
expectedby @vbreuss in https://github.com/Testably/aweXpect/pull/2126 - fix: drop the nested grammar in the Web member expectations ending in "which" by @vbreuss in https://github.com/Testably/aweXpect/pull/2127
- feat!: let the header expectations also read the content headers by @vbreuss in https://github.com/Testably/aweXpect/pull/2128
- docs: amend the design goals where they are worded too broadly by @vbreuss in https://github.com/Testably/aweXpect/pull/2129
- fix!: fail
WhoseValuewhen a header or query parameter does not have exactly one value by @vbreuss in https://github.com/Testably/aweXpect/pull/2131 - fix!: make the Json and Xml option methods available with only
using aweXpect;by @vbreuss in https://github.com/Testably/aweXpect/pull/2130 - feat!: remove the type-only overload of
IgnoringMembersin the equivalency options by @vbreuss in https://github.com/Testably/aweXpect/pull/2134 - fix!: reject an invalid expected JSON of
IsJsonSerializedAswhen the expectation is written by @vbreuss in https://github.com/Testably/aweXpect/pull/2136 - refactor!: put TResult first in IEnumPropertyResult by @vbreuss in https://github.com/Testably/aweXpect/pull/2135
- fix!: fail the reflection collection expectations and their negations for a null item by @vbreuss in https://github.com/Testably/aweXpect/pull/2132
- refactor!: seal the built-in content processors of aweXpect.Web by @vbreuss in https://github.com/Testably/aweXpect/pull/2137
- refactor!: hand non-nullable values to
WhoseValuesof headers and query parameters by @vbreuss in https://github.com/Testably/aweXpect/pull/2133 - refactor!: move
DiffEngineReporterinto the namespaceaweXpect.Snapshots.DiffEngineby @vbreuss in https://github.com/Testably/aweXpect/pull/2140 - fix!: map an IPv4-mapped address to IPv4 before the loopback check of
IPAddressby @vbreuss in https://github.com/Testably/aweXpect/pull/2141 - fix!: treat a missing content of a request like that of a response by @vbreuss in https://github.com/Testably/aweXpect/pull/2138
- refactor!: align the member-type and parameter filter names of aweXpect.Reflection by @vbreuss in https://github.com/Testably/aweXpect/pull/2144
- chore: fail the Release build on missing XML documentation by @vbreuss in https://github.com/Testably/aweXpect/pull/2143
- fix!: keep encoded slashes distinguishable in
HasPathby @vbreuss in https://github.com/Testably/aweXpect/pull/2142 - fix: remove ConfigureAwait(false) from the Core evaluation by @vbreuss in https://github.com/Testably/aweXpect/pull/2145
- feat: add
OptionsProvider.WithOptionsto apply options to a result with or without copy-on-option by @vbreuss in https://github.com/Testably/aweXpect/pull/2147 - feat!: replace ITimeSystem with TimeProvider by @vbreuss in https://github.com/Testably/aweXpect/pull/2148
- refactor!: build the plural type expectations of aweXpect.Reflection on the generated collection constraints by @vbreuss in https://github.com/Testably/aweXpect/pull/2146
- refactor: explain the empty result texts of the collection member constraint by @vbreuss in https://github.com/Testably/aweXpect/pull/2150
- perf: return an already completed result of
SynchronousBoundary.Waitwithout a task by @vbreuss in https://github.com/Testably/aweXpect/pull/2149 - refactor!: build the remaining plural expectations of aweXpect.Reflection on the generated collection constraints by @vbreuss in https://github.com/Testably/aweXpect/pull/2151
- docs: list aweXpect.Chronology with the extension packages by @vbreuss in https://github.com/Testably/aweXpect/pull/2152
- docs: point out that the documentation describes the v4 pre-release by @vbreuss in https://github.com/Testably/aweXpect/pull/2153
- ci: rebuild the documentation site after a release by @vbreuss in https://github.com/Testably/aweXpect/pull/2155
- docs: apply the docs style guide by @vbreuss in https://github.com/Testably/aweXpect/pull/2156
- docs: name the "How it works" section like its URL by @vbreuss in https://github.com/Testably/aweXpect/pull/2157
- docs: add a troubleshooting page by @vbreuss in https://github.com/Testably/aweXpect/pull/2158
- fix: keep the failure when a result context throws by @vbreuss in https://github.com/Testably/aweXpect/pull/2159
- fix: compare the host and scheme of a URI ignoring case by default by @vbreuss in https://github.com/Testably/aweXpect/pull/2160
- fix: keep the inner grammar of the Web "which" wrappers singular and reject blank header names by @vbreuss in https://github.com/Testably/aweXpect/pull/2161
- test: expect the case-insensitive host comparison in the Web which-wrapper grammar test by @vbreuss in https://github.com/Testably/aweXpect/pull/2164
- chore: release aweXpect.Xml and aweXpect.Snapshots as stable packages by @vbreuss in https://github.com/Testably/aweXpect/pull/2163
- fix: decide a cancellation when it arrives, not when a continuation notices it by @vbreuss in https://github.com/Testably/aweXpect/pull/2165
- test: run the timing tests on the MockTimeSystem of Testably.Abstractions.Testing by @vbreuss in https://github.com/Testably/aweXpect/pull/2166
- chore: Bump the mstest group with 2 updates by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2167
- chore: Bump the tunit group with 5 updates by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2168
- chore: Bump Microsoft.Testing.Extensions.TrxReport from 2.5.1 to 2.5.2 by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2170
- chore: Bump Microsoft.Bcl.TimeProvider from 8.0.0 to 10.0.14 by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2169
- ci: fail the static code analysis job when the Sonar quality gate fails on pull requests by @vbreuss in https://github.com/Testably/aweXpect/pull/2171
- fix: register the cancellation of a delay before its timer by @vbreuss in https://github.com/Testably/aweXpect/pull/2172
- test: keep the attached pending snapshot until the test results are written by @vbreuss in https://github.com/Testably/aweXpect/pull/2173
- chore: bump Testably.Abstractions.Testing to V8.0.0-pre.2 by @vbreuss in https://github.com/Testably/aweXpect/pull/2174
- test: await the cancellation callback in the delay test of the MockTimeSystem by @vbreuss in https://github.com/Testably/aweXpect/pull/2175
- test: make the tests with real-time limits robust against a loaded machine by @vbreuss in https://github.com/Testably/aweXpect/pull/2176
- chore: bump Testably.Abstractions.Testing to v8.0.0-pre.3 by @vbreuss in https://github.com/Testably/aweXpect/pull/2177
- test: use the strict timer order of the MockTimeSystem where tests depend on it by @vbreuss in https://github.com/Testably/aweXpect/pull/2178
- test: keep the abandoned task of the ExecutesIn timeout tests pending by @vbreuss in https://github.com/Testably/aweXpect/pull/2179
- test: use the strict timer order in all tests where a timeout must take effect before a later timer by @vbreuss in https://github.com/Testably/aweXpect/pull/2180
- fix: reject null items in the list-valued settings of Core, Reflection and Web by @vbreuss in https://github.com/Testably/aweXpect/pull/2184
- feat: keep named snapshots in a directory per test file and method by @vbreuss in https://github.com/Testably/aweXpect/pull/2181
- feat: store public API snapshots as C# files by @vbreuss in https://github.com/Testably/aweXpect/pull/2182
- fix: indent nested elements once in the "Actual" context of a negated Xml Matches by @vbreuss in https://github.com/Testably/aweXpect/pull/2189
- feat: add EventRecordings.StopWhen for expectations on recorded events by @vbreuss in https://github.com/Testably/aweXpect/pull/2187
- refactor!: remove StopWhen from IEventRecording by @vbreuss in https://github.com/Testably/aweXpect/pull/2186
- perf: skip a formatter scope that would not change the scoped formatters by @vbreuss in https://github.com/Testably/aweXpect/pull/2185
- test: verify that IsNull succeeds for a null non-generic enumerable by @vbreuss in https://github.com/Testably/aweXpect/pull/2192
- chore: Bump SharpCompress from 0.50.7 to 0.50.8 by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2199
- chore: Bump softprops/action-gh-release from 3.0.3 to 3.0.4 by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2193
- chore: Bump EnricoMi/publish-unit-test-result-action from 2.25.0 to 2.26.0 by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2194
- chore: Bump actions/setup-dotnet from 6.0.0 to 6.1.0 by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2195
- chore: Bump the fallout group with 2 updates by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2196
- chore: Bump the tunit group with 4 updates by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2197
- chore: Bump the xunit group with 3 updates by @dependabot[bot] in https://github.com/Testably/aweXpect/pull/2198
Full Changelog: v3.4.0...v4.0.0