GithubHelp home page GithubHelp logo

Comments (5)

bitcoder avatar bitcoder commented on September 17, 2024

Hi @mhajhassan , how did you generated that comment content?

from trcli.

mhajhassan avatar mhajhassan commented on September 17, 2024

Hi @bitcoder regarding the documentation https://support.testrail.com/hc/en-us/articles/12989737200276-JUnit-to-TestRail-mapping#h_01H9QJ39FKSDG9B7WNYDCF49AE
i am using testRailTestReporter.setProperty("testrail_result_comment", "testing:&&qS55!T@");

from trcli.

bitcoder avatar bitcoder commented on September 17, 2024

I think the problem is not with the trcli itself but with the process that generated it.
You have invalid chars on the "value" field (https://www.w3.org/TR/xml/#NT-AttValue).
I think it is related with gurock/testrail-junit-extensions#6 ..
Can you please raise a issue on that project?

from trcli.

mhajhassan avatar mhajhassan commented on September 17, 2024

thanks @bitcoder for info, I will create a ticket in the other project

from trcli.

bitcoder avatar bitcoder commented on September 17, 2024

I just released the testrail-junit-extensions package v0.2.0 which addresses your issue; I took also the opportunity to add some internal tests to this project (trcli) and provide support for processing properties whose content comes in the inner content as CDATA, if they do (please see the testrail-junit-extensions project for more instructions on that).
In sum,

  • I didn't change any code on the trcli to address your issue; it was addressed on the testrail-junit-extensions instead by properly encoding it
  • additionaly, testrail-junit-extensions v0.2.0 supports encoding the content of some user-defined properties as cdata instead of value attribute on the <property> element; TR CLI 1.9.3 will be able to handle that scenario

from trcli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.