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

Update junit.py #3496

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Update junit.py #3496

wants to merge 3 commits into from

Commits on Nov 5, 2024

  1. Update junit.py

    Added 3 new parameters
        include_passed_messages:  ( Bool ) Include message and stacktrace in Junit XML output
        include_failed_messages: ( Bool ) Include message and stacktrace in Junit XML output
        include_skipped_messages: ( Bool ) Include message and stacktrace in Junit XML output
    
    Enhancements : Stacktrace now exists as an XML subproperty, making XML much cleaner.
    
    If "message" and "stacktrace" properties are empty  in the TestResultMessage object, its relevant subXML objects will not be added, makes XML parsing cleaner.
    
    how to call ? Example code from runbook
    notifier:
      - type: html
      - type: env_stats
      - type: junit
        name: junit.lisa.xml
        include_subtest: true
        include_passed_messages: false
        include_failed_messages: true
        include_skipped_messages: true
    shekharsorot authored Nov 5, 2024
    Configuration menu
    Copy the full SHA
    4b5ac5e View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. Update junit.py

    shekharsorot authored Nov 11, 2024
    Configuration menu
    Copy the full SHA
    9ecf795 View commit details
    Browse the repository at this point in the history
  2. Update junit.py

    shekharsorot committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    6117738 View commit details
    Browse the repository at this point in the history