NExpect 1.0.105

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package NExpect --version 1.0.105                
NuGet\Install-Package NExpect -Version 1.0.105                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NExpect" Version="1.0.105" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NExpect --version 1.0.105                
#r "nuget: NExpect, 1.0.105"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NExpect as a Cake Addin
#addin nuget:?package=NExpect&version=1.0.105

// Install NExpect as a Cake Tool
#tool nuget:?package=NExpect&version=1.0.105                

Unit-test Framework-agnostic Expect-style assertions for .NET

Product 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 was computed.  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. 
.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 net452 is compatible.  net46 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.5.2

    • No dependencies.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on NExpect:

Package Downloads
NExpect.Matchers.NSubstitute

This library offers NSubistitute-specific extensions so you can have Expect-style syntax for your NSubstitute assertions. For example, one may previously have done: ``` Expect(result).To.Equal(expected); someService.Received(1).SomeMethodCall(); ``` and now you can keep it consistent: ``` Expect(result).To.Equal(expected); Expect(someService).To.Have.Received(1).SomeMethodCall(); ```

NExpect.Matchers.AspNetCore

This library adds ASP.Net core extensions for NExpect so you can test your [Route] and [Http*] annotations like so: ``` Expect(typeof(SomeController) .To.Have.Method(nameof(SomeController.MethodName)) .Supporting(HttpMethod.Delete) .And(HttpMethod.Post) .With.Route("first-route") .And.Route("second-route"); ```

NExpect.Matchers.Xml

This library offers XML-specific assertions so you can, for instance: ``` var doc = XDocument.Parse(someXml); Expect(doc) .To.Have.Element("//path/to/element") .With.Attribute("some-attribute") .Having.Value("expected-attribute-value"); ```

NExpect.Matchers.AspNetMvc

This library adds ASP.Net core extensions for NExpect so you can test your [Route] and [Http*] annotations like so: ``` Expect(typeof(SomeController) .To.Have.Method(nameof(SomeController.MethodName)) .Supporting(HttpMethod.Delete) .And(HttpMethod.Post) .With.Route("first-route") .And.Route("second-route"); ```

NExpect.NSubstitute

NSubstitute extensions for NExpect so you can: ``` Expect(foo).(Not).To.Have.Received().Method(..); ```

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on NExpect:

