RSpec Let NuGet Package

When testing in C# it's not unusual to test instances of a class.

The problem we
all face is having a place to initialize our objects.

1. Create a field that is initialized and reset on `[TearDown]`?
2.

Create a null field that is initialized during `[SetUp]`?
3. Duplicate the initialization in every `[Test]`?

All three of these are valid, and unfortunately, all three can be found in the
same project and sometimes the same test!.




Got any RSpec Let Question?





Info

Version: 1.1.1
Author(s): baylor
Last Update: Saturday, March 7, 2020
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/RSpec-Let


Install
Install-Package RSpec-Let
dotnet add package RSpec-Let
paket add RSpec-Let
RSpec-Let Download (Unzip the "nupkg" after downloading)

.NETFramework 4.5
  • No dependencies.
.NETStandard 2.0
  • No dependencies.


Tags



STATS

must-have-score

avg-downloads-per-day

14

days-since-last-release

1535