Giter VIP home page Giter VIP logo

Comments (4)

jakemcc avatar jakemcc commented on August 26, 2024

I think implementing this and having it interact well with some of the other test-refresh features might be challenging. I'm not sure its worth figuring out how everything should interact.

What is the motivation?

from test-refresh.

not-raspberry avatar not-raspberry commented on August 26, 2024

User feedback - that it really saw and ran your new tests and that you put them in the right place (see: beginner errors with misused lazy seqs) and saved the file. And it's fancy to have a difference between 2 runs shown.

We only need a map of previous test results for that. What would it conflict with?

from test-refresh.

jakemcc avatar jakemcc commented on August 26, 2024

Its a bit unclear to me how it would interact with the two features below.

  • Runs previously failing tests first, giving you feedback even quicker.
  • Optionally only automatically runs tests in changed namespaces.

In the most basic implementation I think the two features above would cause the +n or -n to vary wildly between test runs. I'm not sure if that would be helpful or if, when a smaller subset of namespaces are tested, seeing a large negative number would be jarring. lein-test-refresh is already sort of a mess with the variety of options it supports, I'm hoping to not have it keep expanding and make the interaction between features more complicated.

I do see a benefit to the output being helpful for catching some portion of user mistakes. I don't even look at the test output unless there is an error so I might be having a hard time judging the usefulness. Going to think about it some and bounce the idea off some other users.

from test-refresh.

jakemcc avatar jakemcc commented on August 26, 2024

I've bounced the idea around a few other lein-test-refresh contributors/users and going to opt to not add this feature at this time. Not sure how to make it work cleanly with the current set of features.

Thanks for the suggestion.

from test-refresh.

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.