aweXpect 2.27.1
Prefix Reserveddotnet add package aweXpect --version 2.27.1
NuGet\Install-Package aweXpect -Version 2.27.1
<PackageReference Include="aweXpect" Version="2.27.1" />
<PackageVersion Include="aweXpect" Version="2.27.1" />
<PackageReference Include="aweXpect" />
paket add aweXpect --version 2.27.1
#r "nuget: aweXpect, 2.27.1"
#:package aweXpect@2.27.1
#addin nuget:?package=aweXpect&version=2.27.1
#tool nuget:?package=aweXpect&version=2.27.1
aweXpect
Assert unit tests in natural language using awesome expectations.
Getting started
Install the
aweXpectnuget packagedotnet add package aweXpectAdd the following
usingstatement:using aweXpect;This brings the static
Expectclass and lots of extension methods into scope.See the documentation or the migration guide for more information.
Features
Async everything
By using async assertions per default, we have a consistent API and other perks:
- Complete async support, e.g. 
IAsyncEnumerableHttpResponseMessageor similar async types - No need to distinguish between 
action.Throws()andawait asyncAction.ThrowsAsync() - The evaluation is only triggered after the complete fluent chain is loaded, which has some nice benefits:
Becausecan be registered once as a general method that can be applied at the end of the expectation instead of cluttering all methods with thebecauseandbecauseArgsparametersWithCancellationcan also be registered at the end an applies aCancellationTokento all async methods which allows cancellation ofIAsyncEnumerableevaluations- Expectations can be combined directly (via 
Expect.ThatAll) instead of relying on global state ( e.g. assertion scopes) 
 
Performant
A focus on performance allows you to execute your tests as fast as possible.
Special care is taken for the happy case (succeeding tests) to be as performant as possible. See
the benchmarks for more details.
Extensible
We added lots of extensibility points to allow you to build custom extensions.
The aweXpect.Core package is intended to be a stable source for
extensions, so that the risk of version conflicts between different extensions can be reduced.
You can extend the functionality for any types, by adding extension methods on IThat<TType>.
More information can be found in the extensibility guide.
Extension projects
aweXpect.Json
Expectations for the System.Text.Json namespace.aweXpect.Web
Expectations for HttpClient.aweXpect.Reflection
Expectations for reflection types.aweXpect.Testably
Expectations for the file and time system from Testably.Abstractions.
| Product | Versions Compatible and additional computed target framework versions. | 
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. | 
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. | 
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. | 
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. | 
| MonoAndroid | monoandroid was computed. | 
| MonoMac | monomac was computed. | 
| MonoTouch | monotouch was computed. | 
| Tizen | tizen40 was computed. tizen60 was computed. | 
| Xamarin.iOS | xamarinios was computed. | 
| Xamarin.Mac | xamarinmac was computed. | 
| Xamarin.TVOS | xamarintvos was computed. | 
| Xamarin.WatchOS | xamarinwatchos was computed. | 
- 
                                                    
.NETStandard 2.0
- aweXpect.Core (>= 2.25.1)
 
 - 
                                                    
net8.0
- aweXpect.Core (>= 2.25.1)
 
 
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on aweXpect:
| Repository | Stars | 
|---|---|
| 
                                                        
                                                            TestableIO/System.IO.Abstractions
                                                        
                                                         
                                                            Just like System.Web.Abstractions, but for System.IO. Yay for testable IO access!
                                                         
                                                     | 
                                                    
| Version | Downloads | Last Updated | 
|---|---|---|
| 2.27.1 | 733 | 10/18/2025 | 
| 2.27.0 | 258 | 10/18/2025 | 
| 2.27.0-pre.1 | 241 | 10/14/2025 | 
| 2.26.0 | 4,897 | 9/29/2025 | 
| 2.25.0 | 1,287 | 9/19/2025 | 
| 2.24.0 | 494 | 9/14/2025 | 
| 2.23.0 | 1,169 | 9/9/2025 | 
| 2.22.0 | 1,015 | 9/2/2025 | 
| 2.21.1 | 2,072 | 8/12/2025 | 
| 2.21.0 | 695 | 8/2/2025 | 
| 2.20.0 | 1,359 | 7/22/2025 | 
| 2.19.1 | 734 | 7/10/2025 | 
| 2.19.0 | 200 | 7/9/2025 | 
| 2.18.1 | 226 | 7/9/2025 | 
| 2.18.0 | 1,304 | 6/27/2025 | 
| 2.17.0 | 243 | 6/21/2025 | 
| 2.16.0 | 319 | 6/19/2025 | 
| 2.15.1 | 727 | 5/26/2025 | 
| 2.15.0 | 187 | 5/24/2025 | 
| 2.14.0 | 373 | 5/21/2025 | 
| 2.13.0 | 254 | 5/20/2025 | 
| 2.12.2 | 746 | 5/17/2025 | 
| 2.12.1 | 376 | 5/15/2025 | 
| 2.12.0 | 368 | 5/14/2025 | 
| 2.11.0 | 445 | 5/12/2025 | 
| 2.10.1 | 241 | 5/10/2025 | 
| 2.10.0 | 465 | 5/10/2025 | 
| 2.9.1 | 322 | 5/4/2025 | 
| 2.9.0 | 265 | 5/3/2025 | 
| 2.8.0 | 832 | 4/26/2025 | 
| 2.7.1 | 190 | 4/25/2025 | 
| 2.7.0 | 359 | 4/24/2025 | 
| 2.6.0 | 247 | 4/23/2025 | 
| 2.5.0 | 888 | 4/18/2025 | 
| 2.4.0 | 433 | 4/15/2025 | 
| 2.3.1 | 400 | 4/13/2025 | 
| 2.3.0 | 361 | 4/12/2025 | 
| 2.2.0 | 559 | 4/7/2025 | 
| 2.1.0 | 619 | 3/31/2025 | 
| 2.0.1 | 657 | 3/20/2025 | 
| 2.0.0 | 390 | 3/19/2025 | 
| 1.6.0 | 1,697 | 3/1/2025 | 
| 1.5.0 | 494 | 2/28/2025 | 
| 1.4.0 | 253 | 2/27/2025 | 
| 1.3.0 | 268 | 2/26/2025 | 
| 1.2.0 | 386 | 2/23/2025 | 
| 1.1.0 | 457 | 2/23/2025 | 
| 1.0.1 | 459 | 2/22/2025 | 
| 1.0.0 | 959 | 2/16/2025 |