summaryrefslogtreecommitdiff
path: root/test/baseline/cmd-stats.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2012-03-25 14:11:59 +0100
committerMartin Michlmayr <tbm@cyrius.com>2012-03-25 14:11:59 +0100
commit8962d9c904d5630b508ca2b10f2bf66e7f32a30b (patch)
tree98d35d154607222d9df3ffcc12ac633fec60dbd0 /test/baseline/cmd-stats.test
parenta47625be3571262f0c36324d6793c55645172dc1 (diff)
downloadfork-ledger-8962d9c904d5630b508ca2b10f2bf66e7f32a30b.tar.gz
fork-ledger-8962d9c904d5630b508ca2b10f2bf66e7f32a30b.tar.bz2
fork-ledger-8962d9c904d5630b508ca2b10f2bf66e7f32a30b.zip
Add more baseline tests
Diffstat (limited to 'test/baseline/cmd-stats.test')
-rw-r--r--test/baseline/cmd-stats.test31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/baseline/cmd-stats.test b/test/baseline/cmd-stats.test
new file mode 100644
index 00000000..ac8e1383
--- /dev/null
+++ b/test/baseline/cmd-stats.test
@@ -0,0 +1,31 @@
+
+2012-02-28 * Test
+ E 30.00 EUR
+ F
+
+2012-02-29 * Test
+ E 30.00 EUR
+ F
+
+2012-03-24 Test
+ A 30.00 EUR
+ B
+
+test stats --now "2012-03-31"
+Time period: 12-Feb-28 to 12-Mar-24 (25 days)
+
+ Files these postings came from:
+ $sourcepath/test/baseline/cmd-stats.test
+
+ Unique payees: 1
+ Unique accounts: 4
+
+ Number of postings: 6 (0.24 per day)
+ Uncleared postings: 2
+
+ Days since last post: 7
+ Posts in last 7 days: 2
+ Posts in last 30 days: 2
+ Posts seen this month: 2
+end test
+