Commit Graph

16 Commits

Author SHA1 Message Date
Miran
e7f280bd26 Remove deprecated stuff from stdlib (#14699)
* update to the latest Jester

* remove deprecated procs from some stdlib modules

* 'criterion' is not maintained anymore and relies on obsolete stuff
2020-06-17 15:25:02 +02:00
Jacek Sieka
7d6cbf290a Error -> Defect for defects (#13908)
* 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.
2020-04-28 19:56:01 +02:00
Araq
796432ff94 make tests more robust; tests should be deterministic, no randomize() calls in tests 2019-01-13 13:54:44 +01:00
Araq
7cea0c1765 closes #5252 2018-09-03 10:16:11 +02:00
Federico Ceratto
25831a83d7 Add unittest suite/test name filters
Support simple globbing
2017-11-28 13:12:23 +00:00
GULPF
5cf789ac3f Improved unittest check macro, fixes #5784 (#6446) 2017-09-30 15:39:00 +02:00
Ruslan Mustakov
310b73b556 Reduce the scope of stackTrace var (#5583)
Fixes #5571.
2017-03-22 01:06:05 +01:00
Fabian Keller
f250c30b9d Make use of used in unittest (#5410) 2017-02-25 21:18:16 +01:00
Andreas Rumpf
fc0bb82802 fixes #4494 2016-07-22 22:31:09 +02:00
Andreas Rumpf
95bb19a579 moved random procs from math to its own module (breaking change) 2016-05-30 16:24:52 +02:00
Peter Mora
b284ace099 fixing unittest 2015-10-06 08:24:43 +02:00
fenekku
c62698b296 make testSetupIMPL and testTeardownIMPL non-public 2015-08-12 10:30:36 -04:00
Nycto
eac484167c Fix multiple requires in a test 2015-08-01 18:48:41 -07:00
fenekku
464ec61e9c document unittest.nim + code agreement 2015-07-09 13:22:26 -04:00
Flaviu Tamas
3daef85d6e Fix #964, fix #1384
Doesn't actually fix those bugs, but they can no longer be reproduced. Test
cases have been added.
2015-05-26 18:41:28 -04:00
Flaviu Tamas
c9616897f0 Don't inspect typedescs 2015-05-26 18:40:43 -04:00