Stendhal Quest Testing: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>MartinFuchs
imported>MartinFuchs
Line 80: Line 80:
</source>
</source>


===TODO_Test===
===TODO_Test and TODO_Test()===
This is the class name of your test file. Which should be the class name of the quest file you are testing, plus 'Test'.
This is the class name of your test file. Which should be the class name of the quest file you are testing, plus 'Test'.
Ours is RainbowBeansTest.
Ours is RainbowBeansTest.

=== TODO_NPC()===
=== TODO_NPC()===
Locate the maps file for the NPC in your quest (hint: search the src/games/stendhal/server/maps folder for their name) then use the class name of their maps file
Locate the maps file for the NPC in your quest (hint: search the src/games/stendhal/server/maps folder for their name) then use the class name of their maps file