Re: [Orgmode] Testing code

2010-09-27 Thread Sebastian Rose
Sebastian Rose  writes:
> I'd like to write a few simple tests for the modified hex-decoding
> functions I wrote for org-protocol.el.
> These functions and the patch is easier to understand and maintain if
> there are some simple tests, I guess.
>
> Could we have a short introduction in writing tests on Worg (or is it
> there)?


Hm - there's a little tutorial in org-tests/.  But ert has grown and
consists now of 7 el files plus one texinfo file.  As this seems easy to
use and comes with at least some documentation, I'll use ert [1] for a
start.

Once the tests are written, we can easily convert to something else.



  Sebastian


[1] http://github.com/ohler/ert

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Testing code

2010-09-27 Thread Sebastian Rose

Hi,


I'd like to write a few simple tests for the modified hex-decoding
functions I wrote for org-protocol.el.
These functions and the patch is easier to understand and maintain if
there are some simple tests, I guess.

Could we have a short introduction in writing tests on Worg (or is it
there)?

Tehom wrote something below testing/html/ ...


Sebastian

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode