Giter VIP home page Giter VIP logo

Comments (8)

matepek avatar matepek commented on May 27, 2024

Hi.

Oh, sorry. I haven't expected that anybody uses it with script.
Gonna fix today.

from vscode-catch2-test-adapter.

cat-anna avatar cat-anna commented on May 27, 2024

Hi,

I have found another small issue. Because I am stuck old version of gtest there is no 'file' and 'line' attributes in xml output. This causes parsing to fail. I can make workaround for this if you do not wish to support old framework. My wrapper script already merges output of several ut's so I can easily insert dummy attributes.

BTW your plugin is great.
Thanks in advance.

from vscode-catch2-test-adapter.

matepek avatar matepek commented on May 27, 2024

But has your gtest version's xml test list output without file and line at all?

from vscode-catch2-test-adapter.

cat-anna avatar cat-anna commented on May 27, 2024

Yes. I have no such attributes. I have fix it by pipe'ing produced xml through sed, so this is not an issue for me any longer.

from vscode-catch2-test-adapter.

matepek avatar matepek commented on May 27, 2024

I'm gonna fix it. But if you can provide file and line information the navigation will work.

from vscode-catch2-test-adapter.

cat-anna avatar cat-anna commented on May 27, 2024

I can go without it navigation. The most important for me is to execute all ut's with one click.

from vscode-catch2-test-adapter.

matepek avatar matepek commented on May 27, 2024

Released.
Now it should work with xml with missing file and line information.

from vscode-catch2-test-adapter.

matepek avatar matepek commented on May 27, 2024

BTW your plugin is great.

Thanks for your feedback ^^

You probably already aware of it, but If you touch your executable/script then it will reload the tests automatically. So you can add a touch .vscode/target_ut.sh as a build step in case you expect your executables being modified.

from vscode-catch2-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.