pt1-4945_FC_run_fields_not_filled#34
Merged
AmirPracti merged 2 commits intomasterfrom Feb 2, 2026
Merged
Conversation
|
🥷 Code experts: shmuelko, deshilovPT shmuelko, deshilovPT have most 🧠 knowledge in the files. See details
Knowledge based on git-blame:
Knowledge based on git-blame: ✨ Comment |
shmuelko
approved these changes
Feb 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://practitest-uri.atlassian.net/browse/PT1-4945
Firecracker (practitest-firecracker)
What has been changed?
Fixed custom field mapping from XML attributes for both tests and runs. XML
attribute values like
skipped="111"were not being populated correctly.Why is this needed?
Users configure custom field mappings in their JSON config (e.g.,
"---f-306": "?skipped"), but::skippedXML attribute was being overwritten by acomputed count (always 0 if no skipped test cases)
eval-additional-fieldsfunction received wrong data (runwith only
:run-duration) instead of the XML test data containing theactual attributes
Implementation Details
parser/core.clj: Changedtest-datafromassoctomergewithpriority order:
:skipped,:errors, etc.) - lowest priority:bdd-test?,:pt-test-name, etc.) - must beset
practitest.clj: Changedmake-runsto pass(first xml-test)toeval-additional-fieldsinstead ofrun, so XML attributes are accessiblefor field mapping
Before (broken): Passed
runwhich came fromsf-test-suite->run-defoutput:
{:run-duration 3.218} When evaluating "?skipped", it looked for :skipped in this map and returned empty string (key not found).