Testing reports

John Layman john.layman at laymanandlayman.com
Mon Mar 26 14:22:35 EDT 2012


Sorry about the URL getting chopped somewhere along the line.

http://tinyurl.com/brmtglc


-----Original Message-----
From: gnucash-user-bounces+john.layman=laymanandlayman.com at gnucash.org
[mailto:gnucash-user-bounces+john.layman=laymanandlayman.com at gnucash.org] On
Behalf Of John Layman
Sent: Monday, March 26, 2012 12:37 PM
To: 'John Ralls'; gnucash at double-bars.net
Cc: warlord at MIT.EDU; gnucash-user at gnucash.org
Subject: RE: Testing reports

See below a link to a paper describing an approach using separate test
oracles for content and structure and utilizing standard tools such as diff.

http://servo.cs.wlu.edu/pubs/bitstream/handle/id/179/sprenkle.issre07.pdf?se
quence=1


-----Original Message-----
From: gnucash-user-bounces+john.layman=laymanandlayman.com at gnucash.org
[mailto:gnucash-user-bounces+john.layman=laymanandlayman.com at gnucash.org] On
Behalf Of John Ralls
Sent: Monday, March 26, 2012 10:15 AM
To: gnucash at double-bars.net
Cc: warlord at MIT.EDU; gnucash-user at gnucash.org
Subject: Re: Testing reports


On Mar 26, 2012, at 6:47 AM, Colin Scott wrote:

> 
>> I don't know how we could change that.
> 
> Well, it would be a start to ensure that reports produced output in a
consistent format!  :-)
> 
> Once that is achieved, it ought to be possible reliably to define
"correct" output based on a template.  (But of course I know nothing of your
test environment, so it may not apply to you.  I speak of how I would tackle
the problem were it my project ... :-)
> 

Do you know how to write automated tests -- in any language -- that
accurately check the output format of an HTML page? Automated in this case
means the test program decides whether the formatting is correct, no human
involved. If you do, or know where I can learn that, please share.

The reports module doesn't have a test environment (and Guile doesn't
provide one until 2.0), but the requirement is for automated tests that
report success or failure to make check.

Regards,
John Ralls


_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.



More information about the gnucash-user mailing list