summary refs log tree commit diff stats
path: root/tests/stdlib/tunittest.nim
Commit message (Collapse)AuthorAgeFilesLines
* use doAssert in tests (#16486)flywind2020-12-281-1/+1
|
* unittest: use defines instead of env vars (#16165)Timothee Cour2020-12-101-0/+1
| | | | | | | | | * unittest: use defines instead of env vars * use defines in testament * fixup Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* make megatest consistent with unjoined tests wrt newlines, honor newlines in ↵Timothee Cour2020-11-281-37/+37
| | | | | | | output spec (#16151) * fix megatest newlines * still allow missing trailing newline for now but in a more strict way than before
* Remove deprecated stuff from stdlib (#14699)Miran2020-06-171-2/+2
| | | | | | | * update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff
* Error -> Defect for defects (#13908)Jacek Sieka2020-04-281-1/+1
| | | | | | | | | | | | | | * Error -> Defect for defects The distinction between Error and Defect is subjective, context-dependent and somewhat arbitrary, so when looking at an exception, it's hard to guess what it is - this happens often when looking at a `raises` list _without_ opening the corresponding definition and digging through layers of inheritance. With the help of a little consistency in naming, it's at least possible to start disentangling the two error types and the standard lib can set a good example here.
* make tests more robust; tests should be deterministic, no randomize() calls ↵Araq2019-01-131-1/+0
| | | | in tests
* closes #5252Araq2018-09-031-0/+19
|
* Add unittest suite/test name filtersFederico Ceratto2017-11-281-0/+38
| | | | Support simple globbing
* Improved unittest check macro, fixes #5784 (#6446)GULPF2017-09-301-6/+21
|
* Reduce the scope of stackTrace var (#5583)Ruslan Mustakov2017-03-221-0/+7
| | | Fixes #5571.
* Make use of `used` in unittest (#5410)Fabian Keller2017-02-251-3/+12
|
* fixes #4494Andreas Rumpf2016-07-221-0/+6
|
* moved random procs from math to its own module (breaking change)Andreas Rumpf2016-05-301-1/+1
|
* fixing unittestPeter Mora2015-10-061-1/+1
|
* make testSetupIMPL and testTeardownIMPL non-publicfenekku2015-08-121-0/+45
|
* Fix multiple requires in a testNycto2015-08-011-0/+5
|
* document unittest.nim + code agreementfenekku2015-07-091-0/+14
|
* Fix #964, fix #1384Flaviu Tamas2015-05-261-0/+16
| | | | | Doesn't actually fix those bugs, but they can no longer be reproduced. Test cases have been added.
* Don't inspect typedescsFlaviu Tamas2015-05-261-0/+5