diff --git a/docs/assets/social-preview.png b/docs/assets/social-preview.png new file mode 100644 index 0000000..672fb45 Binary files /dev/null and b/docs/assets/social-preview.png differ diff --git a/docs/assets/studio-comparison.png b/docs/assets/studio-comparison.png new file mode 100644 index 0000000..01ae8dd Binary files /dev/null and b/docs/assets/studio-comparison.png differ diff --git a/docs/assets/studio-dashboard.png b/docs/assets/studio-dashboard.png new file mode 100644 index 0000000..54bf6d5 Binary files /dev/null and b/docs/assets/studio-dashboard.png differ diff --git a/docs/index.html b/docs/index.html index c28437b..5428451 100644 --- a/docs/index.html +++ b/docs/index.html @@ -11,11 +11,16 @@ + + + + +
-
-
Open source · Apache 2.0 · Experimental alpha
-

Make IoT fixtures easier to review.

-

IoT FixtureKit helps integration developers turn Tuya diagnostics into local fixture candidates and add heuristic fixture and HTTP archive checks to existing test workflows. Core runs locally, without device credentials, a cloud account or telemetry.

- +
+
Open source · Apache 2.0 · Experimental alpha
+

Test IoT integrations without waiting for devices.

+

Build reviewed fixtures, audit selected sensitive fields, and replay synthetic failures and recovery in your existing Python tests. Local-first, without a cloud account or physical hardware.

+ +
Core Alpha 10 · PyPIScenario Preview P2 · Python 3.12
+
Actual FixtureKit Studio dashboard displaying four recorded synthetic test runs and their summary metrics.
Actual recorded Studio dashboard, first-party synthetic results. Explore the interactive report.

Choose your first workflow

@@ -47,7 +60,7 @@

Make IoT fixtures easier to review.

Start with one workflow. Core and the current starter ZIPs require no Home Assistant installation.

Install the published package

-

Python 3.9+. Use a virtual environment. Available on PyPI.

+

Python 3.9+. Use a virtual environment. PyPI package · Alpha 10 release.

python -m pip install iot-fixturekit==0.1.0a10

Five-minute quickstart and synthetic examples

Use in a test workflow

@@ -61,11 +74,21 @@

Make IoT fixtures easier to review.

Download Studio Offline P1 (ZIP) · SHA-256 checksum. Python 3.9+, no repository checkout or optional dependencies. Live execution still requires the trusted source checkout.

Download single-file Studio (Python ZipApp) · SHA-256 checksum. Run with Python 3.9+ without extracting. Verify the executable archive before running.

Download Studio Desktop P2 (Python ZipApp) · SHA-256 checksum. Verify the archive, then run with Python 3.9+ and the desktop command (Tk and a graphical session required). Offline CLI is available without Tk.

+
Recorded Studio dashboard with synthetic report cards and summary checks.
Recorded results from first-party CI.
Studio comparison report showing passing and authored failure examples side by side.
Actual comparison viewer, with an intentionally authored failure demonstration.

Studio remains experimental and separate from the published alpha wheel. Recorded and authored demonstrations are not independent endorsement.

-

Build synthetic device regression scenarios

+

Build synthetic device regression scenarios

P2 fixes loss of applied unsaved steps on close. Historical P1 (SHA-256) remains available for pinned consumers; save before closing P1.

Scenario Preview P2 combines a structured Tk editor, deterministic virtual time, offline replay and counts-only regression results. Choose climate or switch, define independent responses and expectations, and test without Home Assistant or physical devices.

-

Download Scenario Preview P2 (ZIP) · SHA-256 checksum · Setup and limitations

+

Follow one real bundled synthetic timeline

The P2 climate example runs a 31-second virtual timeline with a 30-second outage and recovery without sleeping. The following timeline describes the actual bundled manifest, not a live device.

+
  1. 0 ms · HTTP 20019°CAvailable
  2. 1,000 ms · HTTP 503UnavailableOutage begins
  3. 30,000 ms · HTTP 503UnavailableOutage continues
  4. 31,000 ms · HTTP 20023°CRecovered
+
Original expectation: 23°C
+status: pass
+observations: 4
+virtual_elapsed_ms: 31000
Change expectation to 24°C
+status: fail
+stage: comparison
+values_changed: 1

Condensed output from the P2 onboarding checks. Try the pass and deliberate failure.

+

Download Scenario Preview P2 (ZIP) · SHA-256 checksum · Setup and limitations

Python 3.12 and package access for hash-pinned Alpha 10 dependencies are required. Tk is optional. This is an experimental source bundle, not an installer or a new PyPI release. Independent review remains open.

Real integration examples

Cosa V2 uses FixtureKit to project synthetic thermostat API responses into regression fixtures. @@ -84,8 +107,8 @@

Make IoT fixtures easier to review.

Try the shared response helper used in first-party Cosa and Tapo tests, with four local checks for failure recovery, strict request matching, projection and exact helper integrity. Python 3.12 and the hash-pinned Alpha 9 wheel are sufficient; no Home Assistant or real HTTP transport.

Download the response replay starter (ZIP) · SHA-256 checksum

Experimental test example, not a public Core API or independent adoption.

-

Help shape a useful tool

+

Help shape a useful tool

If you already maintain IoT test fixtures, try a synthetic example and share what worked or failed: setup time, steps saved, false positives, or missing checks.

-

Pilot feedback · Contributing

Tuya contributor starter · SHA-256 checksum. Synthetic only, Python 3.12; keep existing upstream checks and manual review.

+

Share pilot feedback · Contributing

Tuya contributor starter · SHA-256 checksum. Synthetic only, Python 3.12; keep existing upstream checks and manual review.

Security boundaries

A clean audit is not a privacy guarantee. Keep existing redactors and manual review. Do not upload real diagnostics or identifiers. Independent security review is pending.

Report a vulnerability privately

diff --git a/examples/studio/test_public_demo.py b/examples/studio/test_public_demo.py index 314f50f..3265ec4 100644 --- a/examples/studio/test_public_demo.py +++ b/examples/studio/test_public_demo.py @@ -63,10 +63,15 @@ def test_landing_command_regions_are_explicitly_focusable(self): page = path.read_text(encoding="utf-8") parser = Links() parser.feed(page) - self.assertEqual(len(parser.code_regions), 2) + expected_labels = ({"Package installation command", "Fixture audit command", + "Passing example output", "Intentional mismatch output"} + if path.parent == ROOT.parent else None) labels = [r.get("aria-label") for r in parser.code_regions] + self.assertEqual(len(labels), 4 if expected_labels is not None else 2) self.assertTrue(all(labels)) - self.assertEqual(len(set(labels)), 2) + self.assertEqual(len(set(labels)), len(labels)) + if expected_labels is not None: + self.assertEqual(set(labels), expected_labels) self.assertTrue(all(r.get("tabindex") == "0" and r.get("role") == "region" for r in parser.code_regions))