Giter Club home page Giter Club logo

Comments (8)

joeyespo avatar joeyespo commented on July 25, 2024

This is how pytest works, right?

I was actually thinking something similar. Except instead of taking specific arguments, have pytest-watch take any argument and just pass the unsupported ones along to pytest. That'll keep things simple and make sure that all pytest options are supported.

Does that make sense?

from pytest-watch.

joeyespo avatar joeyespo commented on July 25, 2024

Although hmm, pytest-watch still needs to know where to watch. Let me think more about this.

from pytest-watch.

rakjin avatar rakjin commented on July 25, 2024

Don't mind the dumb --pytest-options in my patch. This is a temporal code just for me.
Becoming a plugin will solve the option-passing problem, IMHO.

from pytest-watch.

joeyespo avatar joeyespo commented on July 25, 2024

Gotcha. Yeah, agreed.

Thinking about it more, I think your solution is pretty elegant. Would you be interested in pulling latest and applying your changes to that? I made a comment in your commit. Other than that, I'll pull it in if you do make a PR against the latest.

The only things left would be to forward the pytest options (for those who want to continue using the ptw program), and to create a proper Pytest plugin, which I do agree this would be useful. I can open issues for theses.

from pytest-watch.

rakjin avatar rakjin commented on July 25, 2024

ok I'll try.

from pytest-watch.

aldanor avatar aldanor commented on July 25, 2024

@rakjin Fixed in #11!

from pytest-watch.

joeyespo avatar joeyespo commented on July 25, 2024

Released pytest-watch 3.0.0 today, which includes the fix from #11.

Be sure to pip install --upgrade pytest-watch!

from pytest-watch.

aldanor avatar aldanor commented on July 25, 2024

👍

from pytest-watch.

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.