NExpect 1.0.128

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.128
                    
NuGet\Install-Package NExpect -Version 1.0.128
                    
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.128" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NExpect" Version="1.0.128" />
                    
Directory.Packages.props
<PackageReference Include="NExpect" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NExpect --version 1.0.128
                    
#r "nuget: NExpect, 1.0.128"
                    
#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.
#:package NExpect@1.0.128
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NExpect&version=1.0.128
                    
Install as a Cake Addin
#tool nuget:?package=NExpect&version=1.0.128
                    
Install as a Cake Tool

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.  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 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.125 515 12/4/2025
2.0.124 1,347 10/28/2025
2.0.123 1,141 9/17/2025
2.0.122 423 9/16/2025
2.0.121 812 9/11/2025
2.0.120 419 9/9/2025
2.0.119 399 8/12/2025
2.0.118 406 8/6/2025
2.0.117 493 7/15/2025
2.0.116 6,811 3/24/2025
2.0.115 944 2/25/2025
2.0.114 384 2/13/2025
2.0.113 263 2/12/2025
2.0.112 242 2/12/2025
2.0.111 3,802 12/17/2024
2.0.110 2,747 11/13/2024
2.0.109 312 11/1/2024
2.0.108 445 10/23/2024
2.0.107 278 10/23/2024
2.0.106 310 10/22/2024
2.0.105 2,088 9/11/2024
2.0.104 1,038 8/30/2024
2.0.103 358 8/30/2024 2.0.103 is deprecated.
2.0.102 2,307 6/19/2024
2.0.101 323 6/11/2024
2.0.100 390 6/10/2024
2.0.99 353 6/5/2024
2.0.98 297 6/3/2024
2.0.97 266 6/3/2024
2.0.96 283 6/3/2024
2.0.95 456 5/17/2024
2.0.94 919 5/17/2024
2.0.93 348 5/17/2024
2.0.92 624 4/29/2024
2.0.91 1,171 4/17/2024
2.0.90 333 4/15/2024
2.0.89 326 4/8/2024
2.0.88 332 4/5/2024
2.0.87 323 4/5/2024
2.0.86 314 4/5/2024
2.0.85 323 4/5/2024
2.0.84 302 4/4/2024
2.0.83 818 4/3/2024
2.0.82 974 4/2/2024
2.0.81 669 3/13/2024
2.0.80 331 3/13/2024 2.0.80 is deprecated.
2.0.79 409 3/11/2024
2.0.78 431 3/5/2024
2.0.77 485 2/27/2024
2.0.76 329 2/26/2024
2.0.75 396 2/22/2024
2.0.74 356 2/22/2024
2.0.73 369 2/19/2024
2.0.72 326 2/15/2024
2.0.71 557 2/13/2024
2.0.70 450 2/13/2024
2.0.69 918 2/7/2024
2.0.68 360 2/6/2024
2.0.67 403 2/5/2024
2.0.66 341 2/2/2024
2.0.65 968 1/30/2024
2.0.64 487 1/18/2024
2.0.63 839 1/15/2024
2.0.62 326 1/12/2024
2.0.61 296 1/12/2024
2.0.60 378 1/10/2024
2.0.59 374 1/9/2024
2.0.58 1,128 12/13/2023
2.0.57 1,028 11/28/2023
2.0.56 362 11/28/2023
2.0.55 10,770 11/17/2023
2.0.54 402 11/17/2023
2.0.53 371 11/17/2023
2.0.52 1,067 10/30/2023
2.0.51 443 10/26/2023
2.0.50 923 10/12/2023
2.0.49 2,986 9/28/2023
2.0.48 675 9/22/2023
2.0.47 335 9/21/2023
2.0.46 404 9/20/2023
2.0.45 554 9/14/2023
2.0.44 336 9/14/2023
2.0.43 892 8/25/2023
2.0.42 362 8/25/2023
2.0.42-2308241227.f6c25ee 125 8/24/2023
2.0.42-2308161448.98b76da 130 8/16/2023
2.0.42-2308161446.ec7a107 127 8/16/2023
2.0.42-2308161429.74c00e2 126 8/16/2023
2.0.41 724 8/14/2023
2.0.40 665 8/4/2023
2.0.39 437 8/4/2023
2.0.38 384 8/4/2023
2.0.37 400 8/4/2023
2.0.36 420 8/4/2023
2.0.35 380 8/4/2023
2.0.34 1,164 6/22/2023
2.0.33 445 6/22/2023
2.0.32 438 6/22/2023
2.0.32-2306210815 101 6/21/2023
2.0.32-2306210812 77 6/21/2023
2.0.32-2306151149.332886a 158 6/15/2023
2.0.32-2306151140.93d85dc 151 6/15/2023
2.0.32-2306150947.3b80752 155 6/15/2023
2.0.31 575 6/12/2023
2.0.30 662 6/9/2023
2.0.30-2306091428.6fc0bd3 205 6/9/2023
2.0.30-2306091304.51d4d0b 162 6/9/2023
2.0.30-2306091204.1fe4d76 156 6/9/2023
2.0.30-2306090857.5be3155 162 6/9/2023
2.0.30-2306081701.3a525ef 155 6/8/2023
2.0.30-2306081646.5a15be2 178 6/8/2023
2.0.30-2306081628.68f2d91 158 6/8/2023
2.0.30-2306081611.3c4f19f 161 6/8/2023
2.0.30-2306081557.4fa2105 152 6/8/2023
2.0.30-2306081119.fdddf3b 161 6/8/2023
2.0.30-2306081053.68ba9f2 154 6/8/2023
2.0.30-2306080900.1b126b1 163 6/8/2023
2.0.29 1,094 5/23/2023
2.0.28 604 5/18/2023
2.0.27 546 5/12/2023
2.0.26 526 5/12/2023
2.0.25 621 4/26/2023
2.0.24 11,500 2/1/2023
2.0.23 845 1/30/2023
2.0.22 1,083 1/26/2023
2.0.21 877 1/25/2023
2.0.20 1,001 1/25/2023
2.0.19 2,259 11/30/2022
2.0.18 1,749 11/14/2022
2.0.17 4,999 10/19/2022
2.0.16 1,495 10/17/2022
2.0.15 1,396 10/17/2022
2.0.14 2,040 10/3/2022
2.0.13 1,412 10/3/2022
2.0.12 1,478 10/3/2022
2.0.11 1,526 9/27/2022
2.0.10 1,638 9/20/2022
2.0.9 1,615 9/19/2022
2.0.8 1,618 9/15/2022
2.0.7 1,612 9/14/2022
2.0.6 1,485 9/13/2022
2.0.5 1,509 9/13/2022
2.0.4 1,504 9/13/2022
2.0.3 1,542 9/9/2022
2.0.2 1,467 9/9/2022
2.0.1 1,500 9/9/2022
1.0.276 84,268 8/17/2022
1.0.275 1,551 8/17/2022
1.0.274 2,376 7/28/2022
1.0.273 5,897 7/14/2022
1.0.272 1,620 7/14/2022
1.0.271 1,597 7/13/2022
1.0.270 1,817 7/7/2022
1.0.269 1,593 7/7/2022
1.0.268 2,177 6/20/2022
1.0.267 1,740 6/14/2022
1.0.266 1,856 6/9/2022
1.0.265 3,172 5/27/2022
1.0.264 1,729 5/24/2022
1.0.263 1,603 5/23/2022
1.0.262 1,722 5/17/2022
1.0.261 1,588 5/16/2022
1.0.260 1,595 5/16/2022
1.0.259 2,051 5/6/2022
1.0.258 1,612 5/5/2022
1.0.257 1,568 5/5/2022
1.0.256 1,560 5/4/2022
1.0.255 1,627 5/4/2022
1.0.254 2,396 4/5/2022
1.0.253 1,661 4/5/2022
1.0.252 1,619 4/4/2022
1.0.251 1,839 3/22/2022
1.0.250 3,327 2/3/2022
1.0.249 1,676 1/28/2022
1.0.248 2,008 1/27/2022
1.0.247 1,664 1/26/2022
1.0.246 1,592 1/25/2022
1.0.245 1,618 1/18/2022
1.0.244 1,643 1/18/2022
1.0.243 1,477 1/12/2022
1.0.242 1,313 12/10/2021
1.0.241 1,085 12/10/2021
1.0.240 1,066 12/10/2021
1.0.239 1,210 12/6/2021
1.0.238 1,625 12/6/2021
1.0.236 1,074 12/2/2021
1.0.235 1,129 12/2/2021
1.0.234 1,098 12/2/2021
1.0.233 1,326 11/18/2021
1.0.232 1,080 11/18/2021
1.0.231 1,326 11/9/2021
1.0.230 1,202 11/9/2021
1.0.227 1,316 10/14/2021
1.0.226 1,421 9/2/2021
1.0.225 1,071 8/31/2021
1.0.224 1,097 8/30/2021
1.0.223 1,232 8/6/2021
1.0.222 1,093 8/6/2021
1.0.221 1,108 8/6/2021
1.0.220 1,128 8/3/2021
1.0.219 1,177 7/30/2021
1.0.218 1,224 7/7/2021
1.0.217 1,034 7/7/2021
1.0.216 1,051 7/7/2021
1.0.215 1,090 7/6/2021
1.0.214 1,096 7/6/2021
1.0.213 1,043 7/6/2021
1.0.212 29,916 5/14/2021
1.0.211 1,081 5/11/2021
1.0.210 1,065 5/11/2021
1.0.209 998 5/11/2021
1.0.208 1,012 5/11/2021
1.0.207 1,344 5/3/2021
1.0.206 1,165 5/3/2021
1.0.205 1,069 5/3/2021
1.0.204 1,030 5/3/2021
1.0.203 1,040 4/15/2021
1.0.202 1,052 4/15/2021
1.0.201 983 4/15/2021
1.0.200 1,018 4/15/2021
1.0.199 1,001 4/14/2021
1.0.198 1,209 3/19/2021
1.0.197 1,049 3/9/2021
1.0.196 1,076 3/9/2021
1.0.195 1,071 3/9/2021
1.0.194 1,134 3/9/2021
1.0.193 1,158 3/9/2021
1.0.192 1,156 3/9/2021
1.0.191 1,153 2/12/2021
1.0.190 1,214 1/21/2021
1.0.189 1,209 1/21/2021
1.0.188 1,108 1/21/2021
1.0.187 1,095 1/21/2021
1.0.186 1,422 1/8/2021
1.0.185 1,113 1/8/2021
1.0.184 5,339 11/13/2020
1.0.183 1,098 11/13/2020
1.0.182 1,123 11/13/2020
1.0.181 1,521 10/13/2020
1.0.180 1,265 10/12/2020
1.0.179 1,355 8/31/2020
1.0.178 3,881 8/4/2020
1.0.177 1,268 7/21/2020
1.0.176 1,179 7/10/2020
1.0.175 1,253 7/10/2020
1.0.174 3,816 5/20/2020
1.0.173 1,278 5/20/2020
1.0.172 1,331 5/20/2020
1.0.171 1,303 5/8/2020
1.0.170 2,256 4/9/2020
1.0.169 1,378 4/3/2020
1.0.168 1,275 3/25/2020
1.0.167 1,395 3/23/2020
1.0.166 1,415 2/6/2020
1.0.165 1,399 12/30/2019
1.0.164 1,285 12/28/2019
1.0.163 1,269 12/28/2019
1.0.162 1,685 12/5/2019
1.0.161 1,227 12/5/2019
1.0.160 1,703 11/20/2019
1.0.159 1,973 10/14/2019
1.0.158 886 10/13/2019
1.0.157 1,372 10/3/2019
1.0.156 1,319 9/17/2019
1.0.155 1,310 9/15/2019
1.0.154 3,010 6/20/2019
1.0.153 1,963 6/20/2019
1.0.152 2,190 6/6/2019
1.0.151 2,033 6/4/2019
1.0.150 2,031 5/25/2019
1.0.149 1,959 5/23/2019
1.0.148 1,983 5/16/2019
1.0.147 2,014 5/16/2019
1.0.146 1,746 5/16/2019
1.0.145 1,684 5/16/2019
1.0.143 3,200 5/14/2019
1.0.142 1,881 5/13/2019
1.0.141 1,615 5/7/2019
1.0.140 1,680 4/16/2019
1.0.139 1,663 4/16/2019
1.0.138 1,591 4/16/2019
1.0.137 1,520 4/16/2019
1.0.136 1,727 1/9/2019
1.0.135 6,653 12/12/2018
1.0.134 1,670 12/12/2018
1.0.132 1,920 8/11/2018
1.0.131 1,993 7/31/2018
1.0.130 1,993 7/25/2018
1.0.129 1,932 7/24/2018
1.0.128 1,977 7/19/2018
1.0.127 2,197 7/4/2018
1.0.126 2,217 6/20/2018
1.0.125 2,216 6/19/2018
1.0.124 2,269 5/24/2018
1.0.123 2,204 5/18/2018
1.0.122 2,376 5/17/2018
1.0.121 2,349 4/29/2018
1.0.120 2,326 4/29/2018
1.0.119 2,281 4/27/2018
1.0.118 2,260 4/26/2018
1.0.117 2,258 4/26/2018
1.0.116 2,219 4/25/2018
1.0.115 1,973 4/23/2018
1.0.114 2,259 4/12/2018
1.0.113 2,309 4/11/2018
1.0.112 2,143 4/4/2018
1.0.111 2,258 4/3/2018
1.0.110 2,253 4/2/2018
1.0.109 2,251 3/29/2018
1.0.108 2,248 3/28/2018
1.0.107 2,268 3/22/2018
1.0.106 2,277 3/22/2018
1.0.105 2,439 2/28/2018
1.0.104 2,344 2/26/2018
1.0.103 2,281 2/25/2018
1.0.102 2,265 2/24/2018
1.0.101 1,979 2/23/2018
1.0.100 2,463 2/23/2018
1.0.99 2,342 1/16/2018
1.0.98 2,330 12/20/2017
1.0.97 2,298 12/10/2017
1.0.96 2,263 12/7/2017
1.0.95 2,289 12/7/2017
1.0.94 2,017 12/6/2017
1.0.93 2,310 12/6/2017
1.0.92 2,074 11/30/2017
1.0.91 2,021 11/30/2017
1.0.90 2,022 11/28/2017
1.0.89 1,985 11/28/2017
1.0.88 2,272 10/18/2017
1.0.87 2,229 10/16/2017
1.0.86 2,219 10/16/2017
1.0.85 2,283 10/15/2017
1.0.84 2,264 10/6/2017
1.0.83 2,271 10/6/2017
1.0.82 2,247 10/5/2017
1.0.81 2,265 10/4/2017
1.0.80 2,296 9/30/2017
1.0.79 2,507 9/28/2017
1.0.78 2,202 9/27/2017
1.0.77 2,231 9/26/2017
1.0.76 2,213 9/26/2017
1.0.75 2,243 9/26/2017
1.0.74 2,206 9/26/2017
1.0.73 2,208 9/26/2017
1.0.72 2,294 9/21/2017
1.0.71 2,283 9/20/2017
1.0.70 2,221 9/20/2017
1.0.69 2,259 9/20/2017
1.0.68 2,230 9/20/2017
1.0.67 2,232 9/18/2017
1.0.66 2,285 9/18/2017
1.0.65 2,253 9/18/2017
1.0.64 2,253 9/18/2017
1.0.63 2,234 9/17/2017
1.0.62 2,205 9/17/2017
1.0.61 2,249 9/17/2017
1.0.60 2,282 9/15/2017
1.0.59 2,271 9/15/2017
1.0.58 2,258 9/12/2017
1.0.57 2,217 9/12/2017
1.0.56 2,255 9/12/2017
1.0.55 2,263 9/12/2017
1.0.54 2,232 9/12/2017
1.0.53 2,251 9/11/2017
1.0.52 2,232 9/11/2017
1.0.51 2,225 9/8/2017
1.0.50 2,244 9/8/2017
1.0.49 2,277 9/6/2017
1.0.48 2,254 9/6/2017
1.0.47 2,254 9/5/2017
1.0.46 2,272 9/5/2017
1.0.45 2,234 9/1/2017
1.0.44 2,239 8/31/2017
1.0.43 2,275 8/31/2017
1.0.42 2,269 8/31/2017
1.0.41 2,259 8/31/2017
1.0.40 2,273 8/31/2017
1.0.39 2,315 8/30/2017
1.0.38 2,035 8/28/2017
1.0.37 2,079 8/22/2017
1.0.36 2,054 8/22/2017
1.0.35 2,035 8/22/2017
1.0.34 2,024 8/21/2017
1.0.33 2,019 8/17/2017
1.0.32 2,075 8/16/2017
1.0.31 2,056 8/16/2017
1.0.30 2,035 8/15/2017
1.0.29 2,042 8/15/2017
1.0.28 2,096 8/15/2017
1.0.27 2,108 8/14/2017
1.0.26 2,024 8/11/2017
1.0.25 2,034 8/11/2017
1.0.24 2,017 8/9/2017
1.0.21 2,033 8/7/2017
1.0.19 2,098 8/7/2017
1.0.17 2,079 8/7/2017
1.0.15 2,065 8/4/2017
1.0.13 2,047 8/4/2017
1.0.11 2,065 8/3/2017
1.0.9 2,075 7/23/2017
1.0.8 2,052 7/23/2017
1.0.7 2,041 7/23/2017
1.0.6 2,047 7/23/2017
1.0.5 2,061 7/22/2017
1.0.4 2,084 7/22/2017
1.0.3 2,051 7/22/2017
1.0.1 2,172 7/21/2017
1.0.0 2,107 7/20/2017