Giter VIP home page Giter VIP logo

Comments (4)

rcarriga avatar rcarriga commented on July 19, 2024

Hmm right now the strategies are very unaware of most of neotest, they just run commands and provide raw output. Having them be responsible for starting off tests etc would be drastic change of responsibility which I don't think would make sense.

It seems more like the better integration point for you would be a custom consumer. Your consumer could have the same interface as the run consumer but then also contain the logic required for rerunning tests. We could expose how the run consumer parses the args to avoid duplication.

from neotest.

stevearc avatar stevearc commented on July 19, 2024

My gut reaction was that it doesn't make much sense for overseer to be a consumer, but after thinking about it more I think it could work if I kept it as the strategy, but also made a consumer like the run consumer. I'll play with this idea a bit and see if I can get it doing what I want. Thanks for the suggestion!

from neotest.

stevearc avatar stevearc commented on July 19, 2024

Got it working! I had to do a little gross monkey patching of neotest.run to make sure it gets used when you run tests from the summary, but that's the only bit I'm unhappy about.

The main thing I'm excited about with this integration is that overseer tasks make it super easy to rerun tests on save. Also since it has a UI for listing/controlling running tasks, it provides a solution for #66.

Thanks for your help!

from neotest.

rcarriga avatar rcarriga commented on July 19, 2024

Ah very cool to hear!

from neotest.

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.