NExpect 1.0.52

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

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

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.104 58 8/30/2024
2.0.103 55 8/30/2024 2.0.103 is deprecated.
2.0.102 1,427 6/19/2024
2.0.101 172 6/11/2024
2.0.100 229 6/10/2024
2.0.99 219 6/5/2024
2.0.98 152 6/3/2024
2.0.97 117 6/3/2024
2.0.96 129 6/3/2024
2.0.95 271 5/17/2024
2.0.94 726 5/17/2024
2.0.93 174 5/17/2024
2.0.92 348 4/29/2024
2.0.91 964 4/17/2024
2.0.90 193 4/15/2024
2.0.89 184 4/8/2024
2.0.88 185 4/5/2024
2.0.87 129 4/5/2024
2.0.86 152 4/5/2024
2.0.85 133 4/5/2024
2.0.84 157 4/4/2024
2.0.83 658 4/3/2024
2.0.82 698 4/2/2024
2.0.81 420 3/13/2024
2.0.80 153 3/13/2024 2.0.80 is deprecated.
2.0.79 217 3/11/2024
2.0.78 226 3/5/2024
2.0.77 308 2/27/2024
2.0.76 172 2/26/2024
2.0.75 258 2/22/2024
2.0.74 176 2/22/2024
2.0.73 211 2/19/2024
2.0.72 187 2/15/2024
2.0.71 407 2/13/2024
2.0.70 308 2/13/2024
2.0.69 411 2/7/2024
2.0.68 193 2/6/2024
2.0.67 215 2/5/2024
2.0.66 202 2/2/2024
2.0.65 817 1/30/2024
2.0.64 351 1/18/2024
2.0.63 432 1/15/2024
2.0.62 182 1/12/2024
2.0.61 146 1/12/2024
2.0.60 207 1/10/2024
2.0.59 223 1/9/2024
2.0.58 996 12/13/2023
2.0.57 778 11/28/2023
2.0.56 206 11/28/2023
2.0.55 3,246 11/17/2023
2.0.54 254 11/17/2023
2.0.53 188 11/17/2023
2.0.52 882 10/30/2023
2.0.51 285 10/26/2023
2.0.50 689 10/12/2023
2.0.49 1,592 9/28/2023
2.0.48 533 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 730 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 66 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 760 6/22/2023
2.0.33 234 6/22/2023
2.0.32 242 6/22/2023
2.0.32-2306210815 75 6/21/2023
2.0.32-2306210812 48 6/21/2023
2.0.32-2306151149.332886a 74 6/15/2023
2.0.32-2306151140.93d85dc 70 6/15/2023
2.0.32-2306150947.3b80752 71 6/15/2023
2.0.31 374 6/12/2023
2.0.30 466 6/9/2023
2.0.30-2306091428.6fc0bd3 98 6/9/2023
2.0.30-2306091304.51d4d0b 73 6/9/2023
2.0.30-2306091204.1fe4d76 70 6/9/2023
2.0.30-2306090857.5be3155 74 6/9/2023
2.0.30-2306081701.3a525ef 71 6/8/2023
2.0.30-2306081646.5a15be2 69 6/8/2023
2.0.30-2306081628.68f2d91 71 6/8/2023
2.0.30-2306081611.3c4f19f 72 6/8/2023
2.0.30-2306081557.4fa2105 69 6/8/2023
2.0.30-2306081119.fdddf3b 74 6/8/2023
2.0.30-2306081053.68ba9f2 70 6/8/2023
2.0.30-2306080900.1b126b1 72 6/8/2023
2.0.29 825 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 442 4/26/2023
2.0.24 10,664 2/1/2023
2.0.23 662 1/30/2023
2.0.22 861 1/26/2023
2.0.21 646 1/25/2023
2.0.20 742 1/25/2023
2.0.19 1,950 11/30/2022
2.0.18 1,529 11/14/2022
2.0.17 4,772 10/19/2022
2.0.16 1,250 10/17/2022
2.0.15 1,184 10/17/2022
2.0.14 1,811 10/3/2022
2.0.13 1,181 10/3/2022
2.0.12 1,260 10/3/2022
2.0.11 1,298 9/27/2022
2.0.10 1,405 9/20/2022
2.0.9 1,384 9/19/2022
2.0.8 1,398 9/15/2022
2.0.7 1,384 9/14/2022
2.0.6 1,253 9/13/2022
2.0.5 1,276 9/13/2022
2.0.4 1,302 9/13/2022
2.0.3 1,325 9/9/2022
2.0.2 1,224 9/9/2022
2.0.1 1,266 9/9/2022
1.0.276 58,700 8/17/2022
1.0.275 1,306 8/17/2022
1.0.274 2,124 7/28/2022
1.0.273 5,281 7/14/2022
1.0.272 1,371 7/14/2022
1.0.271 1,355 7/13/2022
1.0.270 1,570 7/7/2022
1.0.269 1,326 7/7/2022
1.0.268 1,907 6/20/2022
1.0.267 1,519 6/14/2022
1.0.266 1,630 6/9/2022
1.0.265 2,916 5/27/2022
1.0.264 1,491 5/24/2022
1.0.263 1,362 5/23/2022
1.0.262 1,462 5/17/2022
1.0.261 1,350 5/16/2022
1.0.260 1,358 5/16/2022
1.0.259 1,800 5/6/2022
1.0.258 1,353 5/5/2022
1.0.257 1,340 5/5/2022
1.0.256 1,346 5/4/2022
1.0.255 1,383 5/4/2022
1.0.254 2,144 4/5/2022
1.0.253 1,390 4/5/2022
1.0.252 1,344 4/4/2022
1.0.251 1,559 3/22/2022
1.0.250 2,778 2/3/2022
1.0.249 1,431 1/28/2022
1.0.248 1,748 1/27/2022
1.0.247 1,412 1/26/2022
1.0.246 1,381 1/25/2022
1.0.245 1,368 1/18/2022
1.0.244 1,351 1/18/2022
1.0.243 1,222 1/12/2022
1.0.242 1,055 12/10/2021
1.0.241 798 12/10/2021
1.0.240 805 12/10/2021
1.0.239 911 12/6/2021
1.0.238 1,236 12/6/2021
1.0.236 823 12/2/2021
1.0.235 861 12/2/2021
1.0.234 831 12/2/2021
1.0.233 1,040 11/18/2021
1.0.232 819 11/18/2021
1.0.231 1,066 11/9/2021
1.0.230 939 11/9/2021
1.0.227 1,077 10/14/2021
1.0.226 1,205 9/2/2021
1.0.225 842 8/31/2021
1.0.224 867 8/30/2021
1.0.223 1,001 8/6/2021
1.0.222 855 8/6/2021
1.0.221 872 8/6/2021
1.0.220 893 8/3/2021
1.0.219 946 7/30/2021
1.0.218 998 7/7/2021
1.0.217 793 7/7/2021
1.0.216 828 7/7/2021
1.0.215 868 7/6/2021
1.0.214 864 7/6/2021
1.0.213 814 7/6/2021
1.0.212 22,177 5/14/2021
1.0.211 827 5/11/2021
1.0.210 813 5/11/2021
1.0.209 767 5/11/2021
1.0.208 755 5/11/2021
1.0.207 1,085 5/3/2021
1.0.206 901 5/3/2021
1.0.205 842 5/3/2021
1.0.204 803 5/3/2021
1.0.203 818 4/15/2021
1.0.202 811 4/15/2021
1.0.201 768 4/15/2021
1.0.200 780 4/15/2021
1.0.199 784 4/14/2021
1.0.198 922 3/19/2021
1.0.197 807 3/9/2021
1.0.196 832 3/9/2021
1.0.195 833 3/9/2021
1.0.194 892 3/9/2021
1.0.193 894 3/9/2021
1.0.192 912 3/9/2021
1.0.191 910 2/12/2021
1.0.190 942 1/21/2021
1.0.189 949 1/21/2021
1.0.188 852 1/21/2021
1.0.187 833 1/21/2021
1.0.186 1,159 1/8/2021
1.0.185 891 1/8/2021
1.0.184 5,090 11/13/2020
1.0.183 851 11/13/2020
1.0.182 862 11/13/2020
1.0.181 1,270 10/13/2020
1.0.180 1,031 10/12/2020
1.0.179 1,087 8/31/2020
1.0.178 3,625 8/4/2020
1.0.177 1,008 7/21/2020
1.0.176 919 7/10/2020
1.0.175 977 7/10/2020
1.0.174 3,521 5/20/2020
1.0.173 1,001 5/20/2020
1.0.172 1,064 5/20/2020
1.0.171 1,040 5/8/2020
1.0.170 1,988 4/9/2020
1.0.169 1,098 4/3/2020
1.0.168 1,017 3/25/2020
1.0.167 1,119 3/23/2020
1.0.166 1,142 2/6/2020
1.0.165 1,149 12/30/2019
1.0.164 1,038 12/28/2019
1.0.163 1,005 12/28/2019
1.0.162 1,399 12/5/2019
1.0.161 994 12/5/2019
1.0.160 1,378 11/20/2019
1.0.159 1,632 10/14/2019
1.0.158 674 10/13/2019
1.0.157 1,131 10/3/2019
1.0.156 1,046 9/17/2019
1.0.155 1,040 9/15/2019
1.0.154 2,737 6/20/2019
1.0.153 1,722 6/20/2019
1.0.152 1,919 6/6/2019
1.0.151 1,728 6/4/2019
1.0.150 1,759 5/25/2019
1.0.149 1,721 5/23/2019
1.0.148 1,690 5/16/2019
1.0.147 1,727 5/16/2019
1.0.146 1,481 5/16/2019
1.0.145 1,451 5/16/2019
1.0.143 2,578 5/14/2019
1.0.142 1,639 5/13/2019
1.0.141 1,385 5/7/2019
1.0.140 1,478 4/16/2019
1.0.139 1,456 4/16/2019
1.0.138 1,371 4/16/2019
1.0.137 1,311 4/16/2019
1.0.136 1,515 1/9/2019
1.0.135 4,936 12/12/2018
1.0.134 1,465 12/12/2018
1.0.132 1,675 8/11/2018
1.0.131 1,619 7/31/2018
1.0.130 1,615 7/25/2018
1.0.129 1,592 7/24/2018
1.0.128 1,615 7/19/2018
1.0.127 1,671 7/4/2018
1.0.126 1,710 6/20/2018
1.0.125 1,710 6/19/2018
1.0.124 1,759 5/24/2018
1.0.123 1,696 5/18/2018
1.0.122 1,844 5/17/2018
1.0.121 1,822 4/29/2018
1.0.120 1,801 4/29/2018
1.0.119 1,773 4/27/2018
1.0.118 1,731 4/26/2018
1.0.117 1,710 4/26/2018
1.0.116 1,711 4/25/2018
1.0.115 1,606 4/23/2018
1.0.114 1,738 4/12/2018
1.0.113 1,787 4/11/2018
1.0.112 1,778 4/4/2018
1.0.111 1,725 4/3/2018
1.0.110 1,724 4/2/2018
1.0.109 1,744 3/29/2018
1.0.108 1,732 3/28/2018
1.0.107 1,742 3/22/2018
1.0.106 1,753 3/22/2018
1.0.105 1,907 2/28/2018
1.0.104 1,822 2/26/2018
1.0.103 1,747 2/25/2018
1.0.102 1,743 2/24/2018
1.0.101 1,618 2/23/2018
1.0.100 1,901 2/23/2018
1.0.99 1,794 1/16/2018
1.0.98 1,794 12/20/2017
1.0.97 1,773 12/10/2017
1.0.96 1,702 12/7/2017
1.0.95 1,737 12/7/2017
1.0.94 1,646 12/6/2017
1.0.93 1,784 12/6/2017
1.0.92 1,701 11/30/2017
1.0.91 1,653 11/30/2017
1.0.90 1,650 11/28/2017
1.0.89 1,606 11/28/2017
1.0.88 1,897 10/18/2017
1.0.87 1,861 10/16/2017
1.0.86 1,859 10/16/2017
1.0.85 1,886 10/15/2017
1.0.84 1,882 10/6/2017
1.0.83 1,901 10/6/2017
1.0.82 1,892 10/5/2017
1.0.81 1,887 10/4/2017
1.0.80 1,920 9/30/2017
1.0.79 2,120 9/28/2017
1.0.78 1,832 9/27/2017
1.0.77 1,860 9/26/2017
1.0.76 1,840 9/26/2017
1.0.75 1,867 9/26/2017
1.0.74 1,827 9/26/2017
1.0.73 1,841 9/26/2017
1.0.72 1,914 9/21/2017
1.0.71 1,909 9/20/2017
1.0.70 1,855 9/20/2017
1.0.69 1,862 9/20/2017
1.0.68 1,862 9/20/2017
1.0.67 1,854 9/18/2017
1.0.66 1,914 9/18/2017
1.0.65 1,879 9/18/2017
1.0.64 1,879 9/18/2017
1.0.63 1,857 9/17/2017
1.0.62 1,844 9/17/2017
1.0.61 1,872 9/17/2017
1.0.60 1,909 9/15/2017
1.0.59 1,895 9/15/2017
1.0.58 1,879 9/12/2017
1.0.57 1,846 9/12/2017
1.0.56 1,881 9/12/2017
1.0.55 1,892 9/12/2017
1.0.54 1,858 9/12/2017
1.0.53 1,883 9/11/2017
1.0.52 1,873 9/11/2017
1.0.51 1,861 9/8/2017
1.0.50 1,882 9/8/2017
1.0.49 1,901 9/6/2017
1.0.48 1,880 9/6/2017
1.0.47 1,900 9/5/2017
1.0.46 1,901 9/5/2017
1.0.45 1,882 9/1/2017
1.0.44 1,880 8/31/2017
1.0.43 1,907 8/31/2017
1.0.42 1,902 8/31/2017
1.0.41 1,884 8/31/2017
1.0.40 1,914 8/31/2017
1.0.39 1,941 8/30/2017
1.0.38 1,677 8/28/2017
1.0.37 1,712 8/22/2017
1.0.36 1,682 8/22/2017
1.0.35 1,661 8/22/2017
1.0.34 1,654 8/21/2017
1.0.33 1,656 8/17/2017
1.0.32 1,701 8/16/2017
1.0.31 1,684 8/16/2017
1.0.30 1,674 8/15/2017
1.0.29 1,659 8/15/2017
1.0.28 1,725 8/15/2017
1.0.27 1,729 8/14/2017
1.0.26 1,655 8/11/2017
1.0.25 1,668 8/11/2017
1.0.24 1,645 8/9/2017
1.0.21 1,665 8/7/2017
1.0.19 1,713 8/7/2017
1.0.17 1,699 8/7/2017
1.0.15 1,689 8/4/2017
1.0.13 1,675 8/4/2017
1.0.11 1,691 8/3/2017
1.0.9 1,705 7/23/2017
1.0.8 1,680 7/23/2017
1.0.7 1,669 7/23/2017
1.0.6 1,676 7/23/2017
1.0.5 1,687 7/22/2017
1.0.4 1,688 7/22/2017
1.0.3 1,687 7/22/2017
1.0.1 1,801 7/21/2017
1.0.0 1,697 7/20/2017