LightBDD.TabularAttributes 1.0.0

dotnet add package LightBDD.TabularAttributes --version 1.0.0
NuGet\Install-Package LightBDD.TabularAttributes -Version 1.0.0
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="LightBDD.TabularAttributes" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LightBDD.TabularAttributes --version 1.0.0
#r "nuget: LightBDD.TabularAttributes, 1.0.0"
#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 LightBDD.TabularAttributes as a Cake Addin
#addin nuget:?package=LightBDD.TabularAttributes&version=1.0.0

// Install LightBDD.TabularAttributes as a Cake Tool
#tool nuget:?package=LightBDD.TabularAttributes&version=1.0.0

Tabular Attributes

Designed to be used with LightBdd Tabular Parameters to allow for specifying input and output data for tests via attributes, in a truth table format.

Differences between Tabular Attributes and InlineData

  • InlineData doesn't work with LightBdd Tables
  • InlineData doesn't clearly differentiate between inputs and outputs
  • InlineData doesn't inline column names so it's difficult to know what value is referring to what variable at a glance
  • InlineData doesn't allow for column/variable names with spaces
  • InlineData gives long messy constructors with variables that then need to be fed in to your test
  • InlineData doesn't automatically convert data into input and output classes

Why have test inputs and outputs specified inline with attributes?

  • Allows a reader to see at a glance what the inputs and outputs of a test are at compile time
  • Allows a reader to easily match up each input to each expected output at compile time
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 13,448 12/18/2021