Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

Draft
wants to merge 4 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)

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant