UnderTest.Nuke 0.7.0

Nuke additions for UnderTest.

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package UnderTest.Nuke -Version 0.7.0
dotnet add package UnderTest.Nuke --version 0.7.0
<PackageReference Include="UnderTest.Nuke" Version="0.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UnderTest.Nuke --version 0.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: UnderTest.Nuke, 0.7.0"
#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 UnderTest.Nuke as a Cake Addin
#addin nuget:?package=UnderTest.Nuke&version=0.7.0

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

UnderTest.Nuke

In building UnderTest we were copying runner code from project to project and this was creating technical debt.
From this, we built UnderTest.Nuke, which takes our opinions on how BDD acceptance tests should be automated.
We built this with a few principles:

  • Quick to get started
  • Repeatable pattern to the builds
  • Report generation is critical to success

Getting Started:

Only running acceptance tests

In many projects, there are solutions only setup for running tests. These may be tests which span multiple microservices or systems. For situations like these, we have our UnderTestBuildRunner which will template out the entire build process and get to your test results as quickly as possible.

  1. Create your acceptance testing project with UnderTest
  2. Add a build project using nuke.build’s nuke :setup --boot
  3. Add UnderTest.Nuke by installing this package Install-Package UnderTest.Nuke
  4. Add to the generated Build.cs file with the following:
    Project AcceptanceTestsProject => Solution.GetProject("AcceptanceTests");

    public Target AcceptanceTests =>
      _ =>
        _.DependsOn(UnitTests)
          .Executes(() =>
          {
            UnderTestTasks.UnderTestRunSuite(x => x
              .SetConfiguration(Configuration)
              .SetProject(AcceptanceTestsProject)
              .SetOnlyRunTheseTags(new[] {"@smoke"}));
          });
  • where AcceptanceTests is the name of your UnderTest project

UnderTest.Nuke

In building UnderTest we were copying runner code from project to project and this was creating technical debt.
From this, we built UnderTest.Nuke, which takes our opinions on how BDD acceptance tests should be automated.
We built this with a few principles:

  • Quick to get started
  • Repeatable pattern to the builds
  • Report generation is critical to success

Getting Started:

Only running acceptance tests

In many projects, there are solutions only setup for running tests. These may be tests which span multiple microservices or systems. For situations like these, we have our UnderTestBuildRunner which will template out the entire build process and get to your test results as quickly as possible.

  1. Create your acceptance testing project with UnderTest
  2. Add a build project using nuke.build’s nuke :setup --boot
  3. Add UnderTest.Nuke by installing this package Install-Package UnderTest.Nuke
  4. Add to the generated Build.cs file with the following:
    Project AcceptanceTestsProject => Solution.GetProject("AcceptanceTests");

    public Target AcceptanceTests =>
      _ =>
        _.DependsOn(UnitTests)
          .Executes(() =>
          {
            UnderTestTasks.UnderTestRunSuite(x => x
              .SetConfiguration(Configuration)
              .SetProject(AcceptanceTestsProject)
              .SetOnlyRunTheseTags(new[] {"@smoke"}));
          });
  • where AcceptanceTests is the name of your UnderTest project

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.8.0-rc002 69 2/21/2021
0.8.0-rc001 118 12/28/2020
0.7.0 2,989 8/23/2020
0.7.0-rc005 163 8/23/2020
0.7.0-rc004 212 8/22/2020
0.7.0-rc003 321 8/2/2020
0.7.0-rc002 310 7/25/2020
0.7.0-rc001 212 2/29/2020
0.6.0 7,324 10/9/2019
0.6.0-alpha003 193 10/8/2019
0.6.0-alpha002 194 9/2/2019
0.6.0-alpha001 198 9/2/2019
0.5.0 1,806 4/12/2019
0.5.0-delta 266 4/10/2019
0.5.0-charlie 269 4/9/2019
0.5.0-beta 278 4/9/2019
0.5.0-alpha 248 4/9/2019
0.4.0 382 2/25/2019
0.4.0-alpha 251 2/24/2019
0.3.1 278 2/23/2019
0.3.0 354 2/10/2019
0.3.0-delta 376 1/27/2019
0.3.0-charlie 334 1/27/2019
0.3.0-beta 306 1/25/2019
0.3.0-alpha 317 1/24/2019
0.2.0 379 1/15/2019
0.2.0-charlie 368 1/14/2019
0.2.0-beta 338 1/13/2019
0.2.0-alpha 354 1/13/2019
0.1.0 423 12/28/2018
0.1.0-charlie 356 12/27/2018
0.1.0-beta 336 12/27/2018
0.1.0-alpha 346 12/27/2018