# Dotnet test - command arguments extra --

**URL:** https://www.finalbuilder.com/forums/t/dotnet-test-command-arguments-extra/6395
**Category:** Discussion
**Tags:** implemented
**Created:** [January 11, 2019, 11:41pm UTC](https://www.finalbuilder.com/forums/t/dotnet-test-command-arguments-extra/6395 "2019-01-11T23:41:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![aszuul](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/e56c9b/32.png) [@aszuul](https://www.finalbuilder.com/forums/u/aszuul)
#### Post date: [January 11, 2019, 11:41pm UTC](https://www.finalbuilder.com/forums/t/dotnet-test-command-arguments-extra/6395/1 "2019-01-11T23:41:17Z")

</div>

Attempting to use the dotnet test command and it seems that the test runner arguments are being inserted after a "-- ". We jokingly tried to get around it by turning off no-build and adding a "no-build " as the first argument… but because of the space this doesn’t work. I assume this is being added erroneously? you can see below the full command, and the issue is after --verbosity normal --.

Thanks!

Arguments: test “D:\CI\_AWS\Ws\101\3 - Development\Team\Dev1\Services\ADT Modification Service\Source\UnitTests\UnitTests.csproj” --configuration Debug --no-build --verbosity normal – /p:CollectCoverage=true /p:CoverletOutputFormat=opencover

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [January 14, 2019, 1:02am UTC](https://www.finalbuilder.com/forums/t/dotnet-test-command-arguments-extra/6395/2 "2019-01-14T01:02:42Z")

</div>

Hi aszuul,

The `Test Runner Arguments` field is the equivalent of the `RunSettings` in the `dotnet test` command line which is used to pass arguments to the test runner. As you can see in [the documentation](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test?tabs=netcore21), these arguments should be prefixed with `--`.

The properties `/p:CollectCoverage=true /p:CoverletOutputFormat=opencover` are extra arguments to `dotnet test` used by the Coverlet code coverage library. They are not listed in the `dotnet test` documentation and have therefore not been included in this action.

We’ll look into what fields we can add to the action to allow you to include these additional properties today.
