;dev: rename assertions.test
This commit is contained in:
parent
2371f677e5
commit
330f3fccaa
@ -226,4 +226,4 @@ If you find that adding --fast makes this any faster, please update this.
|
|||||||
|
|
||||||
### Rerun a single functional test as you change it:
|
### Rerun a single functional test as you change it:
|
||||||
|
|
||||||
watchexec -w hledger/test/journal/balance-assertions.test just functest -i budget.*19
|
watchexec -w hledger/test/journal/assertions.test just functest -i budget.*19
|
||||||
@ -527,7 +527,7 @@ journalBalanceTransactions bopts' j' =
|
|||||||
ts' <- lift $ getElems balancedtxns
|
ts' <- lift $ getElems balancedtxns
|
||||||
return j{jtxns=ts'}
|
return j{jtxns=ts'}
|
||||||
|
|
||||||
-- Before #2039: "Costs are removed, which helps eg balance-assertions.test: 15. Mix different commodities and assignments."
|
-- Before #2039: "Costs are removed, which helps eg assertions.test: 15. Mix different commodities and assignments."
|
||||||
|
|
||||||
-- | This function is called statefully on each of a date-ordered sequence of
|
-- | This function is called statefully on each of a date-ordered sequence of
|
||||||
-- 1. fully explicit postings from already-balanced transactions and
|
-- 1. fully explicit postings from already-balanced transactions and
|
||||||
|
|||||||
@ -55,10 +55,10 @@ Some explanation:
|
|||||||
- `--threads=N` runs tests in parallel which is much faster.
|
- `--threads=N` runs tests in parallel which is much faster.
|
||||||
- `-x` is another spelling of --exclude
|
- `-x` is another spelling of --exclude
|
||||||
|
|
||||||
Run only the tests matching a regular expression (here, the 19th test in the balance-assertions.test file):
|
Run only the tests matching a regular expression (here, the 19th test in the assertions.test file):
|
||||||
|
|
||||||
$ just functest -i balance-assertions.*19
|
$ just functest -i balance-assertions.*19
|
||||||
:hledger/test/journal/balance-assertions.test:19: [OK]
|
:hledger/test/journal/assertions.test:19: [OK]
|
||||||
|
|
||||||
Test Cases Total
|
Test Cases Total
|
||||||
Passed 1 1
|
Passed 1 1
|
||||||
@ -67,7 +67,7 @@ Run only the tests matching a regular expression (here, the 19th test in the bal
|
|||||||
|
|
||||||
Run a specific test repeatedly as its file is changed:
|
Run a specific test repeatedly as its file is changed:
|
||||||
|
|
||||||
$ watchexec -w hledger/test/journal/balance-assertions.test just functest -i balance-assertions.*19
|
$ watchexec -w hledger/test/journal/assertions.test just functest -i balance-assertions.*19
|
||||||
:hledger/test/cli/query-args.test:1: [OK]
|
:hledger/test/cli/query-args.test:1: [OK]
|
||||||
|
|
||||||
Test Cases Total
|
Test Cases Total
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user