summaryrefslogtreecommitdiff
path: root/test/baseline/cmd-stats.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-26 16:39:25 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-26 16:39:25 -0500
commit64a9b42381c26baf24e58b40f50f0b253e551811 (patch)
tree5447a29dff64c3a8b7be8100a01bcb4a2d73b0bb /test/baseline/cmd-stats.test
parent7cc550fc22357e2ded194d3e65287c6b3317f5ae (diff)
parentb4407c10c0071365322b2963747bf42a57fd7304 (diff)
downloadledger-64a9b42381c26baf24e58b40f50f0b253e551811.tar.gz
ledger-64a9b42381c26baf24e58b40f50f0b253e551811.tar.bz2
ledger-64a9b42381c26baf24e58b40f50f0b253e551811.zip
Merge branch 'release/v3.0.0-20120426'
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
+