Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added support for validation tests to DocTest.py (input:validate and | Peter Feigl | 2014-03-04 | 1 | -11/+37 |
| | | | | | | | | | | | | | | command:validate) It is now possible to use @smallexample @c input:validate (and command:validate) to specify that an example should just be read by ledger (and checked for errors) or that a ledger command should be executed (with default input -f sample.dat, if none is specified). These annotations have been added into ledger3.texi where appropriate. Running the ledger3.texi test now takes a second or two, but a lot of the @smallexamples are now automatically tested. | ||||
* | DocTests: Allow inline input to be used with different example commands | Alexis Hildebrandt | 2014-02-19 | 1 | -26/+47 |
| | |||||
* | DocTests: Allow multiple example inputs | Alexis Hildebrandt | 2014-02-19 | 1 | -0/+5 |
| | | | | to be used as single ledger data for an example command | ||||
* | Add proper argument parsing to DocTests.py | Alexis Hildebrandt | 2014-02-09 | 1 | -20/+36 |
| | |||||
* | Print summary list of failed doc tests if any | Alexis Hildebrandt | 2014-02-09 | 1 | -3/+6 |
| | |||||
* | Add support to check documentation examples with inline data | Alexis Hildebrandt | 2014-02-07 | 1 | -9/+36 |
| | |||||
* | Check examples in documentation when running tests | Alexis Hildebrandt | 2014-02-07 | 1 | -0/+139 |
The DocTests.py script will parse a given texinfo file for specially marked examples, run the ledger command from the example, and check the result against the example output from the documentation. |