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

NUNit input reports 1 test / 1 file / 1 suite despite there being 23 tests #329

Closed
clicketyclackety opened this issue Jul 14, 2022 · 3 comments

Comments

@clicketyclackety
Copy link

First of all, apologies that this is a private repo, but I hope the info I provide is enough to work with. As it's a private repo, I've redacted some info, but that shouldn't affect anything.
I have started trying to use the new NUnit parsing with a test suite I have.

Yaml run log (with DEBUG on)

publish.log
Please let me know if there is any info i should retract in here.

Yaml Usage

# v2 offers NUnit support - https://github.com/EnricoMi/publish-unit-test-result-action/tree/devel-2.0
- name: Publish Integrated Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: ${{ always() }}
with:
  github_token: ${{ secrets.GITHUB_TOKEN }}
  check_name: Integrated Unit Test Results
  check_run_annotations: all tests, skipped tests
  comment_mode: always
  test_changes_limit: 999
  nunit_files: |
    MyProject/bin/x64/**/net48/*integrated_out.xml
  report_individual_runs: true
  root_log_level: DEBUG
  log_level: DEBUG

Input NUnit file

Renamed to .txt so Github will alow uploading
MyProject_integrated_out.xml.txt

Report

image

@EnricoMi
Copy link
Owner

Thanks for reporting! The example NUnit file is very valuable.

I was able to improve the parser to support your format as well as all existing tested formats: #331.

@EnricoMi
Copy link
Owner

The fix has been released.

@clicketyclackety
Copy link
Author

Sensational, thanks so much @EnricoMi, it's working perfectly!
image

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

No branches or pull requests

2 participants