Commit graph

7 commits

Author SHA1 Message Date
John Wiegley
1809e63fb0 Added a test harness error diagnostic 2012-03-30 04:49:45 -05:00
John Wiegley
7bddcd676b Added --rounding option, which is off by default
The purpose of this option is to add special "<Rounding>" postings, to
ensure that a regiter's running total is *always* the sum of its
postings.  Within --rounding, these adjustment postings are missing,
which was the behavior in Ledger 2.x.  It can be orders of magnitude
slower to turn it on for large reports with many commodities.
2010-05-23 15:45:51 -06:00
John Wiegley
95e08cc46f Make the source directory available to all tests 2009-11-02 00:48:32 -05:00
John Wiegley
4d632903c1 Added LedgerHarness.py, to simplify test creation 2009-02-28 05:37:49 -04:00
John Wiegley
4389edb639 Normalize "dots" output from some of the tests 2009-02-27 02:37:41 -04:00
John Wiegley
b1adca6c80 Run the confirm tests using --verify 2009-02-27 01:52:54 -04:00
John Wiegley
d58797e98c The -B, -G, -V reports now show rounding amounts
This way, if the running total is off by a penny or two due to rounding
of one or more commodities in the account, the user will see it.

This commit also reorganizes the testing code a bit, which I did after
adding the ninth test series (ConfirmTests), to validate the new
rounding code.
2009-02-26 03:16:39 -04:00