UnderTest.Nuke 0.7.0

.NET Core 2.1
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package UnderTest.Nuke --version 0.7.0
NuGet\Install-Package UnderTest.Nuke -Version 0.7.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="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
#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

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
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
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
0.8.0-rc002 227 2/21/2021
0.8.0-rc001 210 12/28/2020
0.7.0 7,653 8/23/2020
0.7.0-rc005 259 8/23/2020
0.7.0-rc004 294 8/22/2020
0.7.0-rc003 403 8/2/2020
0.7.0-rc002 427 7/25/2020
0.7.0-rc001 295 2/29/2020
0.6.0 7,527 10/9/2019
0.6.0-alpha003 278 10/8/2019
0.6.0-alpha002 281 9/2/2019
0.6.0-alpha001 294 9/2/2019
0.5.0 1,974 4/12/2019
0.5.0-delta 347 4/10/2019
0.5.0-charlie 360 4/9/2019
0.5.0-beta 378 4/9/2019
0.5.0-alpha 334 4/9/2019
0.4.0 562 2/25/2019
0.4.0-alpha 354 2/24/2019
0.3.1 456 2/23/2019
0.3.0 520 2/10/2019
0.3.0-delta 476 1/27/2019
0.3.0-charlie 429 1/27/2019
0.3.0-beta 399 1/25/2019
0.3.0-alpha 403 1/24/2019
0.2.0 570 1/15/2019
0.2.0-charlie 480 1/14/2019
0.2.0-beta 470 1/13/2019
0.2.0-alpha 453 1/13/2019
0.1.0 692 12/28/2018
0.1.0-charlie 484 12/27/2018
0.1.0-beta 451 12/27/2018
0.1.0-alpha 449 12/27/2018