Comments (4)
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.
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.
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.
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)
- Need to respect :source-paths and :test-paths from project.clj HOT 1
- Clearing screen before each test run HOT 3
- test-refresh fails to start when project.clj has managed dependencies HOT 3
- Specs are not reloaded when run through compojure-api HOT 2
- Readme: Add an example of how to integrate with ultra or eftest HOT 6
- Feature request: circleci.test support HOT 3
- Issue with test refresh and clojure 1.9 with spec HOT 1
- test-refresh loads configuration for dev profile while running after a repl is started HOT 3
- Tests are run multiple times on file change when using a docker volume on OSX HOT 1
- Launch nrepl server along with the test runner HOT 2
- Add a way to filter out test namespaces with regex HOT 6
- Allow using custom keyword instead of :test-refresh/focus HOT 2
- Running in Cursive REPL HOT 4
- ^:test-refresh/focus selector doesn't work in 0.24.0 HOT 2
- Problem with defonce and URLStreamHandlerFactory HOT 4
- Is it possible to place test files and source files under a single root directory? HOT 2
- `:quiet` flag is broken HOT 2
- `:quiet` flag is ignored under `deps/cli` HOT 4
- Feature Request: write out .lein-failures each loop so you can inspect current failures from a file HOT 2
- Deleting a test file makes me restart everything - solution idea! HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from test-refresh.