Sanity test

From OHRRPGCE-Wiki

Jump to: navigation, search

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.

[edit] What to test?

Make sure you compile the right version. Quickbasic, or Freebasic with the right set of backends. Stable release versions should test both Quickbasic and Freebasic with the default backends.

makegame.bat
makeedit.bat
compile.bat

[edit] Compile errors

Verify that the exe files are actually created.

[edit] Runtime errors

Make sure that you test all of:

game.exe
custom.exe
game-qb.exe
customqb.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)
Personal tools