Giter Site home page Giter Site logo

Comments (3)

antonymilne avatar antonymilne commented on June 14, 2024 1

Just for more context, we use chromedriver-autoinstaller to install chromedriver for running integration tests locally, because it's fiddly to install manually. This should work so long as you have chrome installed.

As @l0uden said above though, chromedriver is only needed for the integration tests, and 99% of the time all you need to run locally is hatch run test-unit and not the full test suite that includes integration tests. So if it's not easy to run integration tests locally they're fine to ignore.

from vizro.

l0uden avatar l0uden commented on June 14, 2024

Hi @kaestro!

Thanks for spotting this!

If you want to run integration tests (which is a part of hatch run tests command) you should install Chrome manually. Given the difficulties with creating a process to automatically install Chrome on the range of operating systems that users might be using, it would make most sense to add this step to manually install Chrome to the contribution documentation here. Or you can just raise a ticket for the docs change if you have limited time to contribute.

(You can run also unit tests separately using hatch run test-unit command - and for the docs change all you need is to check the linting by using hatch run lint)

from vizro.

kaestro avatar kaestro commented on June 14, 2024

I think my I idea was short-sighted after reading your description.

And like you've just said, adding that to the documentation will perfectly make sense!

Thank you :)

from vizro.

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.