FastJ icon indicating copy to clipboard operation
FastJ copied to clipboard

Testing

Open lucasstarsz opened this issue 3 years ago • 2 comments

Considering just how much there is to this game engine, and the amount of times bugs go untested, a bit of testing for the various functions in the game engine would be much appreciated.

This is our coverage of tests so far:

  • engine

    • [x] FastJEngine
    • [ ] FPSValue
  • engine.config

    • [x] EngineConfig
  • graphics

    • [x] Boundary
    • [ ] Drawable
  • graphics.dialog

    • [ ] DialogConfig
    • [ ] DialogUtil
  • graphics.display

    • [x] Camera
    • [ ] FastJCanvas
    • [ ] SimpleDisplay
  • graphics.game

    • [x] GameObject
    • [x] Polygon2D
    • [x] Model2D
    • [x] Text2D
    • [ ] Sprite2D
  • graphics.ui.elements

    • [x] Button
  • graphics.util

    • [ ] DisplayUtil
    • [x] DrawUtil
  • graphics.gradients

    • [x] GradientBuilder
    • [x] Gradients
    • [x] LinearGradientBuilder
    • [x] RadialGradientBuilder
  • input

    • [ ] InputManager
  • input.keyboard

    • [ ] Keyboard
    • [x] Keys
  • input.mouse

    • [ ] Mouse
  • logging

    • [x] LogLevel
  • math

    • [x] Maths
    • [x] Point
    • [x] Pointf
    • [ ] Transform2D
  • resources

    • [ ] ResourceManager
  • resources.files

    • [ ] FileUtil
  • resources.images

    • [x] ImageResourceManager
    • [ ] ImageUtil
  • resources.models

    • [x] PsdfUtil
    • [x] ObjUtil
    • [x] MtlUtil
  • systems.audio

    • [x] Audio
    • [x] MemoryAudio
    • [x] StreamedAudio
    • [ ] MemoryAudioPlayer
    • [x] StreamedAudioPlayer
    • [x] AudioEventListener
    • [x] AudioManager
  • systems.audio.state

    • [x] PlaybackState
  • systems.behaviors

    • [ ] Behavior
    • [x] BehaviorHandler
    • [x] BehaviorManager
  • systems.collections

    • [ ] ManagedList
  • systems.control

    • [ ] DrawableManager
    • [x] SimpleManager
    • [ ] SceneManager
    • [x] Scene
  • systems.tags

    • [x] TaggableEntity
    • [x] TagHandler

As the engine develops, more tests will be written.

lucasstarsz avatar Apr 04 '21 20:04 lucasstarsz

Removing a few classes which can't easily be tested (or which may be redundant to test).

lucasstarsz avatar May 06 '22 21:05 lucasstarsz

Didn't mean to close that, sorry!

lucasstarsz avatar May 06 '22 21:05 lucasstarsz