| Author |
Message |
|
| cebernard |
Posted: Sun May 30, 2010 2:07 am |
|
|
|
Joined: 21 Jan 2010
Posts: 6
|
Hi,
This patch adds the ability to re-run the most recent EUnit test
invocation. This is especially handy when running one test repeatedly
as it eliminates the need to position point over the test just to run
it again (most often point is in code under test).
The default keybinding is C-c-C-el
git fetch git://github.com/cebernard/otp.git emacs-eunit-run-recent
There is also a second commit in this the patch which allows an
optional 'autosave' feature. If the variable 'erlang-eunit-autosave'
is non-nil, buffers will be automatically saved just before running
tests -- the "Do you want to save?" prompt will be inhibited. This
can be useful, reducing the save-compile-load-test cycle to just one
keychord.
Raimo, based on your suggestion to Klas, I branched this work off
Klas' branch (git://github.com/klajo/otp.git emacs-eunit-with-cover-
from-run-current-test -- parent commit: 940ab361) rather than
branching off 'dev' and merging his changes in to my patch branch.
Our changes overlap and I don't see his patch in dev yet. Hopefully
this makes things easier.
Cheers,
Chris Bernard
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| cebernard |
Posted: Sun May 30, 2010 2:07 am |
|
|
|
Joined: 21 Jan 2010
Posts: 6
|
Hi,
This patch adds the ability to re-run the most recent EUnit test
invocation. This is especially handy when running one test repeatedly
as it eliminates the need to position point over the test just to run
it again (most often point is in code under test).
The default keybinding is C-c-C-el
git fetch git://github.com/cebernard/otp.git emacs-eunit-run-recent
There is also a second commit in this the patch which allows an
optional 'autosave' feature. If the variable 'erlang-eunit-autosave'
is non-nil, buffers will be automatically saved just before running
tests -- the "Do you want to save?" prompt will be inhibited. This
can be useful, reducing the save-compile-load-test cycle to just one
keychord.
Raimo, based on your suggestion to Klas, I branched this work off
Klas' branch (git://github.com/klajo/otp.git emacs-eunit-with-cover-
from-run-current-test -- parent commit: 940ab361) rather than
branching off 'dev' and merging his changes in to my patch branch.
Our changes overlap and I don't see his patch in dev yet. Hopefully
this makes things easier.
Cheers,
Chris Bernard
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon May 31, 2010 9:59 am |
|
|
|
Guest
|
On Sat, May 29, 2010 at 10:06:45PM -0400, Chris Bernard wrote:
> Hi,
>
> This patch adds the ability to re-run the most recent EUnit test
> invocation. This is especially handy when running one test repeatedly
> as it eliminates the need to position point over the test just to run
> it again (most often point is in code under test).
>
> The default keybinding is C-c-C-el
>
> git fetch git://github.com/cebernard/otp.git emacs-eunit-run-recent
Thank you, will be included in 'pu' as cb/emacs-eunit-run-recent.
>
> There is also a second commit in this the patch which allows an
> optional 'autosave' feature. If the variable 'erlang-eunit-autosave'
> is non-nil, buffers will be automatically saved just before running
> tests -- the "Do you want to save?" prompt will be inhibited. This
> can be useful, reducing the save-compile-load-test cycle to just one
> keychord.
>
> Raimo, based on your suggestion to Klas, I branched this work off
> Klas' branch (git://github.com/klajo/otp.git emacs-eunit-with-cover-
> from-run-current-test -- parent commit: 940ab361) rather than
> branching off 'dev' and merging his changes in to my patch branch.
> Our changes overlap and I don't see his patch in dev yet. Hopefully
> this makes things easier.
I presume so. It looks nice and clean.
>
> Cheers,
> Chris Bernard
>
>
> ________________________________________________________________
> erlang-patches (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
--
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon May 31, 2010 10:00 am |
|
|
|
Guest
|
On Sat, May 29, 2010 at 10:06:45PM -0400, Chris Bernard wrote:
> Hi,
>
> This patch adds the ability to re-run the most recent EUnit test
> invocation. This is especially handy when running one test repeatedly
> as it eliminates the need to position point over the test just to run
> it again (most often point is in code under test).
>
> The default keybinding is C-c-C-el
>
> git fetch git://github.com/cebernard/otp.git emacs-eunit-run-recent
Thank you, will be included in 'pu' as cb/emacs-eunit-run-recent.
>
> There is also a second commit in this the patch which allows an
> optional 'autosave' feature. If the variable 'erlang-eunit-autosave'
> is non-nil, buffers will be automatically saved just before running
> tests -- the "Do you want to save?" prompt will be inhibited. This
> can be useful, reducing the save-compile-load-test cycle to just one
> keychord.
>
> Raimo, based on your suggestion to Klas, I branched this work off
> Klas' branch (git://github.com/klajo/otp.git emacs-eunit-with-cover-
> from-run-current-test -- parent commit: 940ab361) rather than
> branching off 'dev' and merging his changes in to my patch branch.
> Our changes overlap and I don't see his patch in dev yet. Hopefully
> this makes things easier.
I presume so. It looks nice and clean.
>
> Cheers,
> Chris Bernard
>
>
> ________________________________________________________________
> erlang-patches (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
--
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Jun 02, 2010 6:48 am |
|
|
|
Guest
|
On Tue, Jun 01, 2010 at 01:32:56PM -0400, Chris Bernard wrote:
> I updated the code to remove this warning. The code no longer uses
> 'pairlis', setting cons cell cdrs instead. I manually tested and it
> works fine.
>
> git fetch git://github.com/cebernard/otp.git emacs-eunit-run-recent
Great! 'pu' will be updated (cb/emacs-eunit-run-recent).
--
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Jun 02, 2010 6:48 am |
|
|
|
Guest
|
On Tue, Jun 01, 2010 at 01:32:56PM -0400, Chris Bernard wrote:
> I updated the code to remove this warning. The code no longer uses
> 'pairlis', setting cons cell cdrs instead. I manually tested and it
> works fine.
>
> git fetch git://github.com/cebernard/otp.git emacs-eunit-run-recent
Great! 'pu' will be updated (cb/emacs-eunit-run-recent).
--
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|