mirror of
https://github.com/Comfy-Org/ComfyUI-test-framework.git
synced 2026-11-04 23:37:25 +00:00
[PR #2] [MERGED] Refactor nodes into modular package and add new test assertions #3
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-test-framework#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/ComfyUI-test-framework/pull/2
Author: @WASasquatch
Created: 3/5/2026
Status: ✅ Merged
Merged: 3/21/2026
Merged by: @WASasquatch
Base:
main← Head:was-refactor-and-test-assertions📝 Commits (6)
01b7ae6Refactor nodes into modular package and add new test assertions7bbad7dAdd AssertStringNotContains and AssertStringLength nodese0b2bf7RemoveAssertImageSimilarityandAssertStringHashd0b2e7dRemove TestStringGenerator node45d5174Add SKILL_DOC attributes and skill docs generator script9b7efceAdd CI workflow to validate skill docs generation📊 Changes
13 files changed (+3010 additions, -857 deletions)
View changed files
➕
.github/workflows/ci.yml(+28 -0)📝
README.md(+9 -1)📝
__init__.py(+51 -25)➖
nodes.py(+0 -831)➕
nodes/__init__.py(+0 -0)➕
nodes/assertions_general.py(+523 -0)➕
nodes/assertions_image.py(+385 -0)➕
nodes/assertions_mask.py(+362 -0)➕
nodes/assertions_string.py(+568 -0)➕
nodes/generators.py(+617 -0)➕
nodes/test_definition.py(+75 -0)➕
scripts/generate_skill_docs.py(+209 -0)➕
tests/MaskCheckerboardTest.json(+183 -0)📄 Description
Summary
nodes.pyinto anodes/package with separate modules:assertions_general,assertions_image,assertions_mask,assertions_string,generators,test_definition__init__.pyto auto-discover node classes viapkgutilinstead of manual importsMaskCheckerboardTest.jsontest workflowAll new and existing nodes have been tested and confirmed working.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.