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. 
.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 (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.110 8 11/13/2024
2.0.109 184 11/1/2024
2.0.108 241 10/23/2024
2.0.107 169 10/23/2024
2.0.106 183 10/22/2024
2.0.105 926 9/11/2024
2.0.104 914 8/30/2024
2.0.103 198 8/30/2024 2.0.103 is deprecated.
2.0.102 2,000 6/19/2024
2.0.101 212 6/11/2024
2.0.100 277 6/10/2024
2.0.99 256 6/5/2024
2.0.98 190 6/3/2024
2.0.97 163 6/3/2024
2.0.96 181 6/3/2024
2.0.95 320 5/17/2024
2.0.94 778 5/17/2024
2.0.93 226 5/17/2024
2.0.92 423 4/29/2024
2.0.91 1,034 4/17/2024
2.0.90 224 4/15/2024
2.0.89 229 4/8/2024
2.0.88 224 4/5/2024
2.0.87 183 4/5/2024
2.0.86 218 4/5/2024
2.0.85 186 4/5/2024
2.0.84 201 4/4/2024
2.0.83 708 4/3/2024
2.0.82 850 4/2/2024
2.0.81 494 3/13/2024
2.0.80 204 3/13/2024 2.0.80 is deprecated.
2.0.79 274 3/11/2024
2.0.78 266 3/5/2024
2.0.77 357 2/27/2024
2.0.76 219 2/26/2024
2.0.75 297 2/22/2024
2.0.74 234 2/22/2024
2.0.73 251 2/19/2024
2.0.72 221 2/15/2024
2.0.71 461 2/13/2024
2.0.70 354 2/13/2024
2.0.69 564 2/7/2024
2.0.68 247 2/6/2024
2.0.67 297 2/5/2024
2.0.66 247 2/2/2024
2.0.65 864 1/30/2024
2.0.64 387 1/18/2024
2.0.63 490 1/15/2024
2.0.62 223 1/12/2024
2.0.61 191 1/12/2024
2.0.60 261 1/10/2024
2.0.59 269 1/9/2024
2.0.58 1,039 12/13/2023
2.0.57 848 11/28/2023
2.0.56 254 11/28/2023
2.0.55 4,376 11/17/2023
2.0.54 301 11/17/2023
2.0.53 239 11/17/2023
2.0.52 965 10/30/2023
2.0.51 327 10/26/2023
2.0.50 739 10/12/2023
2.0.49 1,834 9/28/2023
2.0.48 582 9/22/2023
2.0.47 228 9/21/2023
2.0.46 287 9/20/2023
2.0.45 436 9/14/2023
2.0.44 236 9/14/2023
2.0.43 785 8/25/2023
2.0.42 245 8/25/2023
2.0.42-2308241227.f6c25ee 74 8/24/2023
2.0.42-2308161448.98b76da 71 8/16/2023
2.0.42-2308161446.ec7a107 68 8/16/2023
2.0.42-2308161429.74c00e2 74 8/16/2023
2.0.41 584 8/14/2023
2.0.40 544 8/4/2023
2.0.39 301 8/4/2023
2.0.38 258 8/4/2023
2.0.37 272 8/4/2023
2.0.36 297 8/4/2023
2.0.35 256 8/4/2023
2.0.34 930 6/22/2023
2.0.33 296 6/22/2023
2.0.32 300 6/22/2023
2.0.32-2306210815 82 6/21/2023
2.0.32-2306210812 55 6/21/2023
2.0.32-2306151149.332886a 82 6/15/2023
2.0.32-2306151140.93d85dc 78 6/15/2023
2.0.32-2306150947.3b80752 78 6/15/2023
2.0.31 431 6/12/2023
2.0.30 520 6/9/2023
2.0.30-2306091428.6fc0bd3 104 6/9/2023
2.0.30-2306091304.51d4d0b 81 6/9/2023
2.0.30-2306091204.1fe4d76 78 6/9/2023
2.0.30-2306090857.5be3155 82 6/9/2023
2.0.30-2306081701.3a525ef 79 6/8/2023
2.0.30-2306081646.5a15be2 77 6/8/2023
2.0.30-2306081628.68f2d91 79 6/8/2023
2.0.30-2306081611.3c4f19f 81 6/8/2023
2.0.30-2306081557.4fa2105 77 6/8/2023
2.0.30-2306081119.fdddf3b 84 6/8/2023
2.0.30-2306081053.68ba9f2 78 6/8/2023
2.0.30-2306080900.1b126b1 80 6/8/2023
2.0.29 933 5/23/2023
2.0.28 452 5/18/2023
2.0.27 393 5/12/2023
2.0.26 356 5/12/2023
2.0.25 481 4/26/2023
2.0.24 11,041 2/1/2023
2.0.23 694 1/30/2023
2.0.22 902 1/26/2023
2.0.21 709 1/25/2023
2.0.20 802 1/25/2023
2.0.19 2,030 11/30/2022
2.0.18 1,586 11/14/2022
2.0.17 4,829 10/19/2022
2.0.16 1,306 10/17/2022
2.0.15 1,229 10/17/2022
2.0.14 1,867 10/3/2022
2.0.13 1,250 10/3/2022
2.0.12 1,312 10/3/2022
2.0.11 1,354 9/27/2022
2.0.10 1,460 9/20/2022
2.0.9 1,440 9/19/2022
2.0.8 1,439 9/15/2022
2.0.7 1,438 9/14/2022
2.0.6 1,308 9/13/2022
2.0.5 1,322 9/13/2022
2.0.4 1,342 9/13/2022
2.0.3 1,380 9/9/2022
2.0.2 1,280 9/9/2022
2.0.1 1,326 9/9/2022
1.0.276 63,252 8/17/2022
1.0.275 1,353 8/17/2022
1.0.274 2,183 7/28/2022
1.0.273 5,498 7/14/2022
1.0.272 1,430 7/14/2022
1.0.271 1,409 7/13/2022
1.0.270 1,622 7/7/2022
1.0.269 1,378 7/7/2022
1.0.268 1,987 6/20/2022
1.0.267 1,562 6/14/2022
1.0.266 1,673 6/9/2022
1.0.265 2,980 5/27/2022
1.0.264 1,546 5/24/2022
1.0.263 1,398 5/23/2022
1.0.262 1,519 5/17/2022
1.0.261 1,395 5/16/2022
1.0.260 1,405 5/16/2022
1.0.259 1,862 5/6/2022
1.0.258 1,409 5/5/2022
1.0.257 1,393 5/5/2022
1.0.256 1,386 5/4/2022
1.0.255 1,426 5/4/2022
1.0.254 2,198 4/5/2022
1.0.253 1,447 4/5/2022
1.0.252 1,413 4/4/2022
1.0.251 1,605 3/22/2022
1.0.250 2,869 2/3/2022
1.0.249 1,482 1/28/2022
1.0.248 1,791 1/27/2022
1.0.247 1,463 1/26/2022
1.0.246 1,429 1/25/2022
1.0.245 1,422 1/18/2022
1.0.244 1,412 1/18/2022
1.0.243 1,272 1/12/2022
1.0.242 1,116 12/10/2021
1.0.241 855 12/10/2021
1.0.240 856 12/10/2021
1.0.239 981 12/6/2021
1.0.238 1,329 12/6/2021
1.0.236 867 12/2/2021
1.0.235 914 12/2/2021
1.0.234 876 12/2/2021
1.0.233 1,107 11/18/2021
1.0.232 880 11/18/2021
1.0.231 1,118 11/9/2021
1.0.230 998 11/9/2021
1.0.227 1,124 10/14/2021
1.0.226 1,246 9/2/2021
1.0.225 885 8/31/2021
1.0.224 908 8/30/2021
1.0.223 1,041 8/6/2021
1.0.222 907 8/6/2021
1.0.221 914 8/6/2021
1.0.220 932 8/3/2021
1.0.219 993 7/30/2021
1.0.218 1,044 7/7/2021
1.0.217 846 7/7/2021
1.0.216 883 7/7/2021
1.0.215 908 7/6/2021
1.0.214 914 7/6/2021
1.0.213 858 7/6/2021
1.0.212 23,350 5/14/2021
1.0.211 869 5/11/2021
1.0.210 853 5/11/2021
1.0.209 816 5/11/2021
1.0.208 800 5/11/2021
1.0.207 1,148 5/3/2021
1.0.206 954 5/3/2021
1.0.205 884 5/3/2021
1.0.204 838 5/3/2021
1.0.203 868 4/15/2021
1.0.202 868 4/15/2021
1.0.201 818 4/15/2021
1.0.200 829 4/15/2021
1.0.199 830 4/14/2021
1.0.198 962 3/19/2021
1.0.197 850 3/9/2021
1.0.196 877 3/9/2021
1.0.195 854 3/9/2021
1.0.194 938 3/9/2021
1.0.193 938 3/9/2021
1.0.192 962 3/9/2021
1.0.191 951 2/12/2021
1.0.190 1,007 1/21/2021
1.0.189 1,002 1/21/2021
1.0.188 884 1/21/2021
1.0.187 879 1/21/2021
1.0.186 1,208 1/8/2021
1.0.185 934 1/8/2021
1.0.184 5,142 11/13/2020
1.0.183 891 11/13/2020
1.0.182 925 11/13/2020
1.0.181 1,325 10/13/2020
1.0.180 1,067 10/12/2020
1.0.179 1,131 8/31/2020
1.0.178 3,666 8/4/2020
1.0.177 1,056 7/21/2020
1.0.176 969 7/10/2020
1.0.175 1,025 7/10/2020
1.0.174 3,570 5/20/2020
1.0.173 1,046 5/20/2020
1.0.172 1,114 5/20/2020
1.0.171 1,093 5/8/2020
1.0.170 2,032 4/9/2020
1.0.169 1,155 4/3/2020
1.0.168 1,060 3/25/2020
1.0.167 1,171 3/23/2020
1.0.166 1,193 2/6/2020
1.0.165 1,201 12/30/2019
1.0.164 1,075 12/28/2019
1.0.163 1,052 12/28/2019
1.0.162 1,442 12/5/2019
1.0.161 1,034 12/5/2019
1.0.160 1,434 11/20/2019
1.0.159 1,708 10/14/2019
1.0.158 694 10/13/2019
1.0.157 1,175 10/3/2019
1.0.156 1,093 9/17/2019
1.0.155 1,094 9/15/2019
1.0.154 2,781 6/20/2019
1.0.153 1,758 6/20/2019
1.0.152 1,955 6/6/2019
1.0.151 1,779 6/4/2019
1.0.150 1,808 5/25/2019
1.0.149 1,758 5/23/2019
1.0.148 1,744 5/16/2019
1.0.147 1,770 5/16/2019
1.0.146 1,525 5/16/2019
1.0.145 1,476 5/16/2019
1.0.143 2,616 5/14/2019
1.0.142 1,678 5/13/2019
1.0.141 1,405 5/7/2019
1.0.140 1,495 4/16/2019
1.0.139 1,479 4/16/2019
1.0.138 1,390 4/16/2019
1.0.137 1,328 4/16/2019
1.0.136 1,537 1/9/2019
1.0.135 5,232 12/12/2018
1.0.134 1,485 12/12/2018
1.0.132 1,700 8/11/2018
1.0.131 1,639 7/31/2018
1.0.130 1,639 7/25/2018
1.0.129 1,614 7/24/2018
1.0.128 1,637 7/19/2018
1.0.127 1,688 7/4/2018
1.0.126 1,731 6/20/2018
1.0.125 1,733 6/19/2018
1.0.124 1,782 5/24/2018
1.0.123 1,718 5/18/2018
1.0.122 1,863 5/17/2018
1.0.121 1,847 4/29/2018
1.0.120 1,823 4/29/2018
1.0.119 1,778 4/27/2018
1.0.118 1,753 4/26/2018
1.0.117 1,732 4/26/2018
1.0.116 1,718 4/25/2018
1.0.115 1,622 4/23/2018
1.0.114 1,758 4/12/2018
1.0.113 1,808 4/11/2018
1.0.112 1,798 4/4/2018
1.0.111 1,746 4/3/2018
1.0.110 1,753 4/2/2018
1.0.109 1,762 3/29/2018
1.0.108 1,751 3/28/2018
1.0.107 1,764 3/22/2018
1.0.106 1,778 3/22/2018
1.0.105 1,925 2/28/2018
1.0.104 1,843 2/26/2018
1.0.103 1,767 2/25/2018
1.0.102 1,764 2/24/2018
1.0.101 1,637 2/23/2018
1.0.100 1,921 2/23/2018
1.0.99 1,814 1/16/2018
1.0.98 1,818 12/20/2017
1.0.97 1,791 12/10/2017
1.0.96 1,723 12/7/2017
1.0.95 1,755 12/7/2017
1.0.94 1,665 12/6/2017
1.0.93 1,803 12/6/2017
1.0.92 1,725 11/30/2017
1.0.91 1,673 11/30/2017
1.0.90 1,671 11/28/2017
1.0.89 1,623 11/28/2017
1.0.88 1,918 10/18/2017
1.0.87 1,879 10/16/2017
1.0.86 1,865 10/16/2017
1.0.85 1,905 10/15/2017
1.0.84 1,904 10/6/2017
1.0.83 1,919 10/6/2017
1.0.82 1,910 10/5/2017
1.0.81 1,908 10/4/2017
1.0.80 1,940 9/30/2017
1.0.79 2,141 9/28/2017
1.0.78 1,850 9/27/2017
1.0.77 1,880 9/26/2017
1.0.76 1,862 9/26/2017
1.0.75 1,890 9/26/2017
1.0.74 1,849 9/26/2017
1.0.73 1,860 9/26/2017
1.0.72 1,934 9/21/2017
1.0.71 1,928 9/20/2017
1.0.70 1,872 9/20/2017
1.0.69 1,880 9/20/2017
1.0.68 1,883 9/20/2017
1.0.67 1,874 9/18/2017
1.0.66 1,933 9/18/2017
1.0.65 1,898 9/18/2017
1.0.64 1,897 9/18/2017
1.0.63 1,878 9/17/2017
1.0.62 1,860 9/17/2017
1.0.61 1,895 9/17/2017
1.0.60 1,927 9/15/2017
1.0.59 1,917 9/15/2017
1.0.58 1,906 9/12/2017
1.0.57 1,865 9/12/2017
1.0.56 1,902 9/12/2017
1.0.55 1,912 9/12/2017
1.0.54 1,880 9/12/2017
1.0.53 1,902 9/11/2017
1.0.52 1,895 9/11/2017
1.0.51 1,880 9/8/2017
1.0.50 1,898 9/8/2017
1.0.49 1,925 9/6/2017
1.0.48 1,901 9/6/2017
1.0.47 1,904 9/5/2017
1.0.46 1,919 9/5/2017
1.0.45 1,900 9/1/2017
1.0.44 1,898 8/31/2017
1.0.43 1,925 8/31/2017
1.0.42 1,920 8/31/2017
1.0.41 1,908 8/31/2017
1.0.40 1,937 8/31/2017
1.0.39 1,962 8/30/2017
1.0.38 1,694 8/28/2017
1.0.37 1,731 8/22/2017
1.0.36 1,704 8/22/2017
1.0.35 1,685 8/22/2017
1.0.34 1,673 8/21/2017
1.0.33 1,672 8/17/2017
1.0.32 1,725 8/16/2017
1.0.31 1,708 8/16/2017
1.0.30 1,691 8/15/2017
1.0.29 1,682 8/15/2017
1.0.28 1,742 8/15/2017
1.0.27 1,755 8/14/2017
1.0.26 1,673 8/11/2017
1.0.25 1,686 8/11/2017
1.0.24 1,665 8/9/2017
1.0.21 1,683 8/7/2017
1.0.19 1,734 8/7/2017
1.0.17 1,718 8/7/2017
1.0.15 1,714 8/4/2017
1.0.13 1,698 8/4/2017
1.0.11 1,713 8/3/2017
1.0.9 1,728 7/23/2017
1.0.8 1,705 7/23/2017
1.0.7 1,691 7/23/2017
1.0.6 1,700 7/23/2017
1.0.5 1,711 7/22/2017
1.0.4 1,705 7/22/2017
1.0.3 1,705 7/22/2017
1.0.1 1,824 7/21/2017
1.0.0 1,722 7/20/2017