Skip to main content

Installation testing infrastructure for ComfyUI custom nodes

Project description

comfy-test

Installation testing infrastructure for ComfyUI custom nodes.

Test your nodes install and work correctly across Linux, Windows, and Windows Portable - with just config files, no pytest code needed.

Quick Start

Add these files to your custom node repository:

1. comfy-test.toml

[test]
name = "ComfyUI-MyNode"

[test.verification]
expected_nodes = ["MyNode1", "MyNode2"]

[test.workflow]
file = "tests/workflows/smoke_test.json"
timeout = 120

2. .github/workflows/test-install.yml

name: Test Installation
on: [push, pull_request]

jobs:
  test:
    uses: PozzettiAndrea/comfy-test/.github/workflows/test-matrix.yml@main

3. tests/workflows/smoke_test.json

A minimal ComfyUI workflow that uses your nodes. Export from ComfyUI.

Done! Push to GitHub and your tests will run automatically on all platforms.

What It Tests

  1. Setup - Clones ComfyUI, creates environment, installs dependencies
  2. Install - Copies your node, runs install.py, installs requirements.txt
  3. Verify - Starts ComfyUI, checks your nodes appear in /object_info
  4. Execute - Runs your test workflow, verifies it completes without errors

Configuration Reference

[test]
name = "ComfyUI-MyNode"           # Test suite name
comfyui_version = "latest"        # ComfyUI version (tag, commit, or "latest")
python_version = "3.10"           # Python version
cpu_only = true                   # Use --cpu flag (no GPU needed)
timeout = 300                     # Setup timeout in seconds

[test.platforms]
linux = true                      # Test on Linux
windows = true                    # Test on Windows
windows_portable = true           # Test on Windows Portable

[test.verification]
expected_nodes = [                # Nodes that must exist after install
    "MyNode1",
    "MyNode2",
]

[test.workflow]
file = "tests/workflows/smoke.json"  # Workflow to run
timeout = 120                        # Workflow timeout

[test.windows_portable]
comfyui_portable_version = "latest"  # Portable version to download

CLI

# Install
pip install comfy-test

# Show config
comfy-test info

# Run tests locally
comfy-test run --platform linux

# Dry run (show what would happen)
comfy-test run --dry-run

# Generate GitHub workflow
comfy-test init-ci

License

MIT

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

comfy_test-0.0.2.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comfy_test-0.0.2-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file comfy_test-0.0.2.tar.gz.

File metadata

  • Download URL: comfy_test-0.0.2.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for comfy_test-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ce7ef14ff4ae6d95fbea1deabcb3ea9875ad92ff79d8f6df566f9ea9c6bc111f
MD5 2cd48a8fe7fac183f684055f57beadc9
BLAKE2b-256 7108069b8406f33245a54b4b38d0f774b68c0213b98543b92a80d6a7313ca135

See more details on using hashes here.

Provenance

The following attestation bundles were made for comfy_test-0.0.2.tar.gz:

Publisher: publish.yml on PozzettiAndrea/comfy-test

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file comfy_test-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: comfy_test-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for comfy_test-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e02777b4b063c21dfd2af6876201d1708ad5fa12c14b53ec430cced1c2beced5
MD5 28160b819eca43d6a32808a1fde7f7b7
BLAKE2b-256 0d94b467dd5c996d02f265f49897b2e8732ac60728d9ea197981da7af8db0aed

See more details on using hashes here.

Provenance

The following attestation bundles were made for comfy_test-0.0.2-py3-none-any.whl:

Publisher: publish.yml on PozzettiAndrea/comfy-test

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page