bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34315: [PATCH] icalendar.el: DURATION fix + more robust timezone han


From: Ulf Jasper
Subject: bug#34315: [PATCH] icalendar.el: DURATION fix + more robust timezone handling
Date: Thu, 01 Oct 2020 21:14:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux)

Am 01.10.2020 um 21:49 (+0300) schrieb Thomas Plass:
> I'd like to get some guidance from people involved on the following
> proposal:

That is close to what I have in mind.  When we out-source test input
data, we should do the same with the corresponding expected results.  A
unit test case would look something like this.

- read input data from ics file
- read expected result from corresponding file
- perform action under test on input data
- compare result with previously read expected result

I could write the necessary helper functions and then, for a start,
apply this scheme to the "real world" tests in icalendar-tests.el.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]