Stendhal Quest Testing: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>MartinFuchs
second NPC name occurence
imported>MartinFuchs
Line 337: Line 337:
Now the variables ''en'' and ''npc'' are associated with the new NPC.
Now the variables ''en'' and ''npc'' are associated with the new NPC.


==Advanced testing: more than dialog==
==Advanced testing: more than one dialog==


By now I'm going to assume that you are comfortable with basic tests, that you can test dialog, andthat you can modify the player by equipping him with items or setting his quest slot, if you need to.
By now I'm going to assume that you are comfortable with basic tests, that you can test dialog, andthat you can modify the player by equipping him with items or setting his quest slot, if you need to.
Line 370: Line 370:
</source>
</source>
and you can do other checks on the value of the quest slot, throughout.
and you can do other checks on the value of the quest slot, throughout.



==Advanced Testing: breaking up into several small tests==
==Advanced Testing: breaking up into several small tests==