gmega
12c356672d
add exception handling for Chronos V4
2024-01-15 19:28:09 -03:00
Mark Spanbroek
d22828cb8b
Fix: ensure that `eventually` works when std/times is imported
2024-01-10 13:13:18 +01:00
Mark Spanbroek
90c1b35b67
Explicitly import either asyncdispatch or chronos version
...
Reorganizes the code into separate versions for asyncdispatch and
chronos so that we no longer have to rely on hard-to-maintain code
that implicitly works with both asyncdispatch and chronos.
This is a backwards incompatible change.
2024-01-09 11:40:31 +01:00
Mark Spanbroek
c9423b198f
Tests for chronos v4
2023-12-21 09:55:34 +01:00
Mark Spanbroek
1a0cd2c496
Tests for chronos v3
2023-12-21 09:55:34 +01:00
Mark Spanbroek
bb07f702fb
Fix for unittest2 > 0.0.9
...
Define our templates inside a new scope, to make sure
that they don't clash with the unittest2 templates.
2023-12-21 09:55:19 +01:00
Mark Spanbroek
6799f9e1cc
Fix BareExcept warnings
2023-12-14 08:32:12 -03:00
gmega
50dfe3aab1
add exception handling shim for Chronos V4
2023-12-14 08:32:12 -03:00
Mark Spanbroek
476191f7dd
Fix local dependencies in tests
2023-08-28 17:35:03 +02:00
Mark Spanbroek
8184a4bd8e
Disable 'XCannotRaiseY' warnings caused by chronos
2023-08-28 17:35:03 +02:00
Mark Spanbroek
b551eb3705
Fix tests on Nim 1.6.12
...
Ignore the nimble.lock at the root level when running tests
2023-06-22 10:12:43 +02:00
Mark Spanbroek
c8d324cfa6
Add `eventually` to wait for a condition to become true
2023-06-22 10:12:43 +02:00
Mark Spanbroek
3818ada4f5
Support Nim 1.2.x
2022-07-21 10:52:57 +02:00
Mark Spanbroek
3aaa852b43
Fix crash when unhandled exception is cleared by teardown
2022-07-21 10:52:57 +02:00
Eric Mastro
c4b23d73a9
feat: add support for suite before and after
...
`before` executes async code before all tests in the suite.
`after` executes async code after all tests in the suite.
2022-03-01 07:22:46 +01:00
Mark Spanbroek
2e00a43236
Add support for unittest2
2021-07-07 10:33:52 +02:00