Beautiful and efficient unit testing for Nim evolved from the standard library unittest module
Go to file
Ștefan Talpalaru 37d4ee81df
mark runTest() as "fastcall"
to get proper error messages about variable access that would make it a
closure - which we can't have in a spawned proc. "nimcall" doesn't work
here, because of https://github.com/nim-lang/Nim/issues/8473
2019-05-29 12:49:33 +02:00
tests add suiteTeardown() template 2019-05-28 23:58:13 +02:00
.gitignore initial commit - from https://github.com/nim-lang/Nim/pull/9724 2019-05-19 23:11:17 +02:00
LICENSE.txt initial commit - from https://github.com/nim-lang/Nim/pull/9724 2019-05-19 23:11:17 +02:00
README.md add link 2019-05-19 23:19:20 +02:00
nim.cfg initial commit - from https://github.com/nim-lang/Nim/pull/9724 2019-05-19 23:11:17 +02:00
unittest2.html update HTML docs 2019-05-28 23:59:25 +02:00
unittest2.nim mark runTest() as "fastcall" 2019-05-29 12:49:33 +02:00
unittest2.nimble initial commit - from https://github.com/nim-lang/Nim/pull/9724 2019-05-19 23:11:17 +02:00

README.md

description

unittest2 is a fork of the unittest module in the Nim standard library, with a focus on parallel test execution.

This fork was originally a pull request: https://github.com/nim-lang/Nim/pull/9724

testing

nimble test

installation

nimble install

usage

Replace import unittest with import unittest2 and see the unittest2.html documentation generated by nim doc unittest2.nim.

license

MIT

credits