Skip to content

Commit f98335d

Browse files
committed
Release 0.0.2 prep
1 parent f4c4df6 commit f98335d

4 files changed

Lines changed: 61 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## [0.0.2] - 2026-04-10
6+
7+
### Fixed
8+
9+
- Fixed pytest plugin auto-loading via the `pytest11` entry point.
10+
- Fixed the `pytest_unconfigure` hook signature in `revitdevtool_pytest.plugin` so Pluggy accepts the plugin during pytest startup.
11+
- Restored the expected standalone package behavior so `RevitDevTool.PyTest` can be discovered and activated by a normal Python/pytest environment before connecting to Revit.
12+
13+
### Changed
14+
15+
- Aligned the published package metadata name with the recommended normalized package name `revitdevtool_pytest`.
16+
17+
### Notes
18+
19+
- This release is intended as a bugfix release for the `0.0.1` package.
20+
- No user-facing CLI options are changed in this release.
21+
- This name alignment is intended to remain compatible with existing PyPI installs because Python package indexes and installers normalize `.`, `-`, and `_` in distribution names.
22+
23+
## [0.0.1] - 2026-04-09
24+
25+
### Added
26+
27+
- Initial standalone `pytest` plugin package for running Revit API tests through the RevitDevTool Named Pipe bridge.
28+
- Automatic discovery of running Revit instances through named pipes.
29+
- Optional Revit auto-launch flow via `--revit-launch` and `--revit-version`.
30+
- Remote test execution by intercepting `pytest_pyfunc_call` and forwarding serialized test code to Revit.
31+
- Support for explicit pipe targeting with `--revit-pipe`.
32+
- Per-test timeout and launch timeout configuration.
33+
- Revit startup dialog resolver integration.
34+
- Example test suite and VS Code integration guidance in the project documentation.
35+
36+
### Notes
37+
38+
- `0.0.1` introduced the core test bridge workflow, but the published package contains a plugin loading issue fixed in `0.0.2`.

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,29 @@ Tests run inside a live Revit process — write standard pytest, execute remotel
1010
## Installation
1111

1212
```bash
13+
pip install revitdevtool_pytest
14+
```
15+
16+
Recommended package name for manifests and package managers such as Pixi:
17+
18+
```bash
19+
revitdevtool_pytest
20+
```
21+
22+
`pip` normalizes package names, so the following forms are equivalent when installing from PyPI:
23+
24+
```bash
25+
pip install revitdevtool_pytest
26+
pip install revitdevtool-pytest
1327
pip install RevitDevTool.PyTest
1428
```
1529

30+
The Python import/module name used by the package is:
31+
32+
```python
33+
import revitdevtool_pytest
34+
```
35+
1636
## Dependencies
1737

1838
| Package | Version |

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "RevitDevTool.PyTest"
7-
version = "0.0.1"
6+
name = "revitdevtool_pytest"
7+
version = "0.0.2"
88
description = "pytest plugin for testing Revit API code via RevitDevTool Named Pipe bridge"
99
readme = "README.md"
1010
license = "MIT"

src/revitdevtool_pytest/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def pytest_pyfunc_call(pyfuncitem: pytest.Function) -> object:
126126
pytest.fail(msg, pytrace=False)
127127

128128

129-
def pytest_unconfigure(_config: pytest.Config) -> None:
129+
def pytest_unconfigure(config: pytest.Config) -> None:
130130
global _bridge, _dialog_resolver
131131
if _dialog_resolver is not None:
132132
_dialog_resolver.stop()

0 commit comments

Comments
 (0)