TestFirst.Net 0.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package TestFirst.Net --version 0.3.0
NuGet\Install-Package TestFirst.Net -Version 0.3.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="TestFirst.Net" Version="0.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TestFirst.Net --version 0.3.0
#r "nuget: TestFirst.Net, 0.3.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 TestFirst.Net as a Cake Addin
#addin nuget:?package=TestFirst.Net&version=0.3.0

// Install TestFirst.Net as a Cake Tool
#tool nuget:?package=TestFirst.Net&version=0.3.0

Testing library providing a fluent tdd/bdd testing approach. Easily extended and integrated
into your own testing tools (nunit, xunit, moq, etc).

Encourages the creation of easier to read and maintain testing code via the use of fluent builders for scenario's, given/when/thens,
Moq verification, List and Dictionary matchers

Available as via NuGet and compatible on both the Windows and Mono

As a quick example, the scenario:

   "Given a registered user, with an account balance of 10 dollars, when 6 dollars is debited, then
   expect that the account only has 4 dollars, and the transaction ledger records a 6 dollar debit"

can be written in TestFirst.Net as:

   Scenario()
       .Given(user = UserInTheDb().WithDefaults())
       .Given(account = AccountInTheDb().For(user).Balance(10).Dollars())
       
       .When(()=>account.debit(6))

       .Then(
           ExpectThat(TheAccountInTheDb.For(account)),
           Is(AnAcccount.With().Balance(4).Dollars())
       .Then(
           ExpectThat(TheAccountLedgerInTheDb.For(account)),
           Is(AnLedger.With().Debit(6).Dollars());

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on TestFirst.Net:

Package Downloads
TestFirst.Net.Extensions

Provides the NUnit and Moq integration classes for TestFirst.Net. See TestFirst.Net docs

TestFirst.Net.Performance

Provides the performance testing classes for TestFirst.Net. See TestFirst.Net docs on performance testing

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.3.6-beta 2,108 9/24/2015
0.3.5-beta 1,980 9/8/2015
0.3.4 4,174 9/6/2015
0.3.3 2,307 5/24/2015
0.3.2 2,363 5/20/2015
0.3.1 2,318 5/20/2015
0.3.0 2,303 5/20/2015
0.2.1 2,468 3/10/2014
0.2.0 2,511 2/16/2014

V0.3.0
====

Noteable changes

* Updated : AList now better supports mixed lists
* Updated : Improved diagnostic error messages
* Updated : Addition of new match methods on various matchers
* Updated : Various bug fixes
* Updated : Improve documentation
* New : Add new matchers AnException,AChar
* New : Add Expect.That(..).Throws(..) for exception testing

V0.2.1
====

* Release as NuGet package