diff --git a/source/dub/commandline.d b/source/dub/commandline.d index 4f88473..67d8182 100644 --- a/source/dub/commandline.d +++ b/source/dub/commandline.d @@ -96,6 +96,7 @@ new RunCommand, new BuildCommand, new TestCommand, + new TestCovCommand, new GenerateCommand, new DescribeCommand, new CleanCommand, @@ -685,6 +686,17 @@ } } +class TestCovCommand : TestCommand { + this() + { + super(); + this.name = "test-cov"; + this.description = "Executes the tests of the selected package, generates coverage information"; + this.helpText[ 0 ] = `Builds the package and executes all contained unit tests, and generates coverage information.`; + m_buildType = "unittest-cov"; + } +} + class DescribeCommand : PackageBuildCommand { this() {