rerun last test
Hi, is it possible to re run the test that was previously run?
This is to support my current workflow:
- create a test class
- let it run (and fail)
- switch to the code performing the task and rerun the test without switching the buffers
Since I am very new to emacs, maybe there is a possibility to support this workflow without any development here
@nlamirault do you have interest in this feature? I have implemented it locally (and use it constantly) and I could bundle it up for review if you'd like.
Sure @claytonrcarter
@oliverpool
The standard function of Emacs to realize your workflow is M-x recompile.
It may be possible for phpunit.el to enhance the workflow experience in the future.
I can confirm that M-x recompile works perfectly for this.
I've recently been annoyed by the loss of ANSI coloring in the output when recompiled, and I'm trying to fix it.
I found that adding M-x phpunit-rerun command wasn't too difficult either, so I'm going to implement it at the same time.