diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-11-01 12:01:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 12:01:00 +0000 |
commit | cc41bb585179fca8d8443e0ffb58c3a24458564d (patch) | |
tree | 51d1967cfd81307013894b4126ba8fdd5cee3946 /doc | |
parent | 2b9973012c1d1f7f3e3457f2569f0517a97b1b81 (diff) | |
parent | 4559160c4f4eb55f9eee0cb6015e2a0f3fa80462 (diff) | |
download | nixpkgs-cc41bb585179fca8d8443e0ffb58c3a24458564d.tar nixpkgs-cc41bb585179fca8d8443e0ffb58c3a24458564d.tar.gz nixpkgs-cc41bb585179fca8d8443e0ffb58c3a24458564d.tar.bz2 nixpkgs-cc41bb585179fca8d8443e0ffb58c3a24458564d.tar.lz nixpkgs-cc41bb585179fca8d8443e0ffb58c3a24458564d.tar.xz nixpkgs-cc41bb585179fca8d8443e0ffb58c3a24458564d.tar.zst nixpkgs-cc41bb585179fca8d8443e0ffb58c3a24458564d.zip |
Merge master into staging-next
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/dotnet.section.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/languages-frameworks/dotnet.section.md b/doc/languages-frameworks/dotnet.section.md index 9bf96f3198a..f2a5efd05db 100644 --- a/doc/languages-frameworks/dotnet.section.md +++ b/doc/languages-frameworks/dotnet.section.md @@ -77,9 +77,13 @@ To package Dotnet applications, you can use `buildDotnetModule`. This has simila * `runtimeDeps` is used to wrap libraries into `LD_LIBRARY_PATH`. This is how dotnet usually handles runtime dependencies. * `buildType` is used to change the type of build. Possible values are `Release`, `Debug`, etc. By default, this is set to `Release`. * `dotnet-sdk` is useful in cases where you need to change what dotnet SDK is being used. -* `dotnet-runtime` is useful in cases where you need to change what dotnet runtime is being used. +* `dotnet-runtime` is useful in cases where you need to change what dotnet runtime is being used. This can be either a regular dotnet runtime, or an aspnetcore. +* `dotnet-test-sdk` is useful in cases where unit tests expect a different dotnet SDK. By default, this is set to the `dotnet-sdk` attribute. +* `testProjectFile` is useful in cases where the regular project file does not contain the unit tests. By default, this is set to the `projectFile` attribute. +* `disabledTests` is used to disable running specific unit tests. This gets passed as: `dotnet test --filter "FullyQualifiedName!={}"`, to ensure compatibility with all unit test frameworks. * `dotnetRestoreFlags` can be used to pass flags to `dotnet restore`. * `dotnetBuildFlags` can be used to pass flags to `dotnet build`. +* `dotnetTestFlags` can be used to pass flags to `dotnet test`. * `dotnetInstallFlags` can be used to pass flags to `dotnet install`. * `dotnetFlags` can be used to pass flags to all of the above phases. |