Stop brings the player back to the scene they were in instead of the main menu, and a scene switch inside the played scenario ends the play-test in place. New GUI test suite ingame_play covers both.
11 lines
455 B
JSON
11 lines
455 B
JSON
{
|
|
"name": "In-game Play-test Test",
|
|
"description": "Integration test of the scenario editor opened inside a running game (the novel template with the editors added): plays a scenario from the editor and checks the play-test stays in the game until Stop, then Stop returns to the game with the editor visible — never to the main menu. Activated by --itest=ingame_play.",
|
|
"sources": [
|
|
"src/*.cs"
|
|
],
|
|
"depends": [
|
|
"my_novel_game>=1"
|
|
]
|
|
}
|