summary refs log tree commit diff stats
path: root/lib/pure/unittest.nim
Commit message (Collapse)AuthorAgeFilesLines
* 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).