Comments (7)
I just saw this and thought mix test --stale
might cover it but it doesn't. With ExUnit you can do
mix test --only line:99 --only line:123 test/foo_test.exs --only line:10 test/bar_test.exs
So it should be possible to parse the output and transform it into a command line that just runs the failed tests. Probably a bit harder than rspec though as it does output a list of the failed tests at the end.
from alchemist.el.
Yeah thats a good idea. :)
from alchemist.el.
This is a great idea!
from alchemist.el.
We already talked with Jose about that, because we need to update ExUnit
itself for that. Currently there isn't support to run multiple files and locations like mix test one_test.exs:10 two_test.exs.25
.
I will infesting some time into it in the next few days If I get some free time.
Thanks
from alchemist.el.
@tonini ping.
Have something changed in this regard? If yes I would like to attack this issue
from alchemist.el.
Hi @rranelli
Thanks for getting back to this issue.
Currently we have alchemist-mix-rerun-last-test
, as the name of the function already says it just runs your last test run.
But to implement a function which just runs the latest failed tests we need to extend ExUnit
by itself. Jose already mentioned that it would be welcome if someone add multiple mix file:12 file_2:33
functionality to ExUnit
.
So I guess the best start would be if you beginning on the ExUnit
side and after that you're welcome to add the functionality to Alchemist
👍
from alchemist.el.
Looks like it is possible to solve this issue now :)
I will try to take a look at this sometime in the near future. Thanks for the finding @chrismcg o/
from alchemist.el.
Related Issues (20)
- Jump to definition functionality broken by multi-line aliasing
- Alchemist is using wrong version
- Switch to/scroll in help HOT 1
- Multiple instances of Iex repl
- alchemist-goto-definition-at-point crashes server when editing files with multiple import
- Eldoc support
- Changing alchemist-key-command-prefix not working HOT 4
- Compilation errors and warnings when running tests aren't clickable
- `alchemist-report-filter` fails to display relevant output HOT 2
- iex run current buffer
- How to run tests and jump the test output buffer?
- question about evaluation coming from lisp/slime HOT 1
- Alchemist Emacs menu is empty HOT 1
- Can't jumping to the definition of a function which is defined in a module imported by the __using__ macro.
- Spam on alchemist-elixir.org HOT 4
- mix.el - new Emacs package for Mix HOT 2
- Alchemist Resurrection HOT 21
- Hey there.
- `alchemist-iex-run` does not find `erl`
- Alchemist alternative
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 alchemist.el.