Sanity test

From OHRRPGCE-Wiki
Jump to navigation Jump to search
Obsolete.png
This article (or part thereof) is obsolete. It may have made sense in the past, but it does not make sense now. It is kept here only for historic curiosity and/or posterity.

A Sanity test is a test to verify that a newly compiled version of either GAME or CUSTOM is working. Developers should do this after adding new features to a WIP, or when preparing a new stable release.

What to test?[edit]

makegame.bat
makeedit.bat
makeutil.bat

Compile errors[edit]

Verify that the exe files are actually created.

Runtime errors[edit]

Make sure that you test all of:

game.exe
custom.exe
hspeak.exe
  1. Does it run?
  2. Open a game
  3. Walk around
  4. Always fight at least one battle
  5. Always talk to at least one NPC
  6. Always run at least one plotscript
  7. Test any features you know have changed recently (for example, shops, or vehicles)