tractor/tests
Tyler Goodlet 9ff448faa3 Add `open_crash_handler()` / `repl_fixture` suite
Nicely nailing 2 birds by leveraging the new `repl_fixture` support to
actually avoid use of a `pexpect`-style test B)

Functionality audit summary,
- ensures `open_crash_handler() as bxerr:` adheres to,
  - `raise_on_exit` semantics including only raising from a list of exc-types,
  - `repl_fixture` setup/teardown invocation and that `yield False` blocks REPL
    interaction,
  - delivering a `BoxedMaybeException` with the correct state set post
    crash.
  - all the above outside the actor-runtime existing.

Also luckily enough, this seems to have found a bug for which a fix is
coming right up!
2025-07-14 17:55:18 -04:00
..
devx Add `open_crash_handler()` / `repl_fixture` suite 2025-07-14 17:55:18 -04:00
ipc Add an `enable_transports` test-suite 2025-07-13 15:26:37 -04:00
__init__.py Add `tests/__init__.py` for `.conftest` imports 2025-03-20 20:53:54 -04:00
conftest.py Type annot the `testdir` fixture 2025-07-14 00:00:13 -04:00
test_2way.py Move context-streaming operational tests into one mod 2021-12-06 16:45:44 -05:00
test_advanced_faults.py Handle unconsidered fault-edge cases for UDS 2025-07-13 15:26:37 -04:00
test_advanced_streaming.py Various test tweaks related to 3.13 egs 2025-03-27 13:38:47 -04:00
test_cancellation.py Various test tweaks related to 3.13 egs 2025-03-27 13:38:47 -04:00
test_child_manages_service_nursery.py Various test tweaks related to 3.13 egs 2025-03-27 13:38:47 -04:00
test_clustering.py Add (back) a `tractor._testing` sub-pkg 2025-03-16 15:28:28 -04:00
test_context_stream_semantics.py Complete rename to parent->child IPC ctx peers 2025-03-27 15:58:02 -04:00
test_discovery.py Start protoyping multi-transport testing 2025-07-13 15:26:37 -04:00
test_docs_examples.py Trying to make full suite pass with uds 2025-07-08 12:57:28 -04:00
test_ext_types_msgspec.py Rename ext-types with `msgspec` suite module 2025-03-27 15:58:03 -04:00
test_infected_asyncio.py Mk `.devx._debug` a sub-pkg `.devx.debug` 2025-07-14 00:00:12 -04:00
test_inter_peer_cancellation.py Finally switch to using address protocol in all runtime 2025-07-08 12:57:28 -04:00
test_legacy_one_way_streaming.py Reapply "Port all tests to new `reg_addr` fixture name" 2025-03-20 19:50:31 -04:00
test_local.py Finally switch to using address protocol in all runtime 2025-07-08 12:57:28 -04:00
test_multi_program.py Finally switch to using address protocol in all runtime 2025-07-08 12:57:28 -04:00
test_pldrx_limiting.py Update `MsgTypeError` content matching to latest 2025-03-24 14:04:52 -04:00
test_pubsub.py Reapply "Port all tests to new `reg_addr` fixture name" 2025-03-20 19:50:31 -04:00
test_resource_cache.py Improve bit of tooling for `test_resource_cache.py` 2025-07-13 15:26:37 -04:00
test_ringbuf.py Move concrete `Address`es to each tpt module 2025-07-08 18:05:05 -04:00
test_root_infect_asyncio.py Be extra sure to re-raise EoCs from translator 2025-03-27 13:24:25 -04:00
test_root_runtime.py Add a `debug_mode`-state reversion test 2025-07-14 00:00:12 -04:00
test_rpc.py Adjust all `RemoteActorError.type` using tests 2025-03-20 20:35:02 -04:00
test_runtime.py Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
test_shm.py Move tractor._shm to tractor.ipc._shm 2025-07-08 12:57:28 -04:00
test_spawning.py Move peer-tracking attrs from `Actor` -> `IPCServer` 2025-07-08 18:05:05 -04:00
test_task_broadcasting.py Use `collapse_eg()` in broadcaster suite 2025-03-27 13:38:47 -04:00
test_trioisms.py Fix assert on `.devx.maybe_open_crash_handler()` delivered `bxerr` 2025-07-13 15:26:37 -04:00