Nim/tests/async
Jake Leahy d88f46df38
Make async stacktraces less verbose (#21091)
* Name iterators something human readable

Remove intermediate async procs from stacktraces

Clean async traceback message from reraises message

* Remove unused import/variable

* Fix failing tests

Don't add {.stackTrace: off.} to anonymous procs (They already don't appear in stacktrace)

* Fix failing tests in pragma category

Now check that the nim is a routine type first so we don't run into any assertion defects

* Hide stack trace pragma in docs and update doc tests

User doesn't need to know if something won't appear so this more becomes verbose noise

If this is a bad idea we can always add a `when defined(nimdoc)` switch so we don't add {.stackTrace: off.} to the Future[T] returning proc for docs
2022-12-15 16:05:34 +01:00
..
hello.txt
nim.cfg fixes #18858 [backport] (#18868) 2021-09-19 23:35:50 +02:00
t3075.nim
t6846.nim
t7192.nim
t7758.nim fix #14685 tests/async/t7758.nim flaky (#14721) 2020-06-19 09:53:45 +02:00
t8982.nim
t9201.nim
t11558.nim Implicit return working for async proc (#20933) 2022-12-09 18:10:33 +01:00
t12221.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
t13889.nim
t14820.nim Fix asyncdispatch drain behavior (#14820) (#14838) 2020-06-30 15:23:53 +02:00
t15148.nim fix #15148 (#15149) 2020-08-08 07:24:54 +02:00
t15804.nim fixes #15804 (#15820) 2020-11-02 14:17:09 +01:00
t20111.nim multisync now allows tuples in return type (#21074) 2022-12-11 14:44:41 +01:00
tacceptcloserace.nim
tasync_forward.nim
tasync_gcsafe.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
tasync_gcunsafe.nim Make async stacktraces less verbose (#21091) 2022-12-15 16:05:34 +01:00
tasync_in_seq_constr.nim
tasync_misc.nim Add test-cases to some fixed issues to close them (#14795) 2020-06-24 20:38:08 -07:00
tasync_noasync.nim Better error message and tests for bad await (#19622) 2022-04-13 23:03:46 +02:00
tasync_nofuture.nim Make await a template (#12085) 2020-04-25 20:27:03 +02:00
tasync_traceback.nim Make async stacktraces less verbose (#21091) 2022-12-15 16:05:34 +01:00
tasyncall.nim
tasyncawait.nim make proc names consistent (#18626) 2021-08-01 12:52:24 +01:00
tasyncclosestall.nim
tasyncconnect.nim
tasyncdial.nim move travis, appveyor, ci.yml.disabled to unmaintained/ (#17828) 2021-04-24 07:54:31 +02:00
tasyncdiscard.nim
tasynceagain.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
tasyncexceptions.nim
tasyncfile.nim
tasyncfilewrite.nim make megatest consistent with unjoined tests wrt newlines, honor newlines in output spec (#16151) 2020-11-28 09:09:31 +01:00
tasyncintemplate.nim simplify asyncfutures, asyncmacro (#17633) 2021-04-14 21:22:22 +02:00
tasyncnetudp.nim make proc names consistent (#18626) 2021-08-01 12:52:24 +01:00
tasyncrecursion.nim
tasyncRecvLine.nim
tasyncsend4757.nim fix #14320 (tasyncawait.nim is recently very flaky) + avoid hardcoding service ports everywhere + flakyAssert (#14327) 2020-05-13 11:05:47 +02:00
tasyncssl.nim make proc names consistent (#18626) 2021-08-01 12:52:24 +01:00
tasynctry.nim fixes #14279 (#14618) 2020-06-09 20:39:26 +02:00
tawaitsemantics.nim
tbreak_must_exec_finally.nim closureiters: fixes #15243 (#15454) [backport:1.2] 2020-10-02 12:38:16 +02:00
tcallbacks.nim
tdiscardableproc.nim testament spec: remove errmsg alias of errormsg (#16188) 2020-11-29 17:32:34 -08:00
testmanyasyncevents.nim scoped memory management (#14790) 2020-07-04 07:37:24 +02:00
tfuturestream.nim
tfuturevar.nim fix #9695 asyncmacro: tfuturevar fails when activated [backport: 1.0] (#16090) 2020-11-22 17:16:42 +01:00
tgeneric_async.nim
tgenericasync.nim
tioselectors.nim deprecate unsafeAddr; extend addr (#19373) 2022-01-16 11:08:38 +01:00
tioselectors.nim.cfg
tjsandnativeasync.nim
tlambda.nim
tmultisync.nim
tnestedpfuturetypeparam.nim
tnewasyncudp.nim fixes ptr to cstring warnings[backport] (#20848) 2022-11-16 10:22:51 +01:00
tnimcall_to_closure.nim
tpendingcheck.nim
tpolltimeouts.nim
treturn_await.nim
ttemplateinasync.nim
tupcoming_async.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
twinasyncrw.nim make proc names consistent (#18626) 2021-08-01 12:52:24 +01:00