Skip to content

Conversation

@fred-maussion
Copy link
Contributor

With this change, the helper shows the report-format output available (xUnit, human)

Before :

elastic-package test pipeline --help
Run pipeline tests for the package.

Usage:
  elastic-package test pipeline [flags]

Flags:
  -d, --data-streams strings   comma-separated data streams to test
  -m, --fail-on-missing        fail if tests are missing
  -g, --generate               generate test result file
  -h, --help                   help for pipeline

Global Flags:
  -C, --change-directory string   change to the specified directory before running the command
      --coverage-format string    set format for coverage reports: cobertura,generic (default "cobertura")
      --defer-cleanup duration    defer test cleanup for debugging purposes
  -p, --profile string            select a profile to use for the stack configuration. Can also be set with ELASTIC_PACKAGE_PROFILE
      --report-format string      format of test report (default "human")
      --report-output string      output type for test report, eg: stdout, file (default "stdout")
      --test-coverage             enable test coverage reports
  -v, --verbose count             verbose mode

after

Run pipeline tests for the package.

Usage:
  elastic-package test pipeline [flags]

Flags:
  -d, --data-streams strings   comma-separated data streams to test
  -m, --fail-on-missing        fail if tests are missing
  -g, --generate               generate test result file
  -h, --help                   help for pipeline

Global Flags:
  -C, --change-directory string   change to the specified directory before running the command
      --coverage-format string    set format for coverage reports: cobertura,generic (default "cobertura")
      --defer-cleanup duration    defer test cleanup for debugging purposes
  -p, --profile string            select a profile to use for the stack configuration. Can also be set with ELASTIC_PACKAGE_PROFILE
      --report-format string      format of test report, eg: human, xUnit (default "human")
      --report-output string      output type for test report, eg: stdout, file (default "stdout")
      --test-coverage             enable test coverage reports
  -v, --verbose count             verbose mode

@mrodm mrodm requested a review from a team November 5, 2025 13:07
@mrodm
Copy link
Contributor

mrodm commented Nov 5, 2025

/test

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

Copy link
Contributor

@mrodm mrodm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@fred-maussion fred-maussion merged commit a418c6c into elastic:main Nov 5, 2025
3 checks passed
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.

3 participants