summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2023-02-06 14:37:37 -0800
committerJohn Wiegley <johnw@newartisans.com>2023-02-06 15:58:46 -0800
commitd29224452a302ebfbd6701ebc99a907b760d995d (patch)
tree0b433c75d1e80c8b38b12a483c17f4a104925b6a /test
parent27ba9545bd5f924f9caec255289c5c959a59c978 (diff)
downloadfork-ledger-d29224452a302ebfbd6701ebc99a907b760d995d.tar.gz
fork-ledger-d29224452a302ebfbd6701ebc99a907b760d995d.tar.bz2
fork-ledger-d29224452a302ebfbd6701ebc99a907b760d995d.zip
Add test/baseline/cmd-stats1.test
Diffstat (limited to 'test')
-rw-r--r--test/baseline/cmd-stats1.test24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/baseline/cmd-stats1.test b/test/baseline/cmd-stats1.test
new file mode 100644
index 00000000..76a2ffea
--- /dev/null
+++ b/test/baseline/cmd-stats1.test
@@ -0,0 +1,24 @@
+= /^Income:/
+ (Liabilities:Tithe) 0.10
+
+~ Monthly
+ Income:Interest:Bank Interest -$960.00
+ Equity
+
+test stats --now "2023-02-06"
+Time period: 23-Feb-06 to 23-Feb-06 (0 days)
+
+ Files these postings came from:
+ $FILE
+
+ Unique payees: 1
+ Unique accounts: 1
+
+ Number of postings: 1 (inf per day)
+ Uncleared postings: 1
+
+ Days since last post: 0
+ Posts in last 7 days: 1
+ Posts in last 30 days: 1
+ Posts seen this month: 1
+end test