Bard 4.8.1

Bard is a .NET library for functional API testing.

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package Bard -Version 4.8.1
dotnet add package Bard --version 4.8.1
<PackageReference Include="Bard" Version="4.8.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bard --version 4.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Bard, 4.8.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Bard as a Cake Addin
#addin nuget:?package=Bard&version=4.8.1

// Install Bard as a Cake Tool
#tool nuget:?package=Bard&version=4.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Changes in 4.2.0
           - New Feature Performance Testing
           Changes in 4.1.0
           - New Feature Header Assertions            
           Changes in 4.0.0
           - Pass in StoryData as parameter to Given Function when building stories.
           Changes in 3.4
           - When POST to API Model can now be nullable
           Changes in 3.3
           - Add gRPC HttpClient TestServer extension method
           Changes in 3.2.0
           - More logging improvements. Made logging message headers tidier.
           - Made headers human readable
           - Added in logging headers for our Test Assertions.
           Changes in 3.1.0
           - Improved default logging of Stories. Bard now tracks if any logging was performed in a Story
           and will only log the StoryData as a last resort if either the API was not called or manual logging
           was not performed.
           Changes in 3.0.0
           - gRPC support
           - Pipeline StoryInput StoryOutput Model refactored to simpler StoryData implementation
           - Given.That removed and replaced with Given
           Changes in 2.0.0
           - IScenarioContext now removed. Should be replaced with ScenarioContext instead.
           - Changed method signatures on Chapters to make them simpler. The Funcs used to require the Chapter Input in the method signature. Now the Chapter input is accessible on the ScenarioContext
           - Changed UseResult method to access tests output. Used to be called UseResult but is now called GetResult.
           
           Changes in 1.2.0
           - Added better logging when building a chapter and not calling the Context's API. Previously nothing was logged to the console. Now Bard tracks if the API has been called or not and if it hasn't it defaults to outputing the response from the story.
           
           Changes in 1.1.1
           - Bug: when asserting HTTP code returned from API due to Shouldly not working in Release build.
           - Change: removed dependency on Shouldly library
           Full release notes can be viewed here https://docs.bard.net.nz/miscellaneous/change-log

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Bard:

