Ivan Yonchovski
a78e6eb8bc
Update gitignore ( #15 )
2022-07-12 23:31:12 +03:00
Tanguy
f180f596c8
Fix for strict exceptions
2022-06-16 13:28:28 +02:00
Tanguy
26f31488a8
Add -d:unittestPrintTime to show test duration in console ( #12 )
...
* Add -d:unittestPrintTime to show test duration in console
* Add environment variable option NIMTEST_TIMING
* Bump version to 0.0.4
2022-05-31 17:12:44 +02:00
Tanguy
9d23c0bebe
Generate documentation in CI ( #13 )
...
* Also removes docs from master
2022-05-12 18:23:28 +03:00
Ștefan Talpalaru
24eb5e829e
CI: test with Nim-1.6 and C++ ( #11 )
2022-01-14 04:15:45 +01:00
Tanguy
4e2893eacb
bump nimble version
2021-12-17 09:09:12 +01:00
Ștefan Talpalaru
02c49b8a99
fix URL
2021-11-22 01:20:30 +01:00
Ștefan Talpalaru
7a32cb7717
try to trigger GitHub Pages
2021-11-22 01:18:09 +01:00
Ștefan Talpalaru
66420a7d93
regenerate HTML docs
2021-11-22 01:08:32 +01:00
Jacek Sieka
f1d70dbb8c
better error message on unexpected exception ( #10 )
2021-08-17 15:45:12 +02:00
Jacek Sieka
4c2ce01e34
reorder code ( #9 )
...
declare checkpoint/fail before use to avoid random compile errors
2021-08-16 15:10:04 +02:00
Ștefan Talpalaru
91d4eaa4cc
Nim-1.4 fix ( #8 )
...
* Nim-1.4 fix
* CI: use MSYS2
2021-05-22 18:00:55 +02:00
Ștefan Talpalaru
b9b61cfe4a
change define prefix and update docs ( #7 )
2021-04-29 14:20:03 +02:00
Jacek Sieka
c847fc3ec7
Merge pull request #5 from status-im/xml-report
...
write junit test reports as a command line option
2021-04-28 13:44:05 +02:00
Jacek Sieka
60855d9432
add option to disable command line parsing
2021-04-28 10:19:23 +02:00
Jacek Sieka
133d86a58e
compat fixes
...
evaluate name once only
2021-04-27 20:29:59 +02:00
Jacek Sieka
0bff52a779
fix time, run test in block
2021-04-27 17:41:56 +02:00
Jacek Sieka
d070a24fd0
write junit test reports as a command line option
...
* add counters to xml reports
* add command line args to write xml report
* fix initialization being performed once for each test
* use monotonic timer for duration measurements
2021-04-27 16:34:39 +02:00
Jacek Sieka
e788deab3d
Merge pull request #4 from status-im/failfix
...
fix stand-alone "check" for <Nim-1.4.0
2021-03-22 20:44:58 +01:00
Ștefan Talpalaru
72a6ae5ce6
fix stand-alone "check" for <Nim-1.4.0
...
and prevent a theoretical integer overflow
2021-03-22 20:01:37 +01:00
Jacek Sieka
06063acac7
Merge pull request #3 from status-im/ci
...
CI setup
2021-03-21 09:33:05 +01:00
Ștefan Talpalaru
50c3aff5be
CI setup
...
Tests moved to "config.nims", to avoid building and using Nimble.
fix for >=Nim-1.4.0
Nim devel fix
macOS fix
fix Windows (uninitialised locks)
2021-03-19 23:22:19 +01:00
Jacek Sieka
4241a66ff4
updates ( #2 )
...
* update to latest upstream
* fix exception tracking
* update readme
2021-03-19 18:27:25 +01:00
Ștefan Talpalaru
de86d8c0a8
docs: update URL after repo move
2021-03-17 17:29:39 +01:00
Ștefan Talpalaru
f45023103e
Merge pull request #1 from narimiran/fix-exclamation
...
proc `!` was deprecated since Nim 0.18, and it doesn't exist in Nim 1.4
2020-09-08 14:49:48 +02:00
narimiran
13607032e9
proc `!` was deprecated since Nim 0.18, and it doesn't exist in Nim 1.4
2020-09-08 14:40:45 +02:00
Ștefan Talpalaru
cd7ff6eed2
bump version
2020-01-03 18:29:00 +01:00
Ștefan Talpalaru
183eaaa577
remove redundant import
2019-07-03 01:05:07 +02:00
Ștefan Talpalaru
30c7d332d8
-d:nimtestParallelDisabled
2019-05-29 16:33:25 +02:00
Ș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
Ștefan Talpalaru
65f6fb7ef2
inject testName
2019-05-29 01:49:35 +02:00
Ștefan Talpalaru
9434b711c6
pass the test name to runTest()
...
so it can be deep-copied when spawned
2019-05-29 00:34:09 +02:00
Ștefan Talpalaru
efe03ed1f4
update HTML docs
2019-05-28 23:59:25 +02:00
Ștefan Talpalaru
d01ed926d7
add suiteTeardown() template
2019-05-28 23:58:13 +02:00
Ștefan Talpalaru
b8ab4657e4
remove obsolete comment
2019-05-28 22:54:50 +02:00
Ștefan Talpalaru
c8297e6f69
change a couple of threadvars into global vars
2019-05-28 21:41:04 +02:00
Ștefan Talpalaru
30d7c9bf41
add link
2019-05-19 23:19:20 +02:00
Ștefan Talpalaru
d1aaceb4d2
docs link
2019-05-19 23:16:53 +02:00
Ștefan Talpalaru
ae4d471d38
initial commit - from https://github.com/nim-lang/Nim/pull/9724
2019-05-19 23:11:17 +02:00