hledger/tests/journal
Mykola Orliuk 7437c96ff6 Make hledger-rewrite tool suitable for re-factoring original journals (#490)
* cli: fix bug in pivot for postings without tag

Without this fix for postings without tag query checked effective
account which is always empty text ("").

* rewrite: inherit dates, change application order

For budgeting it is important to inherit actual date of posting if it
differs from date of transaction. These dates will be added
as a separate line of comment.

More natural order of rewrites is when result of first defined one is
available for all next rewrites.

* rewrite: factor out Hledger.Data.AutoTransaction

* rewrite: add diff output

With this option you can modify your original files without loosing
inter-transaction comments etc. I.e. you can run:

hledger-rewrite --diff Agency \
  --add-posting 'Expenses:Taxes  *0.17' \
  | patch

As result multiple files should be updated.
Also it is nice to review your changes using colordiff instead of
patch.

* lib: track source lines range for journal

* doc: auto entries and diff output for rewrite
2017-01-20 07:33:24 -08:00
..
a.timeclock func. test for 320 2016-05-18 13:10:41 -07:00
b.timedot func. test for 320 2016-05-18 13:10:41 -07:00
balance-assertions.test Make hledger-rewrite tool suitable for re-factoring original journals (#490) 2017-01-20 07:33:24 -08:00
blank-description.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
comments.test Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
commodities.test Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
commodity-styles.test test numbering 2016-05-13 22:10:23 -07:00
dates.test Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
default-commodity.test Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
directives.test journal: parse account directives 2016-04-04 11:35:39 -07:00
include.test lib: simplify parsers; cleanups (#275) 2016-05-23 00:44:19 -07:00
market-prices.test update market price tests #403 #453 2016-12-30 14:36:27 -08:00
parens-in-account-name.test Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
parse-sample-journal.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
posting-dates.test Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
precision.test Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
status.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
tags.test Feature/pivot implicit tags (#460) 2017-01-13 08:02:11 -08:00
transaction-prices.test Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
unbalanced.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
virtual-postings.test Balance Assignments and accounts resetting (#438) 2016-12-10 07:04:48 -08:00