You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the debug app, it would be nice to be able to be able to define scenarios and have certain actions executed step by step. For example, there could be a scenario to login (creates a user). Then another scenario to join a game. These scenarios can be chained to bootstrap the debug app with many users in a game with certain configurations. This could also be useful for writing tests.
The text was updated successfully, but these errors were encountered:
A new command I added is hathora save <stateId> <saveName>. This command creates a save file from the stateId by copying over the replay log into the data/saves directory. The idea is that you can then load this file up using hathora load <saveName> and it will open up a browser tab per user from the save file so that you can resume testing where you left off. I also want to add a command hathora generateTest <saveName> which generates a test file which includes all the client method calls and asserts on the state values at the end.
For the debug app, it would be nice to be able to be able to define scenarios and have certain actions executed step by step. For example, there could be a scenario to login (creates a user). Then another scenario to join a game. These scenarios can be chained to bootstrap the debug app with many users in a game with certain configurations. This could also be useful for writing tests.
The text was updated successfully, but these errors were encountered: