Feature #984

regression test

Added by Hirundo over 9 years ago. Updated almost 9 years ago.

Status:NewStart date:2010-06-02
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

I think a proper regression test (akin to NoAI) is needed.
I feel that writing the test in the first place may uncover quite a number of bugs.

Aircraft_Properties.zip (2.01 KB) AveiMil, 2010-11-07 18:35

History

#1 Updated by yexo over 9 years ago

It would be very useful to have a list of all supported features so we have a list of features we still need to write regression tests for. Just taking the index of http://hg.openttdcoop.org/nml/raw-file/tip/docs/reference.html and removing all tests that are already done should probably do the trick.

#2 Updated by planetmaker over 9 years ago

  • GRF (001_action8.nml, 006_vehicle.nml)
  • Item
    • Property
    • Graphics (006_vehicle.nml)
    • Livery override (010_liveryoverride.nml)
  • Spriteblock (006_vehicle.nml)
    • Spriteset (006_vehicle.nml)
    • Spritegroup (006_vehicle.nml)
  • Switch
  • Random switch
  • Template (009_replaceTTDsprite)
  • Cargotable (partially in 006_vehicle.nml)
  • If/else
  • While
  • Error (005_error.nml)
  • Deactivate (004_deactivate.nml)
  • Sprite replacement
    • Replace TTD sprites (009_replaceTTDsprite)
    • Replace new sprites
    • Add font glpyhs
  • Town names (007_townnames.nml)
    • Town names parts (007_townnames.nml)
  • Parameter assignment (003_assignment.nml)
  • Sound support (002_sounds.nml)
  • Units (partially in 006_vehicle)
  • List of properties
    • Trains
    • Road vehicles (006_vehicle.nml)
    • Ships
    • Planes
    • Stations
    • Canals
    • Bridges
    • Houses
    • Industry tiles
    • Industries
    • Cargos
    • Airports
    • Railtypes (partially in 008_railtypes)
    • Airport tiles
  • List of variables
    • Trains
    • Road vehicles
    • Ships
    • Planes
    • Stations
    • Canals
    • Bridges
    • Houses
    • Industry tiles
    • Industries
    • Cargos
    • Airports
    • Railtypes
    • Airport tiles

#3 Updated by AveiMil over 9 years ago

'running_cost_factor' : {'size': 1, 'num': 0x0D},
should be
'running_cost_factor' : {'size': 1, 'num': 0x0E},

Aircraft_Properties.grf = simple GRF with one aircraft and all its properties defined.

#4 Updated by Ammler almost 9 years ago

It would be quite nice to make the regression run more verbose, since a run takes quite some time. Maybe also make it possible to run specific tests.

Also available in: Atom PDF