Zahary Karadjov
b6f8ab3254
[unittest] even deeper inspection of expressions and variables for the check macro
2012-09-14 00:53:30 +03:00
Zahary Karadjov
36155a6813
[unittest] the check macro will print the values of params involved in failed proc calls
2012-09-13 04:10:08 +03:00
Araq
8178cd4fab
made some tests green
2012-09-12 08:43:24 +02:00
Araq
46f652b93e
unittest bugfix; made some tests green
2012-09-08 22:33:15 +02:00
Araq
b56df72a32
made tests green again
2012-08-31 00:00:14 +02:00
Araq
1d14cb1ad8
next steps towards term rewriting macros; simple examples work
2012-08-30 22:55:32 +02:00
Araq
f893179889
documented hygienic templates; made tests green; fixed system.clamp
2012-08-22 22:46:02 +02:00
Zahary Karadjov
a72fe16f9d
making tests green again
2012-03-20 14:44:23 +02:00
Araq
e3b25e93ac
unittest module compiles again
2012-03-17 18:58:59 +01:00
Zahary Karadjov
f9876d379d
unit test for #100
...
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
2012-03-10 17:26:34 +02:00
Araq
4f1b89c30c
year 2012 for most copyright headers
2012-01-02 23:07:35 +01:00
Zahary Karadjov
e13a610ad4
The test runner will print out encountered exceptions
2011-12-07 00:57:52 +02:00
Zahary Karadjov
da4076e0b7
when running unit tests, the tester will print only failures using colorless output (this should be better for nimbuild)
2011-11-10 04:39:46 +02:00
Zahary Karadjov
489340658e
Added system.program_results for controlling the exit code of the program 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)
2011-11-10 04:10:03 +02:00
Araq
dc08a033d9
memfiles now uses winlean; changed the interface to raise EOS
2011-11-05 12:16:49 +01:00
Araq
1f6725e59e
small bugfixes to make more tests green
2011-11-02 02:28:18 +01:00
Zahary Karadjov
4a444bf6db
*Pimped up* the test runner with colorful output
...
Added: terminal.styledEcho macro
2011-10-07 17:10:04 +03:00
Zahary Karadjov
e3deb5b502
Cleaned up the circular dependecies and remaining issues
...
Changed: The []= operator for strings and sequences is now capable of splicing
2011-10-07 17:10:04 +03:00
Zahary Karadjov
22546c44d1
Basic unit testing facilities (suites, fixtures, cases)
...
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).
2011-10-07 17:07:18 +03:00