unittest

No description

dev Set ID: 112 19 actions

Functions (1)

Actions (18)

dir-enable-testing Action

Enable testing mode. All /test and /expect commands require this to be active

dir-end-test Action

Explicitly end the current test case

dir-expect Action

Performs inline assertions for testing Rhyme code. Use /expect for clean test syntax

dir-expect-console Action

Console output assertions for testing Rhyme code. Use /expect-console to verify logged messages

dir-expect-dom Action

DOM-specific assertions for testing Rhyme code. Use /expect-dom for clean test syntax

dir-expect-idb Action

Verifies IndexedDB persistence for testing. Directly queries IndexedDB via idbkv to confirm values were persisted correctly.

dir-expect-localstorage Action

Verifies localStorage persistence for testing. Directly queries localStorage to confirm values were persisted correctly.

dir-expect-vm Action

VM state assertions for testing Rhyme code. Use /expect-vm for clean test syntax

dir-fail-fast Action

Enable fail-fast mode - skip remaining tests after first failure

dir-run Action

Run a block during testing. Executes the specified block once

dir-sim-click Action

Simulates a click event on a DOM element for testing interactions

dir-sim-input Action

Simulates entering text into an input field for testing form interactions

dir-sim-keypress Action

Simulates a keyboard event for testing keyboard interactions

dir-test Action

Start a new test case. Use /test for clean syntax

dir-test-skip Action

Start a skipped test case. Any /expect commands will be ignored until the next /test

dir-var Action

dumps a variable's internal representation to console for debugging

dump Action

Dump debugging information to console

expect Action

Performs assertions for testing variable values, comparisons, and conditions