This repository was archived by the owner on Nov 10, 2026. It is now read-only.
Repository navigation
v0.2.0
[0.2.0] - 2026-05-31
Added
- Auto print capture: plugin automatically enables
-rPbehavior — capturedprint()output is shown for both passing and failing tests without any user configuration. - PID-aware pipe discovery:
wait_for_revit_pipecan now wait for a specific process ID, ensuringforce_launchconnects to the newly spawned instance only.
Changed
revit_launch→ force_launch semantics: renamed internal parameter fromprefer_freshtoforce_launch. When enabled, the plugin disconnects any existing bridge, spawns a new Revit instance, and waits for that exact PID's pipe — never reuses existing instances._opt_boolfix: corrected boolean option parsing sorevit_launch = trueinpyproject.tomlis properly respected when no CLI flag is explicitly passed.- Type annotations refactor: resolved false-positive IDE warnings across
bridge.py,connection.py,suite_leasing.py, anddialog_resolver.py. SetupRevit.py(Revit-side): I/O hijacking is now conditional onsys.__pytest_running__flag — prevents conflict with pytest capture during test execution.PytestRunner.py(Revit-side): setssys.__pytest_running__ = Trueduring execution; top-level error handling wraps entire_run()to always return structured JSON.
Removed
discover_tests()method frombridge.py(client-side dead code; server endpoint remains).DiscoverRequest/DiscoverResponseclasses frommodels.py(unused by client).BRIDGE_METHOD_TESTS_DISCOVERconstant (no longer referenced).resolve_existing()/get_suite_process_id()/_prune_stale()fromsuite_leasing.py(unused).launch_revit()fromdiscovery.py(replaced bystart_revit+ PID tracking).addopts = "-rP"frompyproject.toml(now automatic via plugin).
Fixed
revit_launch = truein INI ignored:_opt_boolnow correctly reads INI value when CLI flag is not explicitly set.