Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove confusing <//> (#17830) | flywind | 2021-04-26 | 1 | -3/+3 |
| | |||||
* | CIs: attempt to use csources_v1 (#16282) | Andreas Rumpf | 2021-04-21 | 1 | -4/+4 |
| | | | | | | | | * CIs: attempt to use csources_v1 * also updated the BSDs * also updated azure pipelines * std modules should not itself use the 'std/' import dir... * compiler has to be careful with std/ for v1 booting | ||||
* | remove deprecated stuff in unittest module (#17156) | flywind | 2021-02-24 | 1 | -38/+30 |
| | | | | | | | | | * remove unnecessary when statement * remove outdated codes * remove deprecated stuff in testament * fix | ||||
* | clean up old codes (#17071) | flywind | 2021-02-17 | 1 | -1/+1 |
| | |||||
* | fix #16978 unittest js foreign exception (#16998) | Timothee Cour | 2021-02-13 | 1 | -3/+8 |
| | | | | * fix #16978 unittest js foreign exception | ||||
* | Documentation only Testament unittest (#16532) | Juan Carlos | 2021-01-01 | 1 | -9/+13 |
| | | | | | | | | | * Link Testament from unittest doc * Update lib/pure/unittest.nim Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com> Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com> | ||||
* | fix #16474 `unittest.check type1 is type2` gives CT error (#16476) | flywind | 2020-12-27 | 1 | -1/+2 |
| | | | | * fix #16474 * more tests | ||||
* | unittest: use defines instead of env vars (#16165) | Timothee Cour | 2020-12-10 | 1 | -35/+55 |
| | | | | | | | | | * unittest: use defines instead of env vars * use defines in testament * fixup Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | Tiny unittest doc fix | Clyybber | 2020-11-05 | 1 | -3/+2 |
| | |||||
* | document #15618 (#15810) | flywind | 2020-11-05 | 1 | -0/+9 |
| | | | | | | | | | | | | | | * document #15618 * Update lib/pure/unittest.nim * Update lib/pure/unittest.nim Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> * Update lib/pure/unittest.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> | ||||
* | support par expression as checkpoint (#15802) | flywind | 2020-10-31 | 1 | -1/+1 |
| | |||||
* | update unittest docs with correct exit code info (#15502) | Serban Constantin | 2020-10-06 | 1 | -2/+2 |
| | |||||
* | Clean up macros (#14959) | Juan Carlos | 2020-07-14 | 1 | -1/+1 |
| | |||||
* | fix #14475; unittest.require now works with `nim c`; require and check now ↵ | Timothee Cour | 2020-07-14 | 1 | -7/+6 |
| | | | | | | | | | | | | | works with -d:nodejs (#14676) * fix #14475; make unittest work with -d:nodejs * fixup * fixup * disable inim, delaunay which failed after unittest.require got fixed * re-enable tests that have been fixed | ||||
* | Remove deprecated stuff from stdlib (#14699) | Miran | 2020-06-17 | 1 | -3/+2 |
| | | | | | | | * update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff | ||||
* | move since from inclrtl to std/private/since (#14188) | hlaaftana | 2020-05-02 | 1 | -2/+2 |
| | | | | * move since from inclrtl to std/private/since * move since import in system below for HCR | ||||
* | JS unittest stacktrace fix, cleanup js repr and inclrtl includes (#14168) | hlaaftana | 2020-04-30 | 1 | -8/+9 |
| | |||||
* | Error -> Defect for defects (#13908) | Jacek Sieka | 2020-04-28 | 1 | -3/+3 |
| | | | | | | | | | | | | | | * 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. | ||||
* | StringStream & more stdlib modules support for JS/NimScript (#14095) | hlaaftana | 2020-04-28 | 1 | -1/+1 |
| | | | | | * StringStream & more stdlib modules support for JS/NimScript * change back pegs test in line with #14134 | ||||
* | fix #6736: templates in unittest now show actual value (#13354) | Miran | 2020-02-07 | 1 | -1/+1 |
| | |||||
* | unittest add resetOutputFormatters proc (#13267) | cooldome | 2020-01-28 | 1 | -0/+5 |
| | | | | | | | | * add resetOutputFormatters * remove space * resolve comments | ||||
* | Namespace unittest enums to avoid name conflicts (#12468) [backport] | ducdetronquito | 2019-10-20 | 1 | -14/+14 |
| | | | | * [backport] Fixes: #12465 - Unittest - Namespace the usage of TestStatus enum to avoid name conflicts. | ||||
* | [backport] run nimpretty on the remaining files | narimiran | 2019-09-30 | 1 | -26/+37 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | last stdlib cleanups | Araq | 2019-09-21 | 1 | -1/+6 |
| | |||||
* | Add delOutputFormatter proc to unittest.nim (#12032) | Chris Heller | 2019-09-03 | 1 | -1/+5 |
| | |||||
* | Fix typo (#11910) | Dmitry Matveyev | 2019-08-08 | 1 | -1/+1 |
| | |||||
* | [bugfix] Make std/unittest compile with --styleCheck:error (#11762) | Kaushal Modi | 2019-07-17 | 1 | -8/+8 |
| | |||||
* | undeprecate system.programResult until we have a good solution at hand | Araq | 2019-06-03 | 1 | -1/+1 |
| | |||||
* | introduce temporary <//> for 'owned' to get this compile with 0.19 (#11145) | Andreas Rumpf | 2019-05-02 | 1 | -3/+3 |
| | | | | | | | | * introduce temporary <//> for 'owned' to get this compile with 0.19 * make newTable[string, owned Node]() compile (but it crashes) * make sink/owned parameters consistent * make actiontable test compile again * VM: support sytem.move; makes tests green | ||||
* | Fix header inconsistencies in documentation (#11071) | Zed | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | fix #10261 unittest now returns 1 on error instead of buggy behavior (#10264) | Timothee Cour | 2019-01-11 | 1 | -2/+2 |
| | |||||
* | Give error when case has an else branch even though all cases are already ↵ | Neelesh Chandola | 2018-12-13 | 1 | -1/+0 |
| | | | | | | | | | covered (#9930) * Give error when case has an else branch even though all cases are already covered. * Don't check for invalid else for type tyFloat..tyFloat128, tyString, tyError * Remove unnecessary else in unittest.nim * Fix sockets.nim | ||||
* | removes deprecated T/P types | Araq | 2018-11-16 | 1 | -2/+0 |
| | |||||
* | make more tests green | Andreas Rumpf | 2018-08-13 | 1 | -2/+2 |
| | |||||
* | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -8/+5 |
| | |||||
* | remove redundant test for nil before `add` (#8460) | Timothee Cour | 2018-08-06 | 1 | -2/+0 |
| | |||||
* | Added: type name output when exception raised from unittest (#7869) | 七秒不觉梦 | 2018-05-28 | 1 | -3/+7 |
| | |||||
* | unittest: default no color if stdout is not a tty (#7424) | Xiao-Yong | 2018-04-12 | 1 | -4/+19 |
| | | | | | | | We accept a new environment variable, NIMTEST_COLOR, which override the effect of NIMTEST_NO_COLOR. The environment variable, NIMTEST_COLOR, can be 'never' or 'always', which set the color output to false or true, respectively. | ||||
* | Disable param filtering | Alexander Ivanov | 2018-03-27 | 1 | -1/+6 |
| | |||||
* | Add unittest suite/test name filters | Federico Ceratto | 2017-11-28 | 1 | -11/+80 |
| | | | | Support simple globbing | ||||
* | No implicit quit for Genode (#6515) | Emery Hemingway | 2017-10-25 | 1 | -1/+1 |
| | |||||
* | Improved unittest check macro, fixes #5784 (#6446) | GULPF | 2017-09-30 | 1 | -41/+42 |
| | |||||
* | Implement ability to run a single test using unittest module. | Dominik Picheta | 2017-08-12 | 1 | -17/+38 |
| | |||||
* | Reduce the scope of stackTrace var (#5583) | Ruslan Mustakov | 2017-03-22 | 1 | -2/+1 |
| | | | Fixes #5571. | ||||
* | resolved unittest conflict | Araq | 2017-03-18 | 1 | -72/+265 |
|\ | |||||
| * | Add support for custom test report formatters (#5556) | Ruslan Mustakov | 2017-03-18 | 1 | -75/+268 |
| | | | | | | | | | | Implement ConsoleOutputFormatter that is backward compatible with the previous implementation. Implement JUnitOutputFormatter which can be added externally. | ||||
* | | overloading resolution for getAst; breaking change | Araq | 2017-03-18 | 1 | -4/+4 |
|/ | |||||
* | Merge branch 'devel' into faster-nimsuggest | Andreas Rumpf | 2017-03-03 | 1 | -0/+2 |
|\ | |||||
| * | Add comment on return value | Federico Ceratto | 2017-02-26 | 1 | -0/+2 |
| | |