summary refs log tree commit diff stats
path: root/lib/pure/unittest.nim
Commit message (Collapse)AuthorAgeFilesLines
* 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
* [unittest] even deeper inspection of expressions and variables for the check ↵Zahary Karadjov2012-09-141-76/+46
| | | | macro
* [unittest] the check macro will print the values of params involved in ↵Zahary Karadjov2012-09-131-183/+211
| | | | failed proc calls
* made some tests greenAraq2012-09-121-9/+9
|
* unittest bugfix; made some tests greenAraq2012-09-081-2/+2
|
* made tests green againAraq2012-08-311-0/+1
|
* next steps towards term rewriting macros; simple examples workAraq2012-08-301-1/+3
|
* documented hygienic templates; made tests green; fixed system.clampAraq2012-08-221-12/+13
|
* making tests green againZahary Karadjov2012-03-201-2/+2
|
* unittest module compiles againAraq2012-03-171-5/+5
|
* unit test for #100Zahary Karadjov2012-03-101-4/+7
| | | | | unittest: the check macro will print only the non-literal part of the checked expression tests/run: added tunittests.nim as a single central executable where unittests could be added for quicker compilation/execution of the test suite
* year 2012 for most copyright headersAraq2012-01-021-1/+1
|
* The test runner will print out encountered exceptionsZahary Karadjov2011-12-071-0/+4
|
* when running unit tests, the tester will print only failures using colorless ↵Zahary Karadjov2011-11-101-8/+24
| | | | output (this should be better for nimbuild)