Nim/testament
quantimnot 6289b002b6
[Testament] Extend and document message testing aids (#19996)
* [Testament] Extend and document message testing aids

* Enable inline msgs when not reject action.
Eliminates the pain of changing the line and column numbers in `nimout`
or `output` while making changes to the test.
* Enable using inline msgs and nimout together.
Allows ease of inline msgs for the test as well as testing msgs from
other modules.
* Add path separator and test filename variable interpolation in
msgs.
Eases handling path separators in the msgs.
* Add some documentation.

* Fixed lots of broken tests

* Fixed more broken tests

* Support multiple inline messages per a line

* Fix a broken test

* Revert variable substitution in `output`

* Remove uneeded params

* Update doc/testament.md

Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>

* Update testament/specs.nim

Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>

* Update testament/specs.nim

Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>

* Fix indentation

Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
2022-09-01 17:52:13 +02:00
..
lib envPairs works in vm, nims (#18615) 2021-09-29 09:32:39 +02:00
tests/shouldfail testament :show duration also for failed tests; improve tshould_not_work; mitigate #17946 tchannels timeouts (#17947) 2021-05-08 17:13:47 +02:00
azure.nim testament/azure: major rewrite (#13246) 2020-01-25 09:32:27 +01:00
backend.nim add -d:nimStrictMode in CI to keep code from regressing; fixes ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764) 2021-02-17 19:30:09 +01:00
caasdriver.nim add -d:nimStrictMode in CI to keep code from regressing; fixes ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764) 2021-02-17 19:30:09 +01:00
categories.nim default threads on (#19368) 2022-07-06 13:06:41 +02:00
htmlgen.nim replace / with _ in trId (#15256) 2020-09-02 20:53:02 +02:00
important_packages.nim disable polypbren (#19787) 2022-05-13 01:03:30 +08:00
specs.nim [Testament] Extend and document message testing aids (#19996) 2022-09-01 17:52:13 +02:00
testament.nim [Testament] Extend and document message testing aids (#19996) 2022-09-01 17:52:13 +02:00
testament.nim.cfg testament: fix #16829, fix partially #16830 (#16831) 2021-01-27 17:05:48 +01:00
testamenthtml.nimf fixes leftover from #9647 : use nimf as standardized extension for source code filters (#10294) 2019-01-14 11:58:16 +01:00