locked
convert .coverage file to XML RRS feed

  • Question

  • Hi, 
    I am trying to convert a .coverage file into XML. (or get XML directly from VSPerfCmd)
    I googled a lot already, tried VSPerfReport, ReportGenerator (https://github.com/danielpalme/ReportGenerator)

    But sofar no luck.
    Reportgenerators own samples don't work, and I don't get them (no input file is specified or mentioned)

    I think this should be straigtforward and easy right ? 
    What is the easyest way to go ?
     

    Rob.

    Friday, April 15, 2016 9:21 AM

Answers

  • Hi Rob,

    As far as I know, the .coverage file is stored with XML by default. Please right-click your .coverage file to choose open with -> Notepad. Then it will shown with XML content in that file.

    And you also can change the .coverage extension to .xml directly, which will also can convert it to XML file directly. I have changed the .coverage extension to .xml and then import this xml file to Visual Studio to check the code coverage result, it is successful.

    Before changing the extension for your .coverage file, please take a backup for this file.

    Best Regards,
    Weiwei


    • Edited by Weiwei Cai Monday, April 18, 2016 3:00 AM
    • Proposed as answer by Weiwei Cai Monday, April 25, 2016 10:29 AM
    • Marked as answer by Weiwei Cai Tuesday, April 26, 2016 2:02 AM
    Monday, April 18, 2016 2:58 AM