Giter Club home page Giter Club logo

Comments (4)

HexDecimal avatar HexDecimal commented on July 18, 2024 1

In other cases, one can also give a reason with xfail:

@pytest.mark.xfail(sys.platform == "win32", reason="Paths my be too long for Windows.")

from exhale.

HexDecimal avatar HexDecimal commented on July 18, 2024

Simple solution: Tell pytest to xfail that test if run locally on Windows.

Or I guess use the magic \\?\ shenangians

Won't work. I remember the issue was with Doxygen itself, not in the Python scripts. Without a workaround the issue would need to be fixed upstream.

from exhale.

svenevs avatar svenevs commented on July 18, 2024

Ok good points, thanks! I think local xfail + a quick check in tox.ini printing a warning if that seems likely (so they know why).

Exhale could also choose different test directory names / paths to stage tests in. That sounds like a long term wish list item with the brief "fix it for local devs" being the priority.

from exhale.

HexDecimal avatar HexDecimal commented on July 18, 2024

Exhale could also choose different test directory

Using a temp directory should work. Those are usually not nested too deeply. Using tmp_path from Pytest for example. It's something I could try later.

from exhale.

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.