|
|
| Author |
Message |
|
| cebernard |
Posted: Mon May 17, 2010 8:33 pm |
|
|
|
Joined: 21 Jan 2010
Posts: 6
|
Hi,
This patch adds some emacs lisp to run just the current EUnit test
(test under point).
This feature is handy when using a broken test to drive new
development; the focus is on one test at a time.
------- Patch Location
git fetch git://github.com/cebernard/otp.git emacs-eunit-run-current-
test
------- Tests
This was tested on:
- Emacs app (OS X) (v. 23.1.90.1)
- Carbon Emacs (OS X) (v. 22.1.1) (Carbon v. 1.6.0)
- GNU Emacs (Ubuntu) (v. 22.2.1)
- GNU Emacs (Ubuntu) (v. 23.1.1)
------- Code Notes
Since this added a third testing feature to erlang-eunit.el, there was
some natural duplication that needed to be factored out. The notion
of 'compile and run tests' was decoupled from the notion of exactly
which tests to run. The definitions of default key bindings were
converted to a list for clarity and conciseness.
---
Comments welcome.
Best Regards,
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: Mon May 17, 2010 8:33 pm |
|
|
|
Joined: 21 Jan 2010
Posts: 6
|
Hi,
This patch adds some emacs lisp to run just the current EUnit test
(test under point).
This feature is handy when using a broken test to drive new
development; the focus is on one test at a time.
------- Patch Location
git fetch git://github.com/cebernard/otp.git emacs-eunit-run-current-
test
------- Tests
This was tested on:
- Emacs app (OS X) (v. 23.1.90.1)
- Carbon Emacs (OS X) (v. 22.1.1) (Carbon v. 1.6.0)
- GNU Emacs (Ubuntu) (v. 22.2.1)
- GNU Emacs (Ubuntu) (v. 23.1.1)
------- Code Notes
Since this added a third testing feature to erlang-eunit.el, there was
some natural duplication that needed to be factored out. The notion
of 'compile and run tests' was decoupled from the notion of exactly
which tests to run. The definitions of default key bindings were
converted to a list for clarity and conciseness.
---
Comments welcome.
Best Regards,
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: Tue May 18, 2010 1:20 pm |
|
|
|
Guest
|
On Mon, May 17, 2010 at 04:32:34PM -0400, Chris Bernard wrote:
> Hi,
>
> This patch adds some emacs lisp to run just the current EUnit test
> (test under point).
>
> This feature is handy when using a broken test to drive new
> development; the focus is on one test at a time.
>
> ------- Patch Location
>
> git fetch git://github.com/cebernard/otp.git emacs-eunit-run-current-
> test
Thanks. Included in 'pu'.
--
/ 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: Tue May 18, 2010 1:21 pm |
|
|
|
Guest
|
On Mon, May 17, 2010 at 04:32:34PM -0400, Chris Bernard wrote:
> Hi,
>
> This patch adds some emacs lisp to run just the current EUnit test
> (test under point).
>
> This feature is handy when using a broken test to drive new
> development; the focus is on one test at a time.
>
> ------- Patch Location
>
> git fetch git://github.com/cebernard/otp.git emacs-eunit-run-current-
> test
Thanks. Included in 'pu'.
--
/ 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
|
|
|