Repository Stars
clojure/clojure-clr
A port of Clojure to the CLR, part of the Clojure project
Rohland/htmldiff.net
Html Diff algorithm for .NET
fluffynuts/PeanutButter
Tasty, versatile, nutritious; goes with many things in .net.
Version Downloads Last updated
2.0.116 447 3/24/2025
2.0.115 452 2/25/2025
2.0.114 280 2/13/2025
2.0.113 153 2/12/2025
2.0.112 156 2/12/2025
2.0.111 2,027 12/17/2024
2.0.110 1,628 11/13/2024
2.0.109 223 11/1/2024
2.0.108 330 10/23/2024
2.0.107 193 10/23/2024
2.0.106 207 10/22/2024
2.0.105 1,936 9/11/2024
2.0.104 948 8/30/2024
2.0.103 222 8/30/2024 2.0.103 is deprecated.
2.0.102 2,184 6/19/2024
2.0.101 233 6/11/2024
2.0.100 291 6/10/2024
2.0.99 277 6/5/2024
2.0.98 202 6/3/2024
2.0.97 178 6/3/2024
2.0.96 191 6/3/2024
2.0.95 355 5/17/2024
2.0.94 794 5/17/2024
2.0.93 239 5/17/2024
2.0.92 438 4/29/2024
2.0.91 1,049 4/17/2024
2.0.90 236 4/15/2024
2.0.89 241 4/8/2024
2.0.88 236 4/5/2024
2.0.87 194 4/5/2024
2.0.86 229 4/5/2024
2.0.85 200 4/5/2024
2.0.84 214 4/4/2024
2.0.83 721 4/3/2024
2.0.82 863 4/2/2024
2.0.81 556 3/13/2024
2.0.80 214 3/13/2024 2.0.80 is deprecated.
2.0.79 284 3/11/2024
2.0.78 307 3/5/2024
2.0.77 375 2/27/2024
2.0.76 229 2/26/2024
2.0.75 310 2/22/2024
2.0.74 249 2/22/2024
2.0.73 273 2/19/2024
2.0.72 236 2/15/2024
2.0.71 471 2/13/2024
2.0.70 364 2/13/2024
2.0.69 675 2/7/2024
2.0.68 257 2/6/2024
2.0.67 308 2/5/2024
2.0.66 257 2/2/2024
2.0.65 874 1/30/2024
2.0.64 398 1/18/2024
2.0.63 572 1/15/2024
2.0.62 235 1/12/2024
2.0.61 201 1/12/2024
2.0.60 274 1/10/2024
2.0.59 279 1/9/2024
2.0.58 1,049 12/13/2023
2.0.57 889 11/28/2023
2.0.56 264 11/28/2023
2.0.55 6,588 11/17/2023
2.0.54 312 11/17/2023
2.0.53 249 11/17/2023
2.0.52 985 10/30/2023
2.0.51 338 10/26/2023
2.0.50 798 10/12/2023
2.0.49 2,865 9/28/2023
2.0.48 592 9/22/2023
2.0.47 238 9/21/2023
2.0.46 297 9/20/2023
2.0.45 447 9/14/2023
2.0.44 247 9/14/2023
2.0.43 795 8/25/2023
2.0.42 255 8/25/2023
2.0.42-2308241227.f6c25ee 82 8/24/2023
2.0.42-2308161448.98b76da 81 8/16/2023
2.0.42-2308161446.ec7a107 78 8/16/2023
2.0.42-2308161429.74c00e2 82 8/16/2023
2.0.41 596 8/14/2023
2.0.40 558 8/4/2023
2.0.39 314 8/4/2023
2.0.38 271 8/4/2023
2.0.37 287 8/4/2023
2.0.36 310 8/4/2023
2.0.35 269 8/4/2023
2.0.34 1,025 6/22/2023
2.0.33 308 6/22/2023
2.0.32 314 6/22/2023
2.0.32-2306210815 91 6/21/2023
2.0.32-2306210812 64 6/21/2023
2.0.32-2306151149.332886a 95 6/15/2023
2.0.32-2306151140.93d85dc 91 6/15/2023
2.0.32-2306150947.3b80752 91 6/15/2023
2.0.31 446 6/12/2023
2.0.30 535 6/9/2023
2.0.30-2306091428.6fc0bd3 117 6/9/2023
2.0.30-2306091304.51d4d0b 94 6/9/2023
2.0.30-2306091204.1fe4d76 91 6/9/2023
2.0.30-2306090857.5be3155 95 6/9/2023
2.0.30-2306081701.3a525ef 92 6/8/2023
2.0.30-2306081646.5a15be2 90 6/8/2023
2.0.30-2306081628.68f2d91 93 6/8/2023
2.0.30-2306081611.3c4f19f 95 6/8/2023
2.0.30-2306081557.4fa2105 90 6/8/2023
2.0.30-2306081119.fdddf3b 97 6/8/2023
2.0.30-2306081053.68ba9f2 91 6/8/2023
2.0.30-2306080900.1b126b1 93 6/8/2023
2.0.29 956 5/23/2023
2.0.28 468 5/18/2023
2.0.27 409 5/12/2023
2.0.26 371 5/12/2023
2.0.25 497 4/26/2023
2.0.24 11,231 2/1/2023
2.0.23 712 1/30/2023
2.0.22 920 1/26/2023
2.0.21 727 1/25/2023
2.0.20 837 1/25/2023
2.0.19 2,072 11/30/2022
2.0.18 1,607 11/14/2022
2.0.17 4,856 10/19/2022
2.0.16 1,329 10/17/2022
2.0.15 1,251 10/17/2022
2.0.14 1,889 10/3/2022
2.0.13 1,273 10/3/2022
2.0.12 1,336 10/3/2022
2.0.11 1,378 9/27/2022
2.0.10 1,483 9/20/2022
2.0.9 1,463 9/19/2022
2.0.8 1,463 9/15/2022
2.0.7 1,462 9/14/2022
2.0.6 1,331 9/13/2022
2.0.5 1,347 9/13/2022
2.0.4 1,364 9/13/2022
2.0.3 1,404 9/9/2022
2.0.2 1,304 9/9/2022
2.0.1 1,350 9/9/2022
1.0.276 70,812 8/17/2022
1.0.275 1,376 8/17/2022
1.0.274 2,208 7/28/2022
1.0.273 5,597 7/14/2022
1.0.272 1,472 7/14/2022
1.0.271 1,434 7/13/2022
1.0.270 1,648 7/7/2022
1.0.269 1,401 7/7/2022
1.0.268 2,011 6/20/2022
1.0.267 1,585 6/14/2022
1.0.266 1,697 6/9/2022
1.0.265 3,009 5/27/2022
1.0.264 1,578 5/24/2022
1.0.263 1,423 5/23/2022
1.0.262 1,547 5/17/2022
1.0.261 1,421 5/16/2022
1.0.260 1,430 5/16/2022
1.0.259 1,886 5/6/2022
1.0.258 1,433 5/5/2022
1.0.257 1,417 5/5/2022
1.0.256 1,410 5/4/2022
1.0.255 1,451 5/4/2022
1.0.254 2,223 4/5/2022
1.0.253 1,472 4/5/2022
1.0.252 1,438 4/4/2022
1.0.251 1,631 3/22/2022
1.0.250 3,052 2/3/2022
1.0.249 1,512 1/28/2022
1.0.248 1,817 1/27/2022
1.0.247 1,490 1/26/2022
1.0.246 1,456 1/25/2022
1.0.245 1,448 1/18/2022
1.0.244 1,438 1/18/2022
1.0.243 1,299 1/12/2022
1.0.242 1,144 12/10/2021
1.0.241 882 12/10/2021
1.0.240 883 12/10/2021
1.0.239 1,009 12/6/2021
1.0.238 1,357 12/6/2021
1.0.236 895 12/2/2021
1.0.235 941 12/2/2021
1.0.234 903 12/2/2021
1.0.233 1,134 11/18/2021
1.0.232 906 11/18/2021
1.0.231 1,145 11/9/2021
1.0.230 1,025 11/9/2021
1.0.227 1,151 10/14/2021
1.0.226 1,273 9/2/2021
1.0.225 911 8/31/2021
1.0.224 935 8/30/2021
1.0.223 1,067 8/6/2021
1.0.222 933 8/6/2021
1.0.221 939 8/6/2021
1.0.220 957 8/3/2021
1.0.219 1,018 7/30/2021
1.0.218 1,070 7/7/2021
1.0.217 872 7/7/2021
1.0.216 907 7/7/2021
1.0.215 933 7/6/2021
1.0.214 937 7/6/2021
1.0.213 883 7/6/2021
1.0.212 25,654 5/14/2021
1.0.211 894 5/11/2021
1.0.210 878 5/11/2021
1.0.209 842 5/11/2021
1.0.208 825 5/11/2021
1.0.207 1,175 5/3/2021
1.0.206 981 5/3/2021
1.0.205 911 5/3/2021
1.0.204 865 5/3/2021
1.0.203 895 4/15/2021
1.0.202 894 4/15/2021
1.0.201 842 4/15/2021
1.0.200 855 4/15/2021
1.0.199 856 4/14/2021
1.0.198 997 3/19/2021
1.0.197 889 3/9/2021
1.0.196 906 3/9/2021
1.0.195 883 3/9/2021
1.0.194 967 3/9/2021
1.0.193 967 3/9/2021
1.0.192 991 3/9/2021
1.0.191 982 2/12/2021
1.0.190 1,035 1/21/2021
1.0.189 1,031 1/21/2021
1.0.188 913 1/21/2021
1.0.187 908 1/21/2021
1.0.186 1,236 1/8/2021
1.0.185 963 1/8/2021
1.0.184 5,168 11/13/2020
1.0.183 919 11/13/2020
1.0.182 952 11/13/2020
1.0.181 1,353 10/13/2020
1.0.180 1,093 10/12/2020
1.0.179 1,163 8/31/2020
1.0.178 3,696 8/4/2020
1.0.177 1,085 7/21/2020
1.0.176 998 7/10/2020
1.0.175 1,059 7/10/2020
1.0.174 3,599 5/20/2020
1.0.173 1,075 5/20/2020
1.0.172 1,144 5/20/2020
1.0.171 1,123 5/8/2020
1.0.170 2,062 4/9/2020
1.0.169 1,187 4/3/2020
1.0.168 1,088 3/25/2020
1.0.167 1,201 3/23/2020
1.0.166 1,223 2/6/2020
1.0.165 1,234 12/30/2019
1.0.164 1,105 12/28/2019
1.0.163 1,082 12/28/2019
1.0.162 1,471 12/5/2019
1.0.161 1,064 12/5/2019
1.0.160 1,467 11/20/2019
1.0.159 1,742 10/14/2019
1.0.158 725 10/13/2019
1.0.157 1,206 10/3/2019
1.0.156 1,125 9/17/2019
1.0.155 1,127 9/15/2019
1.0.154 2,814 6/20/2019
1.0.153 1,789 6/20/2019
1.0.152 1,988 6/6/2019
1.0.151 1,809 6/4/2019
1.0.150 1,842 5/25/2019
1.0.149 1,789 5/23/2019
1.0.148 1,778 5/16/2019
1.0.147 1,804 5/16/2019
1.0.146 1,559 5/16/2019
1.0.145 1,510 5/16/2019
1.0.143 2,657 5/14/2019
1.0.142 1,711 5/13/2019
1.0.141 1,439 5/7/2019
1.0.140 1,530 4/16/2019
1.0.139 1,511 4/16/2019
1.0.138 1,423 4/16/2019
1.0.137 1,360 4/16/2019
1.0.136 1,572 1/9/2019
1.0.135 5,855 12/12/2018
1.0.134 1,522 12/12/2018
1.0.132 1,751 8/11/2018
1.0.131 1,709 7/31/2018
1.0.130 1,709 7/25/2018
1.0.129 1,687 7/24/2018
1.0.128 1,707 7/19/2018
1.0.127 1,790 7/4/2018
1.0.126 1,835 6/20/2018
1.0.125 1,835 6/19/2018
1.0.124 1,887 5/24/2018
1.0.123 1,822 5/18/2018
1.0.122 1,980 5/17/2018
1.0.121 1,961 4/29/2018
1.0.120 1,934 4/29/2018
1.0.119 1,891 4/27/2018
1.0.118 1,868 4/26/2018
1.0.117 1,846 4/26/2018
1.0.116 1,832 4/25/2018
1.0.115 1,698 4/23/2018
1.0.114 1,870 4/12/2018
1.0.113 1,922 4/11/2018
1.0.112 1,876 4/4/2018
1.0.111 1,862 4/3/2018
1.0.110 1,867 4/2/2018
1.0.109 1,874 3/29/2018
1.0.108 1,866 3/28/2018
1.0.107 1,878 3/22/2018
1.0.106 1,894 3/22/2018
1.0.105 2,039 2/28/2018
1.0.104 1,955 2/26/2018
1.0.103 1,883 2/25/2018
1.0.102 1,876 2/24/2018
1.0.101 1,715 2/23/2018
1.0.100 2,033 2/23/2018
1.0.99 1,934 1/16/2018
1.0.98 1,936 12/20/2017
1.0.97 1,909 12/10/2017
1.0.96 1,842 12/7/2017
1.0.95 1,877 12/7/2017
1.0.94 1,747 12/6/2017
1.0.93 1,925 12/6/2017
1.0.92 1,807 11/30/2017
1.0.91 1,756 11/30/2017
1.0.90 1,753 11/28/2017
1.0.89 1,706 11/28/2017
1.0.88 2,000 10/18/2017
1.0.87 1,961 10/16/2017
1.0.86 1,948 10/16/2017
1.0.85 1,987 10/15/2017
1.0.84 1,992 10/6/2017
1.0.83 2,001 10/6/2017
1.0.82 1,990 10/5/2017
1.0.81 1,988 10/4/2017
1.0.80 2,022 9/30/2017
1.0.79 2,221 9/28/2017
1.0.78 1,930 9/27/2017
1.0.77 1,962 9/26/2017
1.0.76 1,944 9/26/2017
1.0.75 1,972 9/26/2017
1.0.74 1,932 9/26/2017
1.0.73 1,942 9/26/2017
1.0.72 2,017 9/21/2017
1.0.71 2,007 9/20/2017
1.0.70 1,952 9/20/2017
1.0.69 1,960 9/20/2017
1.0.68 1,962 9/20/2017
1.0.67 1,958 9/18/2017
1.0.66 2,017 9/18/2017
1.0.65 1,980 9/18/2017
1.0.64 1,981 9/18/2017
1.0.63 1,962 9/17/2017
1.0.62 1,944 9/17/2017
1.0.61 1,977 9/17/2017
1.0.60 2,011 9/15/2017
1.0.59 2,001 9/15/2017
1.0.58 1,986 9/12/2017
1.0.57 1,945 9/12/2017
1.0.56 1,982 9/12/2017
1.0.55 1,990 9/12/2017
1.0.54 1,960 9/12/2017
1.0.53 1,980 9/11/2017
1.0.52 1,973 9/11/2017
1.0.51 1,958 9/8/2017
1.0.50 1,976 9/8/2017
1.0.49 2,003 9/6/2017
1.0.48 1,981 9/6/2017
1.0.47 1,982 9/5/2017
1.0.46 1,999 9/5/2017
1.0.45 1,978 9/1/2017
1.0.44 1,980 8/31/2017
1.0.43 2,005 8/31/2017
1.0.42 2,000 8/31/2017
1.0.41 1,988 8/31/2017
1.0.40 2,017 8/31/2017
1.0.39 2,041 8/30/2017
1.0.38 1,774 8/28/2017
1.0.37 1,809 8/22/2017
1.0.36 1,782 8/22/2017
1.0.35 1,765 8/22/2017
1.0.34 1,752 8/21/2017
1.0.33 1,752 8/17/2017
1.0.32 1,803 8/16/2017
1.0.31 1,788 8/16/2017
1.0.30 1,771 8/15/2017
1.0.29 1,764 8/15/2017
1.0.28 1,824 8/15/2017
1.0.27 1,835 8/14/2017
1.0.26 1,753 8/11/2017
1.0.25 1,765 8/11/2017
1.0.24 1,745 8/9/2017
1.0.21 1,761 8/7/2017
1.0.19 1,816 8/7/2017
1.0.17 1,807 8/7/2017
1.0.15 1,794 8/4/2017
1.0.13 1,778 8/4/2017
1.0.11 1,793 8/3/2017
1.0.9 1,806 7/23/2017
1.0.8 1,783 7/23/2017
1.0.7 1,771 7/23/2017
1.0.6 1,778 7/23/2017
1.0.5 1,791 7/22/2017
1.0.4 1,789 7/22/2017
1.0.3 1,783 7/22/2017
1.0.1 1,902 7/21/2017
1.0.0 1,805 7/20/2017