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
6799f9e1cc
Fix BareExcept warnings
2023-12-14 08:32:12 -03: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