summary refs log tree commit diff stats
path: root/lib/pure/unittest.nim
Commit message (Collapse)AuthorAgeFilesLines
* Improved unittest check macro, fixes #5784 (#6446)GULPF2017-09-301-41/+42
|
* Implement ability to run a single test using unittest module.Dominik Picheta2017-08-121-17/+38
|
* Reduce the scope of stackTrace var (#5583)Ruslan Mustakov2017-03-221-2/+1
| | | Fixes #5571.
* resolved unittest conflictAraq2017-03-181-72/+265
|\
| * Add support for custom test report formatters (#5556)Ruslan Mustakov2017-03-181-75/+268
| | | | | | | | | | Implement ConsoleOutputFormatter that is backward compatible with the previous implementation. Implement JUnitOutputFormatter which can be added externally.
* | overloading resolution for getAst; breaking changeAraq2017-03-181-4/+4
|/
* Merge branch 'devel' into faster-nimsuggestAndreas Rumpf2017-03-031-0/+2
|\
| * Add comment on return valueFederico Ceratto2017-02-261-0/+2
| |
* | nimsuggest supports prefix matching (first version)Araq2017-02-281-2/+1
|/
* Make use of `used` in unittest (#5410)Fabian Keller2017-02-251-6/+6
|
* Remove unnecessary colon in unittest.nim code exampleIvan Koster2017-02-241-1/+1
|
* Use default colors for test and suite namesDmitry Polienko2016-11-151-2/+2
|
* Improve unittest docsFederico Ceratto2016-10-231-3/+21
|
* unittest: Output suite name, nice formattingFelix Krause2016-08-231-8/+22
|
* stdlib and compiler don't use .immediate anymoreAndreas Rumpf2016-07-291-9/+9
|
* fixes #4494Andreas Rumpf2016-07-221-25/+28
|
* Implemented SKIPPED test statusRostyslav Dzinko2016-06-031-2/+25
|
* moved random procs from math to its own module (breaking change)Andreas Rumpf2016-05-301-1/+1
|
* Windows: fixes a regression; codegen might not know about & at this pointAraq2016-03-291-0/+0
|
* Moved teardown call to try block for namespace access reasonsRostyslav Dzinko2015-09-171-1/+2
|
* make testSetupIMPL and testTeardownIMPL non-publicfenekku2015-08-121-5/+4
|
* failed unittest check causes identifiers and calls to be printed outfenekku2015-08-121-10/+17
|
* Fix multiple requires in a testNycto2015-08-011-1/+1
|
* Merge pull request #3094 from fenekku/unittest-workDominik Picheta2015-07-261-13/+131
|\ | | | | document unittest.nim + code agreement
| * document unittest.nim + code agreementfenekku2015-07-091-13/+131
| |
* | Remove access modifiers from inner templatesSergey Avseyev2015-07-231-2/+2
|/ | | | Fixes options.nim tests
* Fixed unittest output.yglukhov2015-06-111-1/+0
|
* Perform lambda lifting for compile-time stuff when targeting JS. Enable ↵yglukhov2015-05-291-5/+4
| | | | unittest test.
* Don't inspect typedescsFlaviu Tamas2015-05-261-6/+7
|
* Rename PNimrodNode to NimNodedef2015-03-171-3/+3
|
* Try to fix unittest for JS backend, still not workingdef2015-02-041-2/+1
|
* Fix named argument handlingFlaviu Tamas2015-01-161-2/+11
| | | | Instead of trying to use the whole parameter, it uses just the RHS, as expected
* Merge pull request #1876 from flaviut/unittest-stacktraceAndreas Rumpf2015-01-071-0/+1
|\ | | | | Add stack trace to unitest.nim exceptions
| * Make unittest.nim print stack traceFlaviu Tamas2015-01-051-0/+1
| |
* | Merge pull request #1883 from flaviut/add-unittest-docsVarriount2015-01-051-6/+21
|\ \ | | | | | | Add an example and remove future claims from unittest.nim
| * | Add an example and remove future claimsFlaviu Tamas2015-01-051-6/+21
| |/ | | | | | | | | The future claims haven't been addressed for 3 years, they are unlikely to be fixed soon.
* / Properly use the terminal moduleFlaviu Tamas2015-01-051-0/+2
|/ | | | | | | The documentation for terminal says > Changing the style is permanent even after program termination! Use the code > `system.addQuitProc(resetAttributes)` to restore the defaults.
* work around a regression caused by the new 'echo' implementationAraq2014-12-281-1/+3
|
* Removed extra line breaks from unittest output.gmpreussner2014-12-211-9/+9
|
* made some tests greenAraq2014-08-311-13/+13
|
* Nimrod renamed to NimAraq2014-08-281-1/+1
|
* more modules updatedAraq2014-08-281-2/+2
|
* big renameAraq2014-08-271-14/+17
|
* distinguish between 'defined' and 'declared'Araq2014-08-111-3/+3
|
* unittest module works againAraq2014-01-181-5/+6
|
* progress towards adding negative type classesZahary Karadjov2013-12-091-2/+4
| | | | | | [unittest bugfixes] the block form of check now allows comments errors when inspecting the arguments of var-accepting procs
* adding some provisions for writing lower-level unit tests targeting specific ↵Zahary Karadjov2013-12-071-2/+6
| | | | | | | | sub-systems of the compiler see sigmatch as an example. tests are compiled only when the compiler is compiled with -d:selftest to execute them, just run the resulting binary without arguments
* WA for #329, caused by #335Simon Hafner2013-02-151-1/+1
|
* on the path to get unittest running from JSSimon Hafner2013-02-151-12/+27
|
* syntax compatibility between do blocks and stmt blocksZahary Karadjov2012-10-041-6/+5
| | | | | | | | | | | | See the section `do notation` in the manual for more info. * nkMacroStmt has been removed Macro statements are now mapped to regular nkCall nodes. The support for additional clauses (such as else, except, of, etc) have been restored - they will now appear as additional arguments for the nkCall node (as nkElse, nkExcept, etc nodes) * fixed some regressions in the `is` operator and semCompiles