Package Downloads
Bard.gRPC
A .NET Functional gRPC API Testing Framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
4.8.2-alpha.0.1 95 12/13/2020
4.8.1 1,473 12/7/2020
4.8.1-alpha.0.2 140 12/7/2020
4.8.1-alpha.0.1 702 11/15/2020
4.7.2-alpha.0.7 323 11/11/2020
4.7.2-alpha.0.6 154 11/11/2020
4.7.2-alpha.0.5 99 11/11/2020
4.7.2-alpha.0.4 108 11/11/2020
4.7.2-alpha.0.3 111 11/11/2020
4.7.2-alpha.0.1 103 11/10/2020
4.7.1 196 11/10/2020
4.7.1-alpha.0.1 129 11/10/2020
4.7.0 202 11/5/2020
4.6.1-alpha.0.3 122 11/5/2020
4.6.1-alpha.0.2 114 10/9/2020
4.6.1-alpha.0.1 165 10/8/2020
4.6.0 3,539 10/7/2020
4.5.0 205 10/6/2020
4.4.2-alpha.0.6 159 10/6/2020
4.4.2-alpha.0.5 164 10/6/2020
4.4.2-alpha.0.4 106 10/6/2020
4.4.2-alpha.0.3 167 9/26/2020
4.4.2-alpha.0.2 169 9/24/2020
4.4.1 1,512 9/21/2020
4.4.1-alpha.0.1 116 9/15/2020
4.4.0 298 9/15/2020
4.3.2-alpha.0.2 150 9/15/2020
4.3.2-alpha.0.1 161 9/15/2020
4.3.1 711 9/13/2020
4.3.1-alpha.0.3 207 9/13/2020
4.3.0 248 9/11/2020
4.2.2-alpha.0.8 174 9/10/2020
4.2.2-alpha.0.7 183 9/8/2020
4.2.2-alpha.0.6 202 9/8/2020
4.2.2-alpha.0.3 128 9/7/2020
4.2.2-alpha.0.2 203 9/6/2020
4.2.2-alpha.0.1 203 9/6/2020
4.2.1 458 9/5/2020
4.2.0 156 9/5/2020
4.1.1-alpha.0.2 117 9/5/2020
4.1.1-alpha.0.1 120 9/5/2020
4.1.0 183 9/3/2020
4.0.3-alpha.0.3 123 9/3/2020
4.0.3-alpha.0.1 140 9/3/2020
4.0.2 193 9/3/2020
4.0.2-alpha.0.1 144 9/3/2020
4.0.1 232 9/3/2020
4.0.1-alpha.0.7 179 9/3/2020
4.0.1-alpha.0.1 140 9/2/2020
4.0.0 368 9/2/2020
3.4.2-alpha.0.6 174 9/2/2020
3.4.2-alpha.0.5 205 9/1/2020
3.4.2-alpha.0.4 113 9/1/2020
3.4.2-alpha.0.3 116 9/1/2020
3.4.2-alpha.0.2 119 9/1/2020
3.4.1 290 8/29/2020
3.4.0 274 8/24/2020
3.3.1-alpha.0.1 140 8/24/2020
3.3.0 177 8/20/2020
3.2.6-alpha.0.4 168 8/20/2020
3.2.6-alpha.0.3 178 8/20/2020
3.2.6-alpha.0.1 116 8/20/2020
3.2.5 172 8/20/2020
3.2.5-alpha.0.1 122 8/20/2020
3.2.4-alpha.0.9 128 8/20/2020
3.2.4-alpha.0.2 161 8/18/2020
3.2.3 225 8/18/2020
3.2.3-alpha.0.1 168 8/18/2020
3.2.2 222 8/17/2020
3.2.1 179 8/17/2020
3.2.0 279 8/16/2020
3.1.1-alpha.0.2 189 8/16/2020
3.1.0 200 8/14/2020
3.0.3-alpha.0.23 145 8/14/2020
3.0.3-alpha.0.12 211 8/12/2020
3.0.3-alpha.0.7 211 8/12/2020
3.0.3-alpha.0.5 219 8/12/2020
3.0.2 231 8/10/2020
3.0.2-alpha.0.6 172 8/10/2020
3.0.2-alpha.0.2 166 8/10/2020
3.0.1 259 8/9/2020
3.0.1-alpha.0.5 201 8/9/2020
3.0.0-alpha.0.1.7 133 8/6/2020
3.0.0-alpha.0.1.6 139 8/6/2020
3.0.0-alpha.0.1.5 142 8/6/2020
3.0.0-alpha.0.1.4 146 8/6/2020
3.0.0-alpha.0.1.3 141 8/6/2020
2.1.1-alpha.0.9 144 8/6/2020
2.1.1-alpha.0.7 162 8/4/2020
2.1.1-alpha.0.6 166 8/4/2020
2.1.1-alpha.0.5 164 8/4/2020
2.1.1-alpha.0.4 167 8/4/2020
2.1.1-alpha.0.3 164 8/4/2020
2.1.1-alpha.0.2 137 8/3/2020
2.1.1-alpha.0.1 128 8/3/2020
2.1.0 214 8/3/2020
2.0.1-alpha.0.8 192 8/3/2020
2.0.1-alpha.0.7 127 8/2/2020
2.0.1-alpha.0.6 151 8/2/2020
2.0.1-alpha.0.5 160 8/2/2020
2.0.1-alpha.0.4 161 8/2/2020
2.0.1-alpha.0.3 230 8/1/2020
2.0.1-alpha.0.2 228 8/1/2020
2.0.1-alpha.0.1 229 8/1/2020
2.0.0 225 7/31/2020
1.2.1-alpha.0.10 198 7/31/2020
1.2.1-alpha.0.9 200 7/31/2020
1.2.1-alpha.0.8 204 7/31/2020
1.2.1-alpha.0.7 148 7/30/2020
1.2.1-alpha.0.6 146 7/30/2020
1.2.1-alpha.0.5 148 7/30/2020
1.2.1-alpha.0.4 143 7/29/2020
1.2.1-alpha.0.3 180 7/29/2020
1.2.1-alpha.0.2 138 7/29/2020
1.2.1-alpha.0.1 142 7/28/2020
1.2.0 169 7/28/2020
1.1.2-alpha.0.1 160 7/27/2020
1.1.1 191 7/27/2020
1.1.1-alpha.0.7 183 7/27/2020
1.1.1-alpha.0.6 184 7/27/2020
1.1.1-alpha.0.5 183 7/27/2020
1.1.1-alpha.0.4 188 7/27/2020
1.1.1-alpha.0.3 188 7/27/2020
1.1.1-alpha.0.2 189 7/27/2020
1.1.1-alpha.0.1 149 7/27/2020
1.1.0 217 7/27/2020
1.0.1-alpha.0.3 268 7/25/2020
1.0.1-alpha.0.2 268 7/25/2020
1.0.1-alpha.0.1 121 7/25/2020
1.0.0 157 7/25/2020
0.0.6-alpha.0.14 123 7/25/2020
0.0.6-alpha.0.10 302 7/25/2020
0.0.6-alpha.0.9 307 7/25/2020
0.0.6-alpha.0.7 125 7/25/2020
0.0.6-alpha.0.6 229 7/24/2020
0.0.6-alpha.0.5 228 7/24/2020
0.0.6-alpha.0.4 228 7/24/2020
0.0.6-alpha.0.3 230 7/24/2020
0.0.6-alpha.0.2 231 7/24/2020
0.0.6-alpha.0.1 232 7/24/2020
0.0.4-alpha.0.1 126 7/22/2020
0.0.2 357 7/21/2020
0.0.1 357 7/21/2020
0.0.0-alpha.0.36 235 7/24/2020
0.0.0-alpha.0.35 238 7/24/2020
0.0.0-alpha.0 242 7/24/2020