Test Scenarios¶
Structured scenarios for alpha testing.
How to Use This Guide¶
Each scenario describes:
- Goal: what you're testing
- Setup: what you need
- Steps: what to do
- Expected: what should happen
- Report: what to note if something goes wrong
Every step is typed into the Urchin terminal. Commands that start with / belong to the client. Everything else is a node command, and it works the same over SSH (ssh <user>@<host> -p 8122), where you leave off any / prefix.
Work through scenarios that match your setup. Report any deviations from expected behavior. When something goes wrong, type /bug <what happened> straight away, before you do anything else.
Scenario 1: Basic Installation¶
Goal: Verify installer works on your platform.
Setup: Fresh machine or clean install environment.
Steps:
- Download the Urchin executable for your platform and
urchin.pckinto one folder (macOS: the zipped app bundle). - Launch Urchin. On Linux, run
chmod +x urchin.x86_64first. - Let the setup wizard finish without closing the window.
- In the Urchin terminal:
Expected:
- The wizard downloads and installs its components without error
- Urchin opens its interface with the node running
@node_processeslists the daemons, andtransportlists the active transports
Report if:
- Download fails or stalls
- The wizard stops with an error
- A daemon you expect is not running
- Any error messages
Scenario 2: Identity Creation¶
Goal: Verify identity system works.
Setup: Urchin installed (Scenario 1).
Steps:
- On the welcome screen, enter a username and choose Create Identity.
- Set a password and a theme.
- When you land in the terminal:
Expected:
- Registration completes without error
whoamishows your name with its discriminator (the part after#)@whoamishows your peer-to-peer identity- On a new node this first account is the node's owner
Report if:
- Registration fails with error
- The discriminator is missing or malformed
- Any error messages
Scenario 3: Room Creation and Navigation¶
Goal: Verify world management.
Setup: Identity created and logged in.
Steps:
Each reply names the exit into the new room and the exit back to the zone. Rooms must be created in a zone, so a create ~room typed inside a room is refused with a hint. Then:
Use the exit name the reply gave you to walk back to the zone, then:
Expected:
- Rooms create successfully
lookshows the correct location and its exits- Navigation works in both directions
list roomsshows both rooms
Report if:
- Creation fails
lookshows wrong location- Navigation fails
- Exits don't appear
Sharing one of these rooms with another machine, and its door, is Scenario 7a.
Scenario 4: Persistence¶
Goal: Verify state survives restart.
Setup: Rooms created (Scenario 3).
Steps:
Closing the last Urchin window stops a node that Urchin started. Relaunch Urchin, log in, and run:
Expected:
- All rooms still exist
- Exits still work
- Capsules still exist
Report if:
- Rooms are missing
- Data is corrupted
- Different state than before shutdown
Scenario 5: Local Network Connection (mDNS)¶
Goal: Verify LAN discovery and connection.
Setup: Two machines on the same network, both running the same Urchin release, each with its own account.
Steps:
On both machines, note your name with whoami, then:
The other machine should appear, marked ✓ once its signed hello is verified. If it does not, wait 30 seconds and retry.
On Machine A:
Copy the invite line it prints under Share with your contacts:. It starts with join. On Machine B, paste that whole line.
A short code would not work here: a person's short code works only on the node that made it.
On both machines, with the other machine's name:
Expected:
@discovershows the other machine under the name its hello provedjoinsucceedspingshowsmDNS: connected@peerstags the other machine[mDNS]
Report if:
- Local discovery fails
- Connection fails
- The peer appears under a name other than the one
whoamishows on that machine
Scenario 6: Internet Connection (Veilid or Tor)¶
Goal: Verify cross-internet connection.
Setup: Two machines on different networks.
Steps:
On both machines:
On Machine A:
Copy the invite line it prints under Share with your contacts:. On Machine B (different network), paste that whole line.
On both machines, with the other machine's name:
Expected:
- Veilid and Tor show as running on both machines
- Connection succeeds (the first connection can take a minute or more)
pingshowsVeilid: connected (handshake complete)or a Tor line ofconnected
Report if:
- Veilid or Tor is not running
- Connection timeout
- Excessive delay on messages (more than a few seconds)
Scenario 7: Messaging¶
Goal: Verify CapTP messaging works.
Setup: Two connected machines (Scenario 5 or 6), both in plaza.
Steps:
On Machine A:
On Machine B, the message should appear with A's name. Then:
On Machine A, the message should appear with B's name.
Expected:
- Messages appear on the other machine within a few seconds
- Sender identity is correct
- No message loss
Report if:
- Messages don't arrive
- Messages arrive but corrupted
- Wrong sender identity
- Significant delay (>5s)
Scenario 7a: A Room's Door¶
Goal: Verify that a shared room knocks, and that its owner admits, removes and readmits people.
Setup: Two connected machines (Scenario 5 or 6). Machine A has the garden room from Scenario 3. Note B's name
with whoami on Machine B.
Steps:
On Machine A:
Copy the invite line it prints under Share with your contacts:. On Machine B, paste that whole line.
B is told the host did not let them in, and that a request is waiting for its keepers. The reply is the same
whatever the reason, so it does not say it is a knock. On Machine A, walk into garden, then:
On Machine B, paste the same invite line again. B is let in. Then, on Machine A, still in garden:
On Machine B, paste the invite line once more. It is refused, saying B was removed from garden. On Machine A:
On Machine B, the invite line lets B straight in, with no knock.
Expected:
- B's first join waits as a knock, and
knockson A lists it - After
accept, B's join succeeds - After
kick, B leaves the room's presence at once, and a later join is refused whatever B tries knockson A lists B underRemoveduntil the share lets B back in- After the per-person share, B joins without knocking
Report if:
- B is let in before A accepts
- A kicked B but B can still join or still receives the room's messages
- The per-person share does not let B back in
- A reply says something succeeded and the other machine shows it did not
Scenario 7b: Two Accounts on One Node¶
Goal: Verify that two accounts on the same node can talk in a presence.
Setup: One node with two accounts, the second created through the Sponsor step. Sign both in at once, one in the Urchin client and one over SSH, or in two clients. Call them A and B, and note A's username.
Steps:
As A:
As B:
The join replies ✓ Joined <A's name>'s porch (via Local). As A:
Expected:
- B's line appears for A with B's name, and A's line appears for B with A's name
Report if:
- The join says it succeeded but A never sees B's line
- B sees nothing A says
- A line shows the wrong sender
Scenario 7c: A Hall Stays Up¶
Goal: Verify that a Hall stays reachable with its founder signed out, and that its door still works.
Setup: Two connected machines (Scenario 5 or 6). On Machine A, found a Hall with the knock threshold, walk in,
and make an invite to it with invite. Note B's name with whoami.
Steps:
On Machine A, sign out of the account that founded the Hall, and leave the node running. On Machine B, join with the invite. B is told the host did not let them in, and that a request is waiting for its keepers.
On Machine A, sign back in, walk into the Hall, then:
On Machine B, join again. B is let in. On Machine A, sign out again. On Machine B:
Expected:
- The invite names Machine A's node, not the founder
- B's first join reaches the Hall with nobody signed in on Machine A, and waits as a knock
knockson A lists B after A signs back in- With A signed out, B stays in the Hall, and B's line is taken (no
Error: ... was not delivered)
Report if:
- B cannot reach the Hall while A is signed out
- B is let in without a Steward's
accept - Signing in or out on A moves B or drops B from the Hall
Scenario 8: Network Interruption¶
Goal: Verify system handles transport changes.
Setup: Two machines connected (Scenario 6).
Steps:
On Machine A:
Disconnect Machine A from the network (turn off Wi-Fi or unplug the cable) for 60 seconds, then reconnect it. Wait two minutes, then:
Expected:
- Urchin and the node keep running while the network is down
@healthshows the session and reconnect state- The connection comes back without a new
join
Report if:
- Application crashes
- Permanent disconnection
- You have to
joinagain to reconnect
Scenario 9: Error Handling¶
Goal: Verify graceful error handling.
Setup: Logged in.
Steps:
Then type /exit, relaunch Urchin, and log in with a wrong password.
Expected:
- Clear error messages
- No crashes
- Ability to retry, and a correct password works after the wrong one
Report if:
- Crashes or hangs
- Unclear error messages
- Unrecoverable state
Scenario 10: Stress Test (Optional)¶
Goal: Find edge cases under load.
Setup: Two connected machines (Scenario 7).
Steps:
- On both machines, send
chatmessages as fast as you can type them for a few minutes. - On one machine, create twenty rooms in a zone with
create ~room room1,create ~room room2and so on. - Leave both machines connected for an extended period (1+ hours), and watch the Urchin and node processes in your system's task manager.
Expected:
- System remains responsive
- No steady memory growth
- All messages delivered
Report if:
- System becomes sluggish
- Messages lost
- Memory usage grows unbounded
Reporting Results¶
See Reporting Issues for how to report test results.