TestPlan

From FIFE development wiki
Jump to: navigation, search

Introduction

The purpose of this document is to outline the tests that FIFE must go through before being released. All tests outlined in the Test Plan section must pass before FIFE can be packaged and released. All new features should have a test plan added here.


Modules

This section describes each testable feature organized by module. All these features must be tested within at least one test plan.

Core

Audio

  • SoundClip
  • SoundClipManager
  • SoundDecoder
  • SoundEmitter
  • SoundManager

Controller

  • Engine
  • EngineSettings

Eventchannel

  • EventManager
  • InputEvent
  • KeyEvent
  • MouseEvent
  • ICommandController
  • IKeyController
  • IMouseController
  • ISdlEventController
  • IEventSource
  • IKeyFilter

GUI

  • GUIManager

Loaders

Audio Loaders
  • OggLoader
Map Loaders
  • MapLoader
  • AnimationLoader
  • PercentDoneCallback
Video Loaders
  • AtlasLoader
  • ImageLoader
  • SubImageLoader (Deprecated and can be removed)

Model

  • Model
MetaModel
  • Action
  • Object
  • TimeProvider
  • CellGrid
  • HexGrid
  • SquareGrid
Structures
  • Instance
  • InstanceTree
  • Layer
  • Location
  • Map
  • RenderNode

Util

  • Exception
  • FifeClass
  • SharedPtr
  • String utilities
  • Logger
  • FIFE Math
  • Angle functions
  • Matrix
  • IResource
  • ResourceManager
  • Point
  • Rect
  • PriorityQueue
  • QuadTree
  • TimeEvent
  • TimeManager
  • Timer
  • Utf8 strings

Video

  • Animtaion
  • AtlasBook
  • Cursor
  • DeviceCaps
  • Image (OpenGL and SDL)
  • ImageManager
  • RenderBackend (OpenGL and SDL)
  • Fonts (TTF and Image based)

View

  • Camera
  • LayerCache
  • RenderBase
  • RenderItem
  • Visual classes (Visual2DGfx, ObjectVisual, ActionVisual)
  • BlockingInfoRenderer
  • CellSelectionRenderer
  • CoordinateRenderer
  • FloatingTextRenderer
  • GenericRenderer
  • GridRenderer
  • InstanceRenderer
  • LightRenderer
  • OffRenderer
  • QuadTreeRenderer


Python

FIFE

The FIFE -> Python interface as a whole. These should test all the above modules

Extensions

  • BasicApplication
  • fife_compat
  • fife_settings
  • fife_timer
  • fife_utils
  • fifelog
  • filebrowser
  • loaders
  • pythonize
  • savers
  • soundmanager
  • serializers (simplexml, xml_loader_tools, xmlanimation, xmlmap, xmlobject)
  • pychan (This could be fairly extensive)

Demos

  • pychan_demo
  • rio_de_hola
  • shooter

Editor

Test Plan

Test 1

Test 2