Coder Social home page Coder Social logo

Comments (3)

JuPrgn avatar JuPrgn commented on September 27, 2024

Hope this can help : I had something similar and was also using gcov plugin. My gcov was configured with :

:gcov:
  :xml_report: FALSE

Changing this to :

:gcov:
  :xml_report: TRUE

Fixed the issue in my case. Maybe you can remove gcov to check ? I guess gcov default value is FALSE ?

from vscode-ceedling-test-adapter.

AaronFontaine-DojoFive avatar AaronFontaine-DojoFive commented on September 27, 2024

I got this to work. The trick is to add a section for the xml_test_report plugin that defines the location of the xml report artifact.

:xml_tests_report:
  :artifact_filename: report_xunit.xml

You need that in addition to listing xml_tests_report in the list of enabled plugins.

I didn't have to do anything in the section for the :gcov: plugin. I'm not sure how that it got it working for you.

from vscode-ceedling-test-adapter.

numaru avatar numaru commented on September 27, 2024

Thank you for contributing and posting a solution. The code which print the given error message is pretty simple.

try {
if (!ymlProjectData[':plugins'][':enabled'].includes('xml_tests_report')) {
throw 'Xml report plugin not enabled';
}
} catch (e) {
return `The required Ceedling plugin 'xml_tests_report' is not enabled. ` +
`You have to edit your 'project.xml' file to enable the plugin.\n` +
`see https://github.com/ThrowTheSwitch/Ceedling/blob/master/docs/CeedlingPacket.md` +
`#tool-element-runtime-substitution-notational-substitution`;
}

I don't understand how adding a :xml_tests_report: section in project.yml fixed anything but I'm happy you found a workaround.

from vscode-ceedling-test-adapter.

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.