NExpect 1.0.186

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. 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.186
NuGet\Install-Package NExpect -Version 1.0.186
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.186" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NExpect --version 1.0.186
#r "nuget: NExpect, 1.0.186"
#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.186

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

Unit-test-framework-agnostic Expect-style assertions for .NET
     NExpect Provides Expect() syntax for doing assertions in .NET. Framework-agnostic, throwing
     UnmetExpectationExceptions for failures. Assertion exception type can be overridden at run-time.
     NExpect has grammar inspired by Chai and extensibility inspired by Jasmine.

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. 
.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 is compatible.  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.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on NExpect:

Package Downloads
NExpect.Matchers.NSubstitute The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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

GitHub repositories (4)

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

Repository Stars
clojure/clojure-clr
A port of Clojure to the CLR, part of the Clojure project
apache/logging-log4net
Apache Log4net is a versatile, feature-rich, efficient logging API and backend for .NET
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.102 191 6/19/2024
2.0.101 162 6/11/2024
2.0.100 160 6/10/2024
2.0.99 193 6/5/2024
2.0.98 143 6/3/2024
2.0.97 108 6/3/2024
2.0.96 119 6/3/2024
2.0.95 232 5/17/2024
2.0.94 491 5/17/2024
2.0.93 163 5/17/2024
2.0.92 344 4/29/2024
2.0.91 791 4/17/2024
2.0.90 189 4/15/2024
2.0.89 180 4/8/2024
2.0.88 180 4/5/2024
2.0.87 124 4/5/2024
2.0.86 148 4/5/2024
2.0.85 126 4/5/2024
2.0.84 149 4/4/2024
2.0.83 655 4/3/2024
2.0.82 575 4/2/2024
2.0.81 403 3/13/2024
2.0.80 147 3/13/2024
2.0.79 210 3/11/2024
2.0.78 213 3/5/2024
2.0.77 297 2/27/2024
2.0.76 165 2/26/2024
2.0.75 252 2/22/2024
2.0.74 171 2/22/2024
2.0.73 206 2/19/2024
2.0.72 184 2/15/2024
2.0.71 403 2/13/2024
2.0.70 303 2/13/2024
2.0.69 351 2/7/2024
2.0.68 188 2/6/2024
2.0.67 211 2/5/2024
2.0.66 193 2/2/2024
2.0.65 812 1/30/2024
2.0.64 346 1/18/2024
2.0.63 424 1/15/2024
2.0.62 178 1/12/2024
2.0.61 141 1/12/2024
2.0.60 205 1/10/2024
2.0.59 221 1/9/2024
2.0.58 993 12/13/2023
2.0.57 771 11/28/2023
2.0.56 204 11/28/2023
2.0.55 2,273 11/17/2023
2.0.54 252 11/17/2023
2.0.53 187 11/17/2023
2.0.52 834 10/30/2023
2.0.51 283 10/26/2023
2.0.50 685 10/12/2023
2.0.49 1,586 9/28/2023
2.0.48 530 9/22/2023
2.0.47 186 9/21/2023
2.0.46 227 9/20/2023
2.0.45 381 9/14/2023
2.0.44 183 9/14/2023
2.0.43 728 8/25/2023
2.0.42 210 8/25/2023
2.0.42-2308241227.f6c25ee 65 8/24/2023
2.0.42-2308161448.98b76da 63 8/16/2023
2.0.42-2308161446.ec7a107 60 8/16/2023
2.0.42-2308161429.74c00e2 64 8/16/2023
2.0.41 536 8/14/2023
2.0.40 487 8/4/2023
2.0.39 259 8/4/2023
2.0.38 211 8/4/2023
2.0.37 215 8/4/2023
2.0.36 221 8/4/2023
2.0.35 227 8/4/2023
2.0.34 716 6/22/2023
2.0.33 233 6/22/2023
2.0.32 241 6/22/2023
2.0.32-2306210815 74 6/21/2023
2.0.32-2306210812 47 6/21/2023
2.0.32-2306151149.332886a 73 6/15/2023
2.0.32-2306151140.93d85dc 69 6/15/2023
2.0.32-2306150947.3b80752 70 6/15/2023
2.0.31 373 6/12/2023
2.0.30 465 6/9/2023
2.0.30-2306091428.6fc0bd3 97 6/9/2023
2.0.30-2306091304.51d4d0b 72 6/9/2023
2.0.30-2306091204.1fe4d76 69 6/9/2023
2.0.30-2306090857.5be3155 73 6/9/2023
2.0.30-2306081701.3a525ef 70 6/8/2023
2.0.30-2306081646.5a15be2 68 6/8/2023
2.0.30-2306081628.68f2d91 70 6/8/2023
2.0.30-2306081611.3c4f19f 71 6/8/2023
2.0.30-2306081557.4fa2105 68 6/8/2023
2.0.30-2306081119.fdddf3b 73 6/8/2023
2.0.30-2306081053.68ba9f2 69 6/8/2023
2.0.30-2306080900.1b126b1 71 6/8/2023
2.0.29 793 5/23/2023
2.0.28 413 5/18/2023
2.0.27 337 5/12/2023
2.0.26 307 5/12/2023
2.0.25 440 4/26/2023
2.0.24 9,841 2/1/2023
2.0.23 657 1/30/2023
2.0.22 859 1/26/2023
2.0.21 641 1/25/2023
2.0.20 739 1/25/2023
2.0.19 1,913 11/30/2022
2.0.18 1,526 11/14/2022
2.0.17 4,768 10/19/2022
2.0.16 1,247 10/17/2022
2.0.15 1,180 10/17/2022
2.0.14 1,808 10/3/2022
2.0.13 1,178 10/3/2022
2.0.12 1,257 10/3/2022
2.0.11 1,295 9/27/2022
2.0.10 1,401 9/20/2022
2.0.9 1,380 9/19/2022
2.0.8 1,394 9/15/2022
2.0.7 1,380 9/14/2022
2.0.6 1,249 9/13/2022
2.0.5 1,272 9/13/2022
2.0.4 1,298 9/13/2022
2.0.3 1,322 9/9/2022
2.0.2 1,220 9/9/2022
2.0.1 1,263 9/9/2022
1.0.276 53,882 8/17/2022
1.0.275 1,301 8/17/2022
1.0.274 2,105 7/28/2022
1.0.273 5,041 7/14/2022
1.0.272 1,367 7/14/2022
1.0.271 1,351 7/13/2022
1.0.270 1,566 7/7/2022
1.0.269 1,322 7/7/2022
1.0.268 1,903 6/20/2022
1.0.267 1,515 6/14/2022
1.0.266 1,625 6/9/2022
1.0.265 2,913 5/27/2022
1.0.264 1,487 5/24/2022
1.0.263 1,359 5/23/2022
1.0.262 1,456 5/17/2022
1.0.261 1,347 5/16/2022
1.0.260 1,355 5/16/2022
1.0.259 1,796 5/6/2022
1.0.258 1,350 5/5/2022
1.0.257 1,337 5/5/2022
1.0.256 1,343 5/4/2022
1.0.255 1,380 5/4/2022
1.0.254 2,137 4/5/2022
1.0.253 1,386 4/5/2022
1.0.252 1,340 4/4/2022
1.0.251 1,554 3/22/2022
1.0.250 2,761 2/3/2022
1.0.249 1,427 1/28/2022
1.0.248 1,746 1/27/2022
1.0.247 1,410 1/26/2022
1.0.246 1,379 1/25/2022
1.0.245 1,366 1/18/2022
1.0.244 1,349 1/18/2022
1.0.243 1,220 1/12/2022
1.0.242 1,052 12/10/2021
1.0.241 796 12/10/2021
1.0.240 803 12/10/2021
1.0.239 909 12/6/2021
1.0.238 1,234 12/6/2021
1.0.236 821 12/2/2021
1.0.235 859 12/2/2021
1.0.234 829 12/2/2021
1.0.233 1,038 11/18/2021
1.0.232 817 11/18/2021
1.0.231 1,064 11/9/2021
1.0.230 937 11/9/2021
1.0.227 1,074 10/14/2021
1.0.226 1,199 9/2/2021
1.0.225 840 8/31/2021
1.0.224 865 8/30/2021
1.0.223 997 8/6/2021
1.0.222 851 8/6/2021
1.0.221 867 8/6/2021
1.0.220 889 8/3/2021
1.0.219 941 7/30/2021
1.0.218 995 7/7/2021
1.0.217 790 7/7/2021
1.0.216 824 7/7/2021
1.0.215 864 7/6/2021
1.0.214 861 7/6/2021
1.0.213 810 7/6/2021
1.0.212 21,174 5/14/2021
1.0.211 824 5/11/2021
1.0.210 811 5/11/2021
1.0.209 764 5/11/2021
1.0.208 751 5/11/2021
1.0.207 1,081 5/3/2021
1.0.206 897 5/3/2021
1.0.205 838 5/3/2021
1.0.204 799 5/3/2021
1.0.203 814 4/15/2021
1.0.202 807 4/15/2021
1.0.201 764 4/15/2021
1.0.200 776 4/15/2021
1.0.199 780 4/14/2021
1.0.198 919 3/19/2021
1.0.197 804 3/9/2021
1.0.196 829 3/9/2021
1.0.195 830 3/9/2021
1.0.194 889 3/9/2021
1.0.193 891 3/9/2021
1.0.192 909 3/9/2021
1.0.191 909 2/12/2021
1.0.190 938 1/21/2021
1.0.189 946 1/21/2021
1.0.188 849 1/21/2021
1.0.187 830 1/21/2021
1.0.186 1,155 1/8/2021
1.0.185 888 1/8/2021
1.0.184 5,087 11/13/2020
1.0.183 848 11/13/2020
1.0.182 859 11/13/2020
1.0.181 1,269 10/13/2020
1.0.180 1,027 10/12/2020
1.0.179 1,083 8/31/2020
1.0.178 3,623 8/4/2020
1.0.177 1,006 7/21/2020
1.0.176 917 7/10/2020
1.0.175 975 7/10/2020
1.0.174 3,520 5/20/2020
1.0.173 1,000 5/20/2020
1.0.172 1,063 5/20/2020
1.0.171 1,039 5/8/2020
1.0.170 1,987 4/9/2020
1.0.169 1,096 4/3/2020
1.0.168 1,015 3/25/2020
1.0.167 1,117 3/23/2020
1.0.166 1,141 2/6/2020
1.0.165 1,147 12/30/2019
1.0.164 1,036 12/28/2019
1.0.163 1,003 12/28/2019
1.0.162 1,391 12/5/2019
1.0.161 992 12/5/2019
1.0.160 1,376 11/20/2019
1.0.159 1,628 10/14/2019
1.0.158 672 10/13/2019
1.0.157 1,129 10/3/2019
1.0.156 1,044 9/17/2019
1.0.155 1,038 9/15/2019
1.0.154 2,734 6/20/2019
1.0.153 1,720 6/20/2019
1.0.152 1,917 6/6/2019
1.0.151 1,726 6/4/2019
1.0.150 1,756 5/25/2019
1.0.149 1,718 5/23/2019
1.0.148 1,688 5/16/2019
1.0.147 1,725 5/16/2019
1.0.146 1,479 5/16/2019
1.0.145 1,449 5/16/2019
1.0.143 2,571 5/14/2019
1.0.142 1,637 5/13/2019
1.0.141 1,383 5/7/2019
1.0.140 1,475 4/16/2019
1.0.139 1,454 4/16/2019
1.0.138 1,369 4/16/2019
1.0.137 1,308 4/16/2019
1.0.136 1,514 1/9/2019
1.0.135 4,841 12/12/2018
1.0.134 1,465 12/12/2018
1.0.132 1,672 8/11/2018
1.0.131 1,615 7/31/2018
1.0.130 1,611 7/25/2018
1.0.129 1,587 7/24/2018
1.0.128 1,610 7/19/2018
1.0.127 1,666 7/4/2018
1.0.126 1,705 6/20/2018
1.0.125 1,705 6/19/2018
1.0.124 1,754 5/24/2018
1.0.123 1,691 5/18/2018
1.0.122 1,839 5/17/2018
1.0.121 1,817 4/29/2018
1.0.120 1,796 4/29/2018
1.0.119 1,768 4/27/2018
1.0.118 1,727 4/26/2018
1.0.117 1,704 4/26/2018
1.0.116 1,706 4/25/2018
1.0.115 1,601 4/23/2018
1.0.114 1,734 4/12/2018
1.0.113 1,782 4/11/2018
1.0.112 1,774 4/4/2018
1.0.111 1,720 4/3/2018
1.0.110 1,719 4/2/2018
1.0.109 1,740 3/29/2018
1.0.108 1,727 3/28/2018
1.0.107 1,738 3/22/2018
1.0.106 1,748 3/22/2018
1.0.105 1,902 2/28/2018
1.0.104 1,817 2/26/2018
1.0.103 1,742 2/25/2018
1.0.102 1,737 2/24/2018
1.0.101 1,613 2/23/2018
1.0.100 1,896 2/23/2018
1.0.99 1,789 1/16/2018
1.0.98 1,789 12/20/2017
1.0.97 1,768 12/10/2017
1.0.96 1,697 12/7/2017
1.0.95 1,733 12/7/2017
1.0.94 1,642 12/6/2017
1.0.93 1,779 12/6/2017
1.0.92 1,696 11/30/2017
1.0.91 1,648 11/30/2017
1.0.90 1,645 11/28/2017
1.0.89 1,601 11/28/2017
1.0.88 1,893 10/18/2017
1.0.87 1,856 10/16/2017
1.0.86 1,854 10/16/2017
1.0.85 1,881 10/15/2017
1.0.84 1,877 10/6/2017
1.0.83 1,896 10/6/2017
1.0.82 1,887 10/5/2017
1.0.81 1,882 10/4/2017
1.0.80 1,915 9/30/2017
1.0.79 2,115 9/28/2017
1.0.78 1,828 9/27/2017
1.0.77 1,856 9/26/2017
1.0.76 1,835 9/26/2017
1.0.75 1,862 9/26/2017
1.0.74 1,822 9/26/2017
1.0.73 1,836 9/26/2017
1.0.72 1,908 9/21/2017
1.0.71 1,904 9/20/2017
1.0.70 1,850 9/20/2017
1.0.69 1,857 9/20/2017
1.0.68 1,858 9/20/2017
1.0.67 1,849 9/18/2017
1.0.66 1,909 9/18/2017
1.0.65 1,875 9/18/2017
1.0.64 1,874 9/18/2017
1.0.63 1,852 9/17/2017
1.0.62 1,839 9/17/2017
1.0.61 1,867 9/17/2017
1.0.60 1,905 9/15/2017
1.0.59 1,890 9/15/2017
1.0.58 1,875 9/12/2017
1.0.57 1,841 9/12/2017
1.0.56 1,874 9/12/2017
1.0.55 1,886 9/12/2017
1.0.54 1,851 9/12/2017
1.0.53 1,878 9/11/2017
1.0.52 1,866 9/11/2017
1.0.51 1,857 9/8/2017
1.0.50 1,876 9/8/2017
1.0.49 1,896 9/6/2017
1.0.48 1,874 9/6/2017
1.0.47 1,894 9/5/2017
1.0.46 1,896 9/5/2017
1.0.45 1,878 9/1/2017
1.0.44 1,875 8/31/2017
1.0.43 1,900 8/31/2017
1.0.42 1,896 8/31/2017
1.0.41 1,880 8/31/2017
1.0.40 1,906 8/31/2017
1.0.39 1,936 8/30/2017
1.0.38 1,671 8/28/2017
1.0.37 1,704 8/22/2017
1.0.36 1,674 8/22/2017
1.0.35 1,654 8/22/2017
1.0.34 1,649 8/21/2017
1.0.33 1,651 8/17/2017
1.0.32 1,695 8/16/2017
1.0.31 1,679 8/16/2017
1.0.30 1,669 8/15/2017
1.0.29 1,651 8/15/2017
1.0.28 1,718 8/15/2017
1.0.27 1,723 8/14/2017
1.0.26 1,650 8/11/2017
1.0.25 1,661 8/11/2017
1.0.24 1,640 8/9/2017
1.0.21 1,661 8/7/2017
1.0.19 1,705 8/7/2017
1.0.17 1,694 8/7/2017
1.0.15 1,682 8/4/2017
1.0.13 1,670 8/4/2017
1.0.11 1,684 8/3/2017
1.0.9 1,701 7/23/2017
1.0.8 1,676 7/23/2017
1.0.7 1,662 7/23/2017
1.0.6 1,671 7/23/2017
1.0.5 1,683 7/22/2017
1.0.4 1,681 7/22/2017
1.0.3 1,682 7/22/2017
1.0.1 1,795 7/21/2017
1.0.0 1,689 7/20/2017