Skip to content

feat(resources): introduce new resources package with extra unit-testing helpers - #146

Merged
glenstaes merged 5 commits into
masterfrom
feature/ng-resource
Aug 11, 2026
Merged

feat(resources): introduce new resources package with extra unit-testing helpers#146
glenstaes merged 5 commits into
masterfrom
feature/ng-resource

Conversation

@glenstaes

Copy link
Copy Markdown
Member

No description provided.

- Introduced `PpwResourceExecution` to manage resource execution state, including lifecycle hooks, reload functionality, value tracking, and error conversions.
- Exposed new public API for resource execution and error handling utilities.
- Added tests for `PpwResourceExecution` covering lifecycle order, error handling, and execution tracking.
- Included `@ppwcode/ng-utils` dependency for validation utilities.
…n @ppwcode/ng-unit-testing

- Introduced `PpwResourceMock` to simulate `PpwResource` lifecycle with execution states, reload handling, and resource tracking.
- Added `FacadeMockFactory` for generating mock facades with configurable method behaviors, signal properties, and dependency injection support.
- Added comprehensive test cases for both `PpwResourceMock` and `FacadeMockFactory`.
- Included `@ppwcode/ng-resource` as an optional dependency.
@glenstaes
glenstaes force-pushed the feature/ng-resource branch from 5f4c3e5 to fcea3c7 Compare August 11, 2026 14:27
@glenstaes
glenstaes merged commit 41282f1 into master Aug 11, 2026
1 check passed
@glenstaes
glenstaes deleted the feature/ng-resource branch August 11, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants