Re: [GNC-dev] GNUCASH Test Data

2018-11-10 Thread David Cousens
Chris Millsap, Chris Good

There is some limited test and example data in the GnuCash sources
.../gnucash-src/doc/examples. Not very extensive. These days a lot of
testing effort is shifted towards unit tests rather than extensive overall
functional tests although they still have a place. I would think there would
be a serious problem in validation of a data set and then the maintenance
issues you alluded to. Another difficulty would be defining a test data set
which would cover the various feature sets adequately, e.g. business,
trading, multicurrency etc. To define an adequate test data suite would also
require an extensive knowledge of the code base in any case. 

Possible but is it really worth the effort? In accounting if major features
like compliance with the accounting equation, zero sum for transaction
splits are broken, then it will be generally obvious very quickly and the
unit tests on the engine seem likely pick that up. 

What is it that you would wan't a test data suite to do that is not covered
by the existing unit tests? 

David Cousens



-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-Dev-f1435356.html
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] GNUCASH Test Data

2018-11-10 Thread Chris Good
Hi Chris (Millsap),

My initial thoughts are that this would quickly become obsolete and developers 
would usually already have easy access to their own large data files, so would 
probably not be worth much effort.
I'm not a Gnucash developer though and they probably have other ideas, so I've 
copied the developers mailing list.

Thanks for the idea,

Regards,

Chris Good

> On 11 Nov 2018, at 4:24 AM, Christopher Millsap  
> wrote:
> 
> Hey everyone, I started working on a proof of concept for a program that 
> generates large amounts of test data (various account types with simulated 
> transaction histories) for testing gnucash. I was wondering if something like 
> this would really be useful for testing?
> 
> Let me know what you think.
> 
> Thanks.
> 
> Chris.
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


[GNC-dev] Automatically split transactions with sales tax

2018-11-10 Thread CHRISTOPHER PEARCE
Hello all,

I would like Gnucash to automatically create a split transaction for sales
tax when a taxable product is bought/sold.  I deal with a lot of
transactions, and its a pain to manually enter the sales tax for each one.
I'd rather just work within the general ledger and have Gnucash do it
automatically.

For example, I buy a widget for $100 + 5% GST = $105.  I want Gnucash to
automatically create the split, and allocate $5.00 to the GST liability
account.

Of course, the ability to override the default 5% would be necessary.

Is what I'm asking for possible?  I'm not a programmer, so I realize this
may be a dumb question.

(Frist time on this mailing list, so apologies if I break etiquette)

Thanks,
Chris



-- 
Chris Pearce
-
President
Fernwood Tax Solutions
Victoria, BC   Regina,SK
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel