cucumber-js
cucumber-js copied to clipboard
feat(formatters): junit formatter template methods for creating elements
🤔 What's changed?
Creates functions that can be overridden within the junit formatter to help create elements within the XML with more flexibility. Uses the object creation of the xmlbuilder to not allow complete control of root elements among others.
Conversion from object are discussed: https://github.com/oozcitak/xmlbuilder-js/wiki/Conversion-From-Object
⚡️ What's your motivation?
Fixes #2348
🏷️ What kind of change is this?
- :zap: New feature (non-breaking change which adds new behaviour)
♻️ Anything particular you want feedback on?
📋 Checklist:
- [x] I agree to respect and uphold the Cucumber Community Code of Conduct
- [ ] I've changed the behaviour of the code
- [ ] I have added/updated tests to cover my changes.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] Users should know about my change
- [ ] I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.
This text was originally generated from a template, then edited by hand. You can modify the template here.