summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix descriptionMartin Michlmayr2015-07-301-1/+1
|
* Add test for --value-exprMartin Michlmayr2015-07-301-0/+48
| | | | | | See John's email "A solution to the commodity pricing problem" on how this works: https://groups.google.com/forum/#!topic/ledger-cli/gpOW50XtCTo
* Add test for --no-roundingMartin Michlmayr2015-07-301-0/+81
|
* [tests] Add baseline test for --cleared-formatAlexis Hildebrandt2015-07-301-0/+20
|
* [tests] Remove empty baseline test files.Alexis Hildebrandt2015-07-294-0/+0
| | | | | | | | The --generated and --verify-memory options are already ignored by CheckBaselineTests.py The --no-pager and --no-rounding options currently fail and need a proper baseline test or be ignored in CheckBaselineTests.py.
* Add baseline test for --no-revalued optionMartin Michlmayr2015-07-281-0/+58
|
* Improve --explicit test caseMartin Michlmayr2015-07-281-6/+8
| | | | | | Since --explicit tells ledger to require pre-declarations to establish "known-ness" (rather than taking it from cleared transactions), make sure the transactions are cleared.
* Add missing known functions to testMartin Michlmayr2015-07-281-1/+1
|
* [travis] Run documentation checks as reportsAlexis Hildebrandt2015-07-281-1/+3
| | | | which are allowed to fail instead of strict tests.
* [tests] Remove compiler warnings for unit testsAlexis Hildebrandt2015-07-281-0/+1
| | | | | | warning: relational comparison result unused [-Wunused-comparison] BOOST_CHECK_THROW(x6 < x7, amount_error); ~~~^~~~
* [tests] Allow string continuation in documentationAlexis Hildebrandt2015-07-281-0/+1
| | | | in long documentation examples.
* [tests] Fix Util and Math tests on Mac OS XAlexis Hildebrandt2015-07-281-0/+6
| | | | by explicitly linking the testing targets against Python
* Add --generated to untested options list.thdox2015-03-231-0/+1
| | | | | --generated will generate each time new entries, this cannot be reproduced safely.
* Add --verify-memory to untested options.thdox2015-03-231-0/+1
| | | | | This --verify-memory option is very system (Linux/Mac) dependent on how the memory is allocated. This cannot be reproduce with same results.
* Add --revalued-total to "to be tested" options.thdox2015-03-231-1/+0
| | | | | | I have not yet understood the meaning of --revalued-total, but as it output something, it should be tested. So add it to "to be tested" options list.
* Fix baseline test for --no-pager.thdox2015-02-251-1/+1
|
* Merge pull request #396 from thdox/auto-matchAlexis Hildebrandt2015-02-241-3/+44
|\ | | | | Fix Auto match
| * Update test for --auto-match option.thdox2015-02-221-3/+44
| |
* | Merge pull request #401 from thdox/baseline-testsAlexis Hildebrandt2015-02-247-8/+40
|\ \ | | | | | | Improve baseline tests
| * | Add baseline test for --price-db option.thdox2015-02-243-1/+10
| | |
| * | Add baseline test for --script option.thdox2015-02-243-1/+18
| | |
| * | Add --no-pager to untested options of CheckBaselineTests.pythdox2015-02-241-0/+1
| | | | | | | | | | | | As per comment in Pull Request #382
| * | Remove --*help* from untested options in CheckBaselineTests.pythdox2015-02-241-4/+0
| | | | | | | | | | | | As per commit f59abd4c765b08cbd5f18ec851b1d78a766a1c93
| * | Remove --cache from untested options in CheckBaselinetests.pythdox2015-02-241-1/+0
| | | | | | | | | | | | As per commit d5e1308d07e9a7d9da33aed6f7f617b2209cba40
| * | Add baseline test for --init-file option.thdox2015-02-243-1/+11
| |/
* / Fix alignment of cleared-format with 4 spaces as separator.thdox2015-02-231-1/+1
|/
* Improve documentation about --rich-data.thdox2015-02-211-0/+10
| | | | | Conflicts: doc/ledger.1
* [tests] Minor test/DocTests.py clean upAlexis Hildebrandt2015-02-201-16/+7
|
* [doc] Add support for additional input filesAlexis Hildebrandt2015-02-201-2/+12
| | | in test/DocTests.py by allowing file: and with_file: options on examples.
* [tests] Improve error reporting for test/DocTests.pyAlexis Hildebrandt2015-02-201-7/+9
|
* [tests] Add output when skipping incomplete testsAlexis Hildebrandt2015-02-201-1/+7
| | | in test/DocTests.py
* [tests] Clean-up test/DocTests.pyAlexis Hildebrandt2015-02-201-17/+19
| | | | * Replace hard-coded strings with token variables * Use os.path.join to create file paths
* [tests] Allow testing of multi-line examplesAlexis Hildebrandt2015-02-181-1/+1
|
* [doc] Report undocumented value expression functionsAlexis Hildebrandt2015-01-273-12/+78
| | | | in the manpage and texinfo manual.
* [doc] Improve @smallexample command line parsingAlexis Hildebrandt2015-01-271-2/+4
| | | | by using Python shlex.
* Merge pull request #383 from thdox/add-to-doc2Alexis Hildebrandt2015-01-272-19/+19
|\ | | | | | | | | Add documentation for option --permissive. [ci skip]
| * Rename file from test/regress/634AA589.test tothdox2015-01-222-19/+19
| | | | | | | | | | test/baseline/opt-permissive.test. Actually 634AA589 is the initial commit that created permissive option.
* | [tests] Grep for option alternates during checksAlexis Hildebrandt2015-01-251-11/+17
| |
* | [tests] Ignore comment lines when checking texinfoAlexis Hildebrandt2015-01-231-1/+2
| | | | | | | | so that "empty" options are also reported as undocumented.
* | [tests] Move untested_options to CheckBaselineTestsAlexis Hildebrandt2015-01-222-29/+29
|/
* [tests] Capture stderr when running DocTestsAlexis Hildebrandt2015-01-211-1/+1
|
* [tests] Improve option parsing in CheckTexinfo.pyAlexis Hildebrandt2015-01-211-0/+34
| | | | | | | * Replace @ftable @code argument with @option of @command depending on the documented items * Remove @c option comment from @items documenting options
* [tests] Refactor CheckTests.py into custom scriptsAlexis Hildebrandt2015-01-217-141/+244
|
* [fix] Make trim function trim trailing whitespaceAlexis Hildebrandt2015-01-201-0/+11
| | | | | | std::isspace(*e) returns false for the end of c-string null-byte. Bugzilla: 1106
* Fix -i short-option for --init-fileAlexis Hildebrandt2015-01-151-0/+8
| | | | | | Bugfix for #1102 Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
* [doc] Add CheckTests to ctestAlexis Hildebrandt2015-01-156-79/+156
| | | | | | | to check whether all available ledger options documented and are being tested. Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
* [tests] Fix compiler warningAlexis Hildebrandt2015-01-111-0/+3
|
* Merge pull request #358 from afh/pull/DocTestsJohn Wiegley2014-12-301-2/+15
|\ | | | | [tests] Add examples parameter to DocTests
| * [tests] Add examples parameter to DocTestsAlexis Hildebrandt2014-12-301-2/+15
| | | | | | to test the given examples only instead of every example.
* | Bugfix 1038: empty reg report for this month periodAlexis Hildebrandt2014-12-293-0/+56
|/ | | | | when year was specified with literal Y or year directive, but not when using apply year.