Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

use latest System.CommandLine version (GA?) #1660

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Bertk
Copy link
Collaborator

@Bertk Bertk commented May 27, 2024

Update coverlet.console for latest version of System.CommandLine (branch main-powderhouse)

Warning

nuget feed should be added as Upstream Source : https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json
CI build fails - nuget source configuration issue!!!

error NU1102: Unable to find package System.CommandLine with version (>= 2.0.0-beta4.24528.1)
or
error NU1301: Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json

C:\GitHub\coverlet\artifacts\bin\coverlet.console\debug>coverlet.console.exe --help
Description:
  Cross platform .NET Core code coverage tool

Nutzung:
  coverlet.console <path> [options]

Argumente:
  <path>  Path to the test assembly or application directory.

Optionen:
  -?, -h, --help                                   Show help and usage information
  --version                                        Versionsinformationen anzeigen
  -t, --target (REQUIRED)                          Path to the test runner application.
  -a, --targetargs                                 Arguments to be passed to the test runner.
  -o, --output                                     Output of the generated coverage report
  -v, --verbosity <Detailed|Minimal|Normal|Quiet>  Sets the verbosity level of the command. Allowed values are quiet, minimal, normal, detailed. [default: Normal]
  -f, --format                                     Format of the generated coverage report. [default: json]
  --threshold                                      Exits with error if the coverage % is below value.
  --threshold-stat <Average|Minimum|Total>         Coverage statistic used to enforce the threshold value. [default: Minimum]
  --exclude                                        Filter expressions to exclude specific modules and types.
  --include                                        Filter expressions to include only specific modules and types.
  --exclude-by-file                                Glob patterns specifying source files to exclude.
  --include-directory                              Include directories containing additional assemblies to be instrumented.
  --exclude-by-attribute                           Attributes to exclude from code coverage.
  --include-test-assembly                          Specifies whether to report code coverage of the test assembly.
  --single-hit                                     Specifies whether to limit code coverage hit reporting to a single hit for each location
  --skipautoprops                                  Neither track nor record auto-implemented properties.
  --merge-with                                     Path to existing coverage result to merge.
  --use-source-link                                Specifies whether to use SourceLink URIs in place of file system paths.
  --does-not-return-attribute                      Attributes that mark methods that do not return
  --exclude-assemblies-without-sources             Specifies behaviour of heuristic to ignore assemblies with missing source documents.
  --source-mapping-file                            Specifies the path to a SourceRootsMappings file.
  -?, -h, --help                                   Show help and usage information
  --version                                        Versionsinformationen anzeigen

@Bertk Bertk changed the title use latest System.CommandLine (GA version?) use latest System.CommandLine version (GA?) May 28, 2024
@Bertk Bertk force-pushed the commandline-ga branch from 598a646 to 5c2a245 Compare May 28, 2024 07:30
@Bertk Bertk force-pushed the commandline-ga branch 2 times, most recently from 9a4226e to df2b821 Compare November 6, 2024 09:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant