Skip to content

Comments

integration-tests: Allow generating tests results in ant xml format#3568

Merged
akshaymankar merged 9 commits intodevelopfrom
machine-readable-test-results
Sep 25, 2023
Merged

integration-tests: Allow generating tests results in ant xml format#3568
akshaymankar merged 9 commits intodevelopfrom
machine-readable-test-results

Conversation

@akshaymankar
Copy link
Member

@akshaymankar akshaymankar commented Sep 6, 2023

https://wearezeta.atlassian.net/browse/WPB-4267

For tasty tests (i.e. brig, cargohold, gundeck and stern) pass --xml=<outfile> to generate an xml report.
For hspec tests (i.e. federator and spar) pass -f junit and set environment variables JUNIT_OUTPUT_DIRECTORY and JUNIT_SUITE_NAME. The report will be at $JUNIT_OUTPUT_DIRECTORY/junit.xml
For the integration test suite pass --xml <outfile> to generate an xml report.

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Sep 6, 2023
@akshaymankar akshaymankar changed the title brig-integration: Allow generating tests results in ant xml format integration-tests: Allow generating tests results in ant xml format Sep 7, 2023
@akshaymankar akshaymankar force-pushed the machine-readable-test-results branch from d4e8a4b to d050c75 Compare September 12, 2023 13:46
@akshaymankar akshaymankar marked this pull request as ready for review September 13, 2023 11:39
@akshaymankar akshaymankar force-pushed the machine-readable-test-results branch from 304a4d9 to d07f1d8 Compare September 13, 2023 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants