summary refs log tree commit diff stats
path: root/lib/pure/unittest.nim
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Added system.program_results for controlling the exit code of the program ↵Zahary Karadjov2011-11-101-11/+20
| | | | | | | | under normal circumstances Implemented operators like +=, -=, etc for ordinals, floats and string Programs using the UnitTest module will now report the number of failed tests as the exit code of test runs (0 for successful run)
* memfiles now uses winlean; changed the interface to raise EOSAraq2011-11-051-3/+2
|
* small bugfixes to make more tests greenAraq2011-11-021-3/+5
|
* *Pimped up* the test runner with colorful outputZahary Karadjov2011-10-071-2/+6
| | | | Added: terminal.styledEcho macro
* Cleaned up the circular dependecies and remaining issuesZahary Karadjov2011-10-071-16/+5
| | | | Changed: The []= operator for strings and sequences is now capable of splicing
* Basic unit testing facilities (suites, fixtures, cases)Zahary Karadjov2011-10-071-0/+157
Added: PNimrodNode.lineinfo for better error messages from macros Added: seq.splice For easier use from templates and macros, except stament now supports the list of exception types to be supplied in nkBraket node (array literal).