Home > @holochain/tryorama > Scenario
An abstraction of a test scenario to write tests against Holochain hApps, running on a local conductor.
Signature:
export declare class Scenario
Constructor |
Modifiers |
Description |
---|---|---|
Scenario constructor. |
Property |
Modifiers |
Type |
Description |
---|---|---|---|
URL | undefined | |||
string | |||
string | |||
boolean | |||
ChildProcessWithoutNullStreams | undefined | |||
URL | undefined |
Method |
Modifiers |
Description |
---|---|---|
Create and add a conductor to the scenario. | ||
Create and add multiple players to the scenario, with an app installed for each player. | ||
Create and add a single player with an app installed to the scenario. | ||
Shut down and delete all conductors in the scenario. | ||
Register all agents of all passed in conductors to each other. This skips peer discovery through gossip and thus accelerates test runs. | ||
Shut down all conductors in the scenario. |