Skip to content

parse_junit section handling logic #311

Closed Answered by acuanico-tr-galt
cgeisel asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @cgeisel, In single-suite TestRail projects, you don’t need to include suite info in the JUnit XML. Also:

  • The --suite-id flag in the trcli command tells TR CLI which suite to use (usually the default “Master” suite).
  • The is used to create or match a section within that suite.
  • Even if the classname differs from the actual section name in TestRail, TR CLI matches by section ID, so the existing section name is preserved.

This behavior is correct and expected — suites and sections are separate, but the UI in single-suite mode can make them appear similar. Thank you.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@acuanico-tr-galt
Comment options

Answer selected by acuanico-tr-galt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants