[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Re: Test framework needed
From: |
Eric Schulte |
Subject: |
Re: [O] Re: Test framework needed |
Date: |
Wed, 30 Mar 2011 15:42:19 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Rainer M Krug <address@hidden> writes:
> On 30/03/11 16:18, Christian Egli wrote:
>> Rainer M Krug <address@hidden> writes:
>>
>>>> http://www.emacswiki.org/emacs/UnitTesting
>>>
>>> Am I right in assuming, that all of the possible test frameworks would
>>> require org files and the expected output (tengle, export to ...,
>>> agenda, ...)? In this case, would it make sense to start collecting
>>> those, as they can easily be user contributed, consequently representing
>>> a cross section of the use cases (even not intended use cases)?
>>
>> Before you go too far with this; Orgmode already contains a unit test
>> suite. Look at the README in the testing directory
>> (http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=testing/README.org;hb=HEAD)
>>
>
> But it does not look as if it is used very often... There are not many
> test org files, and I did not se anything which compares the resulting
> exported / tangle file with an expected output?
>
> Please correct me if I am missing something.
>
You are correct that the existing test suite needs some attention and
some more tests. Just a general commitment to convert problem reports
from the mailing list into unit tests should be a step in the right
direction.
However the existing test suite (while under populated) is the result of
multiple previous discussion of this nature on the mailing list, and I
think that abandoning the existing infrastructure would be a step in the
wrong direction.
>
> This suite should actually be updated with effectively each patch which
> introduces new features and run after each patch.
>
Agreed, in a perfect world...
>
> So is it only necessary to add meat to this framework?
>
Yes, I believe the best way forward would be to add tests to the
existing framework.
Best -- Eric
>
> Rainer
- [O] Re: Test framework needed, (continued)
- [O] Re: Test framework needed, Eric Abrahamsen, 2011/03/30
- Re: [O] Re: Test framework needed, Rainer M Krug, 2011/03/30
- [O] Re: Test framework needed, Eric Abrahamsen, 2011/03/30
- Re: [O] Re: Test framework needed, Rainer M Krug, 2011/03/30
- Re: [O] Re: Test framework needed, MidLifeXis at PerlMonks, 2011/03/30
- [O] Re: Test framework needed, Christian Egli, 2011/03/30
- Re: [O] Re: Test framework needed, Rainer M Krug, 2011/03/30
- Re: [O] Re: Test framework needed, Manuel Giraud, 2011/03/30
- Re: [O] Re: Test framework needed, Aankhen, 2011/03/30
- Re: [O] Re: Test framework needed, Eric Schulte, 2011/03/30
- Re: [O] Re: Test framework needed,
Eric Schulte <=
- Re: [O] Re: Test framework needed, Suvayu Ali, 2011/03/30
- Re: [O] Re: Test framework needed, Eric Schulte, 2011/03/30
- Re: [O] Re: Test framework needed, Rainer M Krug, 2011/03/31