UnderTest.Nuke
0.7.0
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
<PackageReference Include="UnderTest.Nuke" Version="0.7.0" />
paket add UnderTest.Nuke --version 0.7.0
#r "nuget: UnderTest.Nuke, 0.7.0"
// 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.
- Create your acceptance testing project with UnderTest
- Add a build project using nuke.build’s
nuke :setup --boot
- Add UnderTest.Nuke by installing this package
Install-Package UnderTest.Nuke
- 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 |
-
.NETCoreApp 2.1
- Nuke.Common (>= 0.24.11)
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 | 232 | 2/21/2021 |
0.8.0-rc001 | 210 | 12/28/2020 |
0.7.0 | 7,664 | 8/23/2020 |
0.7.0-rc005 | 261 | 8/23/2020 |
0.7.0-rc004 | 296 | 8/22/2020 |
0.7.0-rc003 | 405 | 8/2/2020 |
0.7.0-rc002 | 431 | 7/25/2020 |
0.7.0-rc001 | 296 | 2/29/2020 |
0.6.0 | 7,529 | 10/9/2019 |
0.6.0-alpha003 | 279 | 10/8/2019 |
0.6.0-alpha002 | 284 | 9/2/2019 |
0.6.0-alpha001 | 296 | 9/2/2019 |
0.5.0 | 1,976 | 4/12/2019 |
0.5.0-delta | 347 | 4/10/2019 |
0.5.0-charlie | 363 | 4/9/2019 |
0.5.0-beta | 381 | 4/9/2019 |
0.5.0-alpha | 337 | 4/9/2019 |
0.4.0 | 564 | 2/25/2019 |
0.4.0-alpha | 357 | 2/24/2019 |
0.3.1 | 458 | 2/23/2019 |
0.3.0 | 523 | 2/10/2019 |
0.3.0-delta | 477 | 1/27/2019 |
0.3.0-charlie | 431 | 1/27/2019 |
0.3.0-beta | 399 | 1/25/2019 |
0.3.0-alpha | 406 | 1/24/2019 |
0.2.0 | 570 | 1/15/2019 |
0.2.0-charlie | 483 | 1/14/2019 |
0.2.0-beta | 473 | 1/13/2019 |
0.2.0-alpha | 456 | 1/13/2019 |
0.1.0 | 692 | 12/28/2018 |
0.1.0-charlie | 486 | 12/27/2018 |
0.1.0-beta | 452 | 12/27/2018 |
0.1.0-alpha | 452 | 12/27/2018 |