NExpect 1.0.145

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.145
                    
NuGet\Install-Package NExpect -Version 1.0.145
                    
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.145" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NExpect" Version="1.0.145" />
                    
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.145
                    
#r "nuget: NExpect, 1.0.145"
                    
#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.
#addin nuget:?package=NExpect&version=1.0.145
                    
Install NExpect as a Cake Addin
#tool nuget:?package=NExpect&version=1.0.145
                    
Install NExpect 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.116 2,489 3/24/2025
2.0.115 661 2/25/2025
2.0.114 289 2/13/2025
2.0.113 161 2/12/2025
2.0.112 165 2/12/2025
2.0.111 2,864 12/17/2024
2.0.110 2,144 11/13/2024
2.0.109 227 11/1/2024
2.0.108 334 10/23/2024
2.0.107 197 10/23/2024
2.0.106 211 10/22/2024
2.0.105 1,944 9/11/2024
2.0.104 952 8/30/2024
2.0.103 227 8/30/2024 2.0.103 is deprecated.
2.0.102 2,194 6/19/2024
2.0.101 237 6/11/2024
2.0.100 294 6/10/2024
2.0.99 282 6/5/2024
2.0.98 206 6/3/2024
2.0.97 181 6/3/2024
2.0.96 194 6/3/2024
2.0.95 360 5/17/2024
2.0.94 797 5/17/2024
2.0.93 242 5/17/2024
2.0.92 453 4/29/2024
2.0.91 1,053 4/17/2024
2.0.90 240 4/15/2024
2.0.89 245 4/8/2024
2.0.88 239 4/5/2024
2.0.87 197 4/5/2024
2.0.86 233 4/5/2024
2.0.85 203 4/5/2024
2.0.84 217 4/4/2024
2.0.83 724 4/3/2024
2.0.82 866 4/2/2024
2.0.81 562 3/13/2024
2.0.80 218 3/13/2024 2.0.80 is deprecated.
2.0.79 288 3/11/2024
2.0.78 316 3/5/2024
2.0.77 381 2/27/2024
2.0.76 234 2/26/2024
2.0.75 313 2/22/2024
2.0.74 252 2/22/2024
2.0.73 276 2/19/2024
2.0.72 239 2/15/2024
2.0.71 474 2/13/2024
2.0.70 367 2/13/2024
2.0.69 696 2/7/2024
2.0.68 260 2/6/2024
2.0.67 311 2/5/2024
2.0.66 260 2/2/2024
2.0.65 877 1/30/2024
2.0.64 401 1/18/2024
2.0.63 717 1/15/2024
2.0.62 239 1/12/2024
2.0.61 204 1/12/2024
2.0.60 277 1/10/2024
2.0.59 282 1/9/2024
2.0.58 1,053 12/13/2023
2.0.57 897 11/28/2023
2.0.56 267 11/28/2023
2.0.55 7,940 11/17/2023
2.0.54 316 11/17/2023
2.0.53 253 11/17/2023
2.0.52 989 10/30/2023
2.0.51 341 10/26/2023
2.0.50 823 10/12/2023
2.0.49 2,871 9/28/2023
2.0.48 595 9/22/2023
2.0.47 241 9/21/2023
2.0.46 300 9/20/2023
2.0.45 450 9/14/2023
2.0.44 250 9/14/2023
2.0.43 801 8/25/2023
2.0.42 261 8/25/2023
2.0.42-2308241227.f6c25ee 88 8/24/2023
2.0.42-2308161448.98b76da 87 8/16/2023
2.0.42-2308161446.ec7a107 84 8/16/2023
2.0.42-2308161429.74c00e2 89 8/16/2023
2.0.41 603 8/14/2023
2.0.40 565 8/4/2023
2.0.39 321 8/4/2023
2.0.38 278 8/4/2023
2.0.37 295 8/4/2023
2.0.36 317 8/4/2023
2.0.35 275 8/4/2023
2.0.34 1,034 6/22/2023
2.0.33 316 6/22/2023
2.0.32 322 6/22/2023
2.0.32-2306210815 92 6/21/2023
2.0.32-2306210812 65 6/21/2023
2.0.32-2306151149.332886a 104 6/15/2023
2.0.32-2306151140.93d85dc 100 6/15/2023
2.0.32-2306150947.3b80752 100 6/15/2023
2.0.31 456 6/12/2023
2.0.30 545 6/9/2023
2.0.30-2306091428.6fc0bd3 126 6/9/2023
2.0.30-2306091304.51d4d0b 103 6/9/2023
2.0.30-2306091204.1fe4d76 100 6/9/2023
2.0.30-2306090857.5be3155 105 6/9/2023
2.0.30-2306081701.3a525ef 101 6/8/2023
2.0.30-2306081646.5a15be2 99 6/8/2023
2.0.30-2306081628.68f2d91 102 6/8/2023
2.0.30-2306081611.3c4f19f 105 6/8/2023
2.0.30-2306081557.4fa2105 99 6/8/2023
2.0.30-2306081119.fdddf3b 106 6/8/2023
2.0.30-2306081053.68ba9f2 100 6/8/2023
2.0.30-2306080900.1b126b1 102 6/8/2023
2.0.29 974 5/23/2023
2.0.28 478 5/18/2023
2.0.27 419 5/12/2023
2.0.26 381 5/12/2023
2.0.25 507 4/26/2023
2.0.24 11,258 2/1/2023
2.0.23 721 1/30/2023
2.0.22 930 1/26/2023
2.0.21 736 1/25/2023
2.0.20 847 1/25/2023
2.0.19 2,089 11/30/2022
2.0.18 1,617 11/14/2022
2.0.17 4,866 10/19/2022
2.0.16 1,339 10/17/2022
2.0.15 1,261 10/17/2022
2.0.14 1,899 10/3/2022
2.0.13 1,284 10/3/2022
2.0.12 1,346 10/3/2022
2.0.11 1,388 9/27/2022
2.0.10 1,493 9/20/2022
2.0.9 1,477 9/19/2022
2.0.8 1,474 9/15/2022
2.0.7 1,472 9/14/2022
2.0.6 1,341 9/13/2022
2.0.5 1,363 9/13/2022
2.0.4 1,374 9/13/2022
2.0.3 1,414 9/9/2022
2.0.2 1,314 9/9/2022
2.0.1 1,360 9/9/2022
1.0.276 74,232 8/17/2022
1.0.275 1,387 8/17/2022
1.0.274 2,229 7/28/2022
1.0.273 5,661 7/14/2022
1.0.272 1,485 7/14/2022
1.0.271 1,447 7/13/2022
1.0.270 1,660 7/7/2022
1.0.269 1,413 7/7/2022
1.0.268 2,024 6/20/2022
1.0.267 1,597 6/14/2022
1.0.266 1,709 6/9/2022
1.0.265 3,021 5/27/2022
1.0.264 1,590 5/24/2022
1.0.263 1,436 5/23/2022
1.0.262 1,565 5/17/2022
1.0.261 1,433 5/16/2022
1.0.260 1,442 5/16/2022
1.0.259 1,899 5/6/2022
1.0.258 1,447 5/5/2022
1.0.257 1,430 5/5/2022
1.0.256 1,424 5/4/2022
1.0.255 1,464 5/4/2022
1.0.254 2,237 4/5/2022
1.0.253 1,492 4/5/2022
1.0.252 1,452 4/4/2022
1.0.251 1,646 3/22/2022
1.0.250 3,083 2/3/2022
1.0.249 1,529 1/28/2022
1.0.248 1,834 1/27/2022
1.0.247 1,507 1/26/2022
1.0.246 1,473 1/25/2022
1.0.245 1,465 1/18/2022
1.0.244 1,455 1/18/2022
1.0.243 1,316 1/12/2022
1.0.242 1,161 12/10/2021
1.0.241 899 12/10/2021
1.0.240 900 12/10/2021
1.0.239 1,027 12/6/2021
1.0.238 1,375 12/6/2021
1.0.236 912 12/2/2021
1.0.235 958 12/2/2021
1.0.234 920 12/2/2021
1.0.233 1,152 11/18/2021
1.0.232 924 11/18/2021
1.0.231 1,163 11/9/2021
1.0.230 1,043 11/9/2021
1.0.227 1,169 10/14/2021
1.0.226 1,293 9/2/2021
1.0.225 929 8/31/2021
1.0.224 959 8/30/2021
1.0.223 1,085 8/6/2021
1.0.222 951 8/6/2021
1.0.221 957 8/6/2021
1.0.220 975 8/3/2021
1.0.219 1,036 7/30/2021
1.0.218 1,089 7/7/2021
1.0.217 890 7/7/2021
1.0.216 925 7/7/2021
1.0.215 951 7/6/2021
1.0.214 955 7/6/2021
1.0.213 902 7/6/2021
1.0.212 27,029 5/14/2021
1.0.211 913 5/11/2021
1.0.210 898 5/11/2021
1.0.209 861 5/11/2021
1.0.208 845 5/11/2021
1.0.207 1,197 5/3/2021
1.0.206 1,003 5/3/2021
1.0.205 933 5/3/2021
1.0.204 887 5/3/2021
1.0.203 917 4/15/2021
1.0.202 916 4/15/2021
1.0.201 870 4/15/2021
1.0.200 877 4/15/2021
1.0.199 878 4/14/2021
1.0.198 1,020 3/19/2021
1.0.197 918 3/9/2021
1.0.196 930 3/9/2021
1.0.195 906 3/9/2021
1.0.194 990 3/9/2021
1.0.193 990 3/9/2021
1.0.192 1,014 3/9/2021
1.0.191 1,006 2/12/2021
1.0.190 1,059 1/21/2021
1.0.189 1,056 1/21/2021
1.0.188 937 1/21/2021
1.0.187 932 1/21/2021
1.0.186 1,262 1/8/2021
1.0.185 988 1/8/2021
1.0.184 5,195 11/13/2020
1.0.183 945 11/13/2020
1.0.182 977 11/13/2020
1.0.181 1,378 10/13/2020
1.0.180 1,118 10/12/2020
1.0.179 1,188 8/31/2020
1.0.178 3,721 8/4/2020
1.0.177 1,111 7/21/2020
1.0.176 1,029 7/10/2020
1.0.175 1,084 7/10/2020
1.0.174 3,624 5/20/2020
1.0.173 1,100 5/20/2020
1.0.172 1,169 5/20/2020
1.0.171 1,148 5/8/2020
1.0.170 2,087 4/9/2020
1.0.169 1,212 4/3/2020
1.0.168 1,114 3/25/2020
1.0.167 1,226 3/23/2020
1.0.166 1,249 2/6/2020
1.0.165 1,261 12/30/2019
1.0.164 1,130 12/28/2019
1.0.163 1,107 12/28/2019
1.0.162 1,500 12/5/2019
1.0.161 1,089 12/5/2019
1.0.160 1,493 11/20/2019
1.0.159 1,771 10/14/2019
1.0.158 751 10/13/2019
1.0.157 1,232 10/3/2019
1.0.156 1,151 9/17/2019
1.0.155 1,152 9/15/2019
1.0.154 2,842 6/20/2019
1.0.153 1,815 6/20/2019
1.0.152 2,014 6/6/2019
1.0.151 1,835 6/4/2019
1.0.150 1,869 5/25/2019
1.0.149 1,816 5/23/2019
1.0.148 1,810 5/16/2019
1.0.147 1,831 5/16/2019
1.0.146 1,586 5/16/2019
1.0.145 1,537 5/16/2019
1.0.143 2,896 5/14/2019
1.0.142 1,741 5/13/2019
1.0.141 1,466 5/7/2019
1.0.140 1,557 4/16/2019
1.0.139 1,539 4/16/2019
1.0.138 1,450 4/16/2019
1.0.137 1,388 4/16/2019
1.0.136 1,599 1/9/2019
1.0.135 6,248 12/12/2018
1.0.134 1,549 12/12/2018
1.0.132 1,785 8/11/2018
1.0.131 1,757 7/31/2018
1.0.130 1,761 7/25/2018
1.0.129 1,740 7/24/2018
1.0.128 1,760 7/19/2018
1.0.127 1,869 7/4/2018
1.0.126 1,914 6/20/2018
1.0.125 1,916 6/19/2018
1.0.124 1,967 5/24/2018
1.0.123 1,899 5/18/2018
1.0.122 2,060 5/17/2018
1.0.121 2,041 4/29/2018
1.0.120 2,015 4/29/2018
1.0.119 1,973 4/27/2018
1.0.118 1,948 4/26/2018
1.0.117 1,925 4/26/2018
1.0.116 1,911 4/25/2018
1.0.115 1,751 4/23/2018
1.0.114 1,951 4/12/2018
1.0.113 2,002 4/11/2018
1.0.112 1,928 4/4/2018
1.0.111 1,941 4/3/2018
1.0.110 1,947 4/2/2018
1.0.109 1,954 3/29/2018
1.0.108 1,945 3/28/2018
1.0.107 1,958 3/22/2018
1.0.106 1,973 3/22/2018
1.0.105 2,119 2/28/2018
1.0.104 2,035 2/26/2018
1.0.103 1,963 2/25/2018
1.0.102 1,957 2/24/2018
1.0.101 1,768 2/23/2018
1.0.100 2,113 2/23/2018
1.0.99 2,013 1/16/2018
1.0.98 2,016 12/20/2017
1.0.97 1,989 12/10/2017
1.0.96 1,922 12/7/2017
1.0.95 1,957 12/7/2017
1.0.94 1,799 12/6/2017
1.0.93 2,005 12/6/2017
1.0.92 1,860 11/30/2017
1.0.91 1,809 11/30/2017
1.0.90 1,807 11/28/2017
1.0.89 1,758 11/28/2017
1.0.88 2,052 10/18/2017
1.0.87 2,014 10/16/2017
1.0.86 2,001 10/16/2017
1.0.85 2,040 10/15/2017
1.0.84 2,044 10/6/2017
1.0.83 2,054 10/6/2017
1.0.82 2,044 10/5/2017
1.0.81 2,041 10/4/2017
1.0.80 2,075 9/30/2017
1.0.79 2,274 9/28/2017
1.0.78 1,983 9/27/2017
1.0.77 2,015 9/26/2017
1.0.76 1,997 9/26/2017
1.0.75 2,025 9/26/2017
1.0.74 1,985 9/26/2017
1.0.73 1,995 9/26/2017
1.0.72 2,070 9/21/2017
1.0.71 2,060 9/20/2017
1.0.70 2,005 9/20/2017
1.0.69 2,013 9/20/2017
1.0.68 2,015 9/20/2017
1.0.67 2,011 9/18/2017
1.0.66 2,070 9/18/2017
1.0.65 2,033 9/18/2017
1.0.64 2,034 9/18/2017
1.0.63 2,015 9/17/2017
1.0.62 1,997 9/17/2017
1.0.61 2,031 9/17/2017
1.0.60 2,064 9/15/2017
1.0.59 2,054 9/15/2017
1.0.58 2,039 9/12/2017
1.0.57 1,998 9/12/2017
1.0.56 2,036 9/12/2017
1.0.55 2,043 9/12/2017
1.0.54 2,013 9/12/2017
1.0.53 2,033 9/11/2017
1.0.52 2,026 9/11/2017
1.0.51 2,012 9/8/2017
1.0.50 2,029 9/8/2017
1.0.49 2,057 9/6/2017
1.0.48 2,034 9/6/2017
1.0.47 2,035 9/5/2017
1.0.46 2,052 9/5/2017
1.0.45 2,031 9/1/2017
1.0.44 2,033 8/31/2017
1.0.43 2,059 8/31/2017
1.0.42 2,053 8/31/2017
1.0.41 2,041 8/31/2017
1.0.40 2,070 8/31/2017
1.0.39 2,094 8/30/2017
1.0.38 1,828 8/28/2017
1.0.37 1,864 8/22/2017
1.0.36 1,835 8/22/2017
1.0.35 1,820 8/22/2017
1.0.34 1,805 8/21/2017
1.0.33 1,806 8/17/2017
1.0.32 1,856 8/16/2017
1.0.31 1,841 8/16/2017
1.0.30 1,824 8/15/2017
1.0.29 1,818 8/15/2017
1.0.28 1,877 8/15/2017
1.0.27 1,888 8/14/2017
1.0.26 1,807 8/11/2017
1.0.25 1,818 8/11/2017
1.0.24 1,798 8/9/2017
1.0.21 1,814 8/7/2017
1.0.19 1,870 8/7/2017
1.0.17 1,860 8/7/2017
1.0.15 1,847 8/4/2017
1.0.13 1,831 8/4/2017
1.0.11 1,846 8/3/2017
1.0.9 1,859 7/23/2017
1.0.8 1,836 7/23/2017
1.0.7 1,824 7/23/2017
1.0.6 1,831 7/23/2017
1.0.5 1,845 7/22/2017
1.0.4 1,842 7/22/2017
1.0.3 1,836 7/22/2017
1.0.1 1,955 7/21/2017
1.0.0 1,859 7/20/2017