NExpect 1.0.29

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.29                
NuGet\Install-Package NExpect -Version 1.0.29                
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.29" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NExpect --version 1.0.29                
#r "nuget: NExpect, 1.0.29"                
#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.29

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

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

Product Compatible and additional computed target framework versions.
.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. 
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.105 340 9/11/2024
2.0.104 571 8/30/2024
2.0.103 189 8/30/2024 2.0.103 is deprecated.
2.0.102 1,916 6/19/2024
2.0.101 211 6/11/2024
2.0.100 276 6/10/2024
2.0.99 255 6/5/2024
2.0.98 189 6/3/2024
2.0.97 162 6/3/2024
2.0.96 180 6/3/2024
2.0.95 315 5/17/2024
2.0.94 777 5/17/2024
2.0.93 225 5/17/2024
2.0.92 420 4/29/2024
2.0.91 1,030 4/17/2024
2.0.90 222 4/15/2024
2.0.89 227 4/8/2024
2.0.88 223 4/5/2024
2.0.87 182 4/5/2024
2.0.86 217 4/5/2024
2.0.85 185 4/5/2024
2.0.84 199 4/4/2024
2.0.83 706 4/3/2024
2.0.82 827 4/2/2024
2.0.81 486 3/13/2024
2.0.80 201 3/13/2024 2.0.80 is deprecated.
2.0.79 270 3/11/2024
2.0.78 263 3/5/2024
2.0.77 356 2/27/2024
2.0.76 217 2/26/2024
2.0.75 296 2/22/2024
2.0.74 232 2/22/2024
2.0.73 250 2/19/2024
2.0.72 217 2/15/2024
2.0.71 456 2/13/2024
2.0.70 353 2/13/2024
2.0.69 488 2/7/2024
2.0.68 241 2/6/2024
2.0.67 296 2/5/2024
2.0.66 245 2/2/2024
2.0.65 861 1/30/2024
2.0.64 385 1/18/2024
2.0.63 488 1/15/2024
2.0.62 222 1/12/2024
2.0.61 190 1/12/2024
2.0.60 260 1/10/2024
2.0.59 265 1/9/2024
2.0.58 1,036 12/13/2023
2.0.57 823 11/28/2023
2.0.56 253 11/28/2023
2.0.55 3,738 11/17/2023
2.0.54 300 11/17/2023
2.0.53 235 11/17/2023
2.0.52 948 10/30/2023
2.0.51 326 10/26/2023
2.0.50 738 10/12/2023
2.0.49 1,649 9/28/2023
2.0.48 579 9/22/2023
2.0.47 225 9/21/2023
2.0.46 283 9/20/2023
2.0.45 431 9/14/2023
2.0.44 233 9/14/2023
2.0.43 783 8/25/2023
2.0.42 241 8/25/2023
2.0.42-2308241227.f6c25ee 68 8/24/2023
2.0.42-2308161448.98b76da 67 8/16/2023
2.0.42-2308161446.ec7a107 64 8/16/2023
2.0.42-2308161429.74c00e2 70 8/16/2023
2.0.41 582 8/14/2023
2.0.40 542 8/4/2023
2.0.39 299 8/4/2023
2.0.38 256 8/4/2023
2.0.37 270 8/4/2023
2.0.36 295 8/4/2023
2.0.35 254 8/4/2023
2.0.34 851 6/22/2023
2.0.33 294 6/22/2023
2.0.32 298 6/22/2023
2.0.32-2306210815 77 6/21/2023
2.0.32-2306210812 50 6/21/2023
2.0.32-2306151149.332886a 78 6/15/2023
2.0.32-2306151140.93d85dc 74 6/15/2023
2.0.32-2306150947.3b80752 74 6/15/2023
2.0.31 429 6/12/2023
2.0.30 518 6/9/2023
2.0.30-2306091428.6fc0bd3 100 6/9/2023
2.0.30-2306091304.51d4d0b 77 6/9/2023
2.0.30-2306091204.1fe4d76 74 6/9/2023
2.0.30-2306090857.5be3155 78 6/9/2023
2.0.30-2306081701.3a525ef 75 6/8/2023
2.0.30-2306081646.5a15be2 73 6/8/2023
2.0.30-2306081628.68f2d91 75 6/8/2023
2.0.30-2306081611.3c4f19f 76 6/8/2023
2.0.30-2306081557.4fa2105 73 6/8/2023
2.0.30-2306081119.fdddf3b 78 6/8/2023
2.0.30-2306081053.68ba9f2 74 6/8/2023
2.0.30-2306080900.1b126b1 76 6/8/2023
2.0.29 918 5/23/2023
2.0.28 451 5/18/2023
2.0.27 392 5/12/2023
2.0.26 355 5/12/2023
2.0.25 480 4/26/2023
2.0.24 10,940 2/1/2023
2.0.23 693 1/30/2023
2.0.22 901 1/26/2023
2.0.21 708 1/25/2023
2.0.20 799 1/25/2023
2.0.19 2,021 11/30/2022
2.0.18 1,585 11/14/2022
2.0.17 4,822 10/19/2022
2.0.16 1,305 10/17/2022
2.0.15 1,228 10/17/2022
2.0.14 1,866 10/3/2022
2.0.13 1,249 10/3/2022
2.0.12 1,311 10/3/2022
2.0.11 1,353 9/27/2022
2.0.10 1,459 9/20/2022
2.0.9 1,439 9/19/2022
2.0.8 1,438 9/15/2022
2.0.7 1,437 9/14/2022
2.0.6 1,307 9/13/2022
2.0.5 1,321 9/13/2022
2.0.4 1,341 9/13/2022
2.0.3 1,379 9/9/2022
2.0.2 1,279 9/9/2022
2.0.1 1,323 9/9/2022
1.0.276 60,792 8/17/2022
1.0.275 1,352 8/17/2022
1.0.274 2,182 7/28/2022
1.0.273 5,461 7/14/2022
1.0.272 1,429 7/14/2022
1.0.271 1,408 7/13/2022
1.0.270 1,621 7/7/2022
1.0.269 1,377 7/7/2022
1.0.268 1,986 6/20/2022
1.0.267 1,561 6/14/2022
1.0.266 1,672 6/9/2022
1.0.265 2,979 5/27/2022
1.0.264 1,544 5/24/2022
1.0.263 1,397 5/23/2022
1.0.262 1,518 5/17/2022
1.0.261 1,394 5/16/2022
1.0.260 1,404 5/16/2022
1.0.259 1,861 5/6/2022
1.0.258 1,408 5/5/2022
1.0.257 1,392 5/5/2022
1.0.256 1,385 5/4/2022
1.0.255 1,425 5/4/2022
1.0.254 2,195 4/5/2022
1.0.253 1,446 4/5/2022
1.0.252 1,412 4/4/2022
1.0.251 1,604 3/22/2022
1.0.250 2,847 2/3/2022
1.0.249 1,481 1/28/2022
1.0.248 1,790 1/27/2022
1.0.247 1,462 1/26/2022
1.0.246 1,428 1/25/2022
1.0.245 1,421 1/18/2022
1.0.244 1,411 1/18/2022
1.0.243 1,271 1/12/2022
1.0.242 1,115 12/10/2021
1.0.241 854 12/10/2021
1.0.240 855 12/10/2021
1.0.239 980 12/6/2021
1.0.238 1,328 12/6/2021
1.0.236 866 12/2/2021
1.0.235 913 12/2/2021
1.0.234 875 12/2/2021
1.0.233 1,106 11/18/2021
1.0.232 879 11/18/2021
1.0.231 1,117 11/9/2021
1.0.230 997 11/9/2021
1.0.227 1,123 10/14/2021
1.0.226 1,245 9/2/2021
1.0.225 884 8/31/2021
1.0.224 907 8/30/2021
1.0.223 1,040 8/6/2021
1.0.222 906 8/6/2021
1.0.221 913 8/6/2021
1.0.220 931 8/3/2021
1.0.219 992 7/30/2021
1.0.218 1,043 7/7/2021
1.0.217 845 7/7/2021
1.0.216 882 7/7/2021
1.0.215 907 7/6/2021
1.0.214 913 7/6/2021
1.0.213 857 7/6/2021
1.0.212 22,684 5/14/2021
1.0.211 868 5/11/2021
1.0.210 852 5/11/2021
1.0.209 815 5/11/2021
1.0.208 799 5/11/2021
1.0.207 1,147 5/3/2021
1.0.206 953 5/3/2021
1.0.205 883 5/3/2021
1.0.204 837 5/3/2021
1.0.203 867 4/15/2021
1.0.202 867 4/15/2021
1.0.201 817 4/15/2021
1.0.200 828 4/15/2021
1.0.199 829 4/14/2021
1.0.198 961 3/19/2021
1.0.197 849 3/9/2021
1.0.196 876 3/9/2021
1.0.195 853 3/9/2021
1.0.194 937 3/9/2021
1.0.193 937 3/9/2021
1.0.192 961 3/9/2021
1.0.191 950 2/12/2021
1.0.190 1,006 1/21/2021
1.0.189 1,001 1/21/2021
1.0.188 883 1/21/2021
1.0.187 878 1/21/2021
1.0.186 1,207 1/8/2021
1.0.185 933 1/8/2021
1.0.184 5,141 11/13/2020
1.0.183 890 11/13/2020
1.0.182 924 11/13/2020
1.0.181 1,324 10/13/2020
1.0.180 1,066 10/12/2020
1.0.179 1,126 8/31/2020
1.0.178 3,665 8/4/2020
1.0.177 1,054 7/21/2020
1.0.176 967 7/10/2020
1.0.175 1,023 7/10/2020
1.0.174 3,568 5/20/2020
1.0.173 1,044 5/20/2020
1.0.172 1,112 5/20/2020
1.0.171 1,091 5/8/2020
1.0.170 2,031 4/9/2020
1.0.169 1,154 4/3/2020
1.0.168 1,059 3/25/2020
1.0.167 1,170 3/23/2020
1.0.166 1,192 2/6/2020
1.0.165 1,200 12/30/2019
1.0.164 1,074 12/28/2019
1.0.163 1,051 12/28/2019
1.0.162 1,441 12/5/2019
1.0.161 1,033 12/5/2019
1.0.160 1,433 11/20/2019
1.0.159 1,706 10/14/2019
1.0.158 693 10/13/2019
1.0.157 1,174 10/3/2019
1.0.156 1,092 9/17/2019
1.0.155 1,093 9/15/2019
1.0.154 2,779 6/20/2019
1.0.153 1,757 6/20/2019
1.0.152 1,954 6/6/2019
1.0.151 1,778 6/4/2019
1.0.150 1,807 5/25/2019
1.0.149 1,757 5/23/2019
1.0.148 1,743 5/16/2019
1.0.147 1,769 5/16/2019
1.0.146 1,524 5/16/2019
1.0.145 1,475 5/16/2019
1.0.143 2,615 5/14/2019
1.0.142 1,677 5/13/2019
1.0.141 1,404 5/7/2019
1.0.140 1,494 4/16/2019
1.0.139 1,478 4/16/2019
1.0.138 1,389 4/16/2019
1.0.137 1,327 4/16/2019
1.0.136 1,536 1/9/2019
1.0.135 5,088 12/12/2018
1.0.134 1,484 12/12/2018
1.0.132 1,697 8/11/2018
1.0.131 1,638 7/31/2018
1.0.130 1,638 7/25/2018
1.0.129 1,612 7/24/2018
1.0.128 1,636 7/19/2018
1.0.127 1,687 7/4/2018
1.0.126 1,730 6/20/2018
1.0.125 1,731 6/19/2018
1.0.124 1,781 5/24/2018
1.0.123 1,715 5/18/2018
1.0.122 1,860 5/17/2018
1.0.121 1,844 4/29/2018
1.0.120 1,820 4/29/2018
1.0.119 1,775 4/27/2018
1.0.118 1,750 4/26/2018
1.0.117 1,729 4/26/2018
1.0.116 1,715 4/25/2018
1.0.115 1,620 4/23/2018
1.0.114 1,755 4/12/2018
1.0.113 1,805 4/11/2018
1.0.112 1,796 4/4/2018
1.0.111 1,743 4/3/2018
1.0.110 1,750 4/2/2018
1.0.109 1,759 3/29/2018
1.0.108 1,748 3/28/2018
1.0.107 1,761 3/22/2018
1.0.106 1,775 3/22/2018
1.0.105 1,922 2/28/2018
1.0.104 1,840 2/26/2018
1.0.103 1,764 2/25/2018
1.0.102 1,761 2/24/2018
1.0.101 1,635 2/23/2018
1.0.100 1,918 2/23/2018
1.0.99 1,811 1/16/2018
1.0.98 1,815 12/20/2017
1.0.97 1,788 12/10/2017
1.0.96 1,720 12/7/2017
1.0.95 1,752 12/7/2017
1.0.94 1,663 12/6/2017
1.0.93 1,800 12/6/2017
1.0.92 1,723 11/30/2017
1.0.91 1,671 11/30/2017
1.0.90 1,669 11/28/2017
1.0.89 1,621 11/28/2017
1.0.88 1,916 10/18/2017
1.0.87 1,877 10/16/2017
1.0.86 1,863 10/16/2017
1.0.85 1,903 10/15/2017
1.0.84 1,902 10/6/2017
1.0.83 1,917 10/6/2017
1.0.82 1,908 10/5/2017
1.0.81 1,906 10/4/2017
1.0.80 1,938 9/30/2017
1.0.79 2,139 9/28/2017
1.0.78 1,848 9/27/2017
1.0.77 1,878 9/26/2017
1.0.76 1,860 9/26/2017
1.0.75 1,888 9/26/2017
1.0.74 1,847 9/26/2017
1.0.73 1,858 9/26/2017
1.0.72 1,932 9/21/2017
1.0.71 1,926 9/20/2017
1.0.70 1,870 9/20/2017
1.0.69 1,878 9/20/2017
1.0.68 1,881 9/20/2017
1.0.67 1,872 9/18/2017
1.0.66 1,931 9/18/2017
1.0.65 1,896 9/18/2017
1.0.64 1,895 9/18/2017
1.0.63 1,876 9/17/2017
1.0.62 1,858 9/17/2017
1.0.61 1,893 9/17/2017
1.0.60 1,925 9/15/2017
1.0.59 1,915 9/15/2017
1.0.58 1,902 9/12/2017
1.0.57 1,861 9/12/2017
1.0.56 1,900 9/12/2017
1.0.55 1,908 9/12/2017
1.0.54 1,878 9/12/2017
1.0.53 1,900 9/11/2017
1.0.52 1,893 9/11/2017
1.0.51 1,876 9/8/2017
1.0.50 1,896 9/8/2017
1.0.49 1,921 9/6/2017
1.0.48 1,899 9/6/2017
1.0.47 1,902 9/5/2017
1.0.46 1,917 9/5/2017
1.0.45 1,898 9/1/2017
1.0.44 1,896 8/31/2017
1.0.43 1,923 8/31/2017
1.0.42 1,918 8/31/2017
1.0.41 1,904 8/31/2017
1.0.40 1,935 8/31/2017
1.0.39 1,959 8/30/2017
1.0.38 1,692 8/28/2017
1.0.37 1,729 8/22/2017
1.0.36 1,702 8/22/2017
1.0.35 1,683 8/22/2017
1.0.34 1,671 8/21/2017
1.0.33 1,670 8/17/2017
1.0.32 1,723 8/16/2017
1.0.31 1,704 8/16/2017
1.0.30 1,689 8/15/2017
1.0.29 1,680 8/15/2017
1.0.28 1,740 8/15/2017
1.0.27 1,749 8/14/2017
1.0.26 1,671 8/11/2017
1.0.25 1,684 8/11/2017
1.0.24 1,661 8/9/2017
1.0.21 1,681 8/7/2017
1.0.19 1,732 8/7/2017
1.0.17 1,716 8/7/2017
1.0.15 1,712 8/4/2017
1.0.13 1,696 8/4/2017
1.0.11 1,711 8/3/2017
1.0.9 1,724 7/23/2017
1.0.8 1,701 7/23/2017
1.0.7 1,689 7/23/2017
1.0.6 1,696 7/23/2017
1.0.5 1,709 7/22/2017
1.0.4 1,703 7/22/2017
1.0.3 1,703 7/22/2017
1.0.1 1,820 7/21/2017
1.0.0 1,720 7/20/2017