Stendhal Quest Testing: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Balaur
m Added a tip with a link to the administration reference page. Adjusted formatting.
imported>Tigertoes
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 39: Line 39:
and it will be plain with no coloured highlighting.
and it will be plain with no coloured highlighting.


Cope and paste all that text into a new file which you should save in <code>tests/games/stendhal/server/maps/quests/</code>. Call it the same name as the class file for your Quest, with 'Test' at the end. We are testing <code>RainbowBeans.java</code>, so we name the file, <code>RainbowBeansTest.java</code>.
Copy and paste all that text into a new file which you should save in <code>tests/games/stendhal/server/maps/quests/</code>. Call it the same name as the class file for your Quest, with 'Test' at the end. We are testing <code>RainbowBeans.java</code>, so we name the file, <code>RainbowBeansTest.java</code>.


== Get the test to compile==
== Get the test to compile==