[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

game-data-packager test suite and 'megatest'



Hi,

game-data-packager has the beginnings of a test suite in it (and a
separate test suite branch that is either fully merged or partially,
I can't remember right now). It's my ambition to focus my gdp efforts
on this test suite, rather than writing more (shell) code that might
eventually be replaced with python. The test suite will be useful for
any eventual rewrite as well as for modifications with the current
code base.

It is useful to be able to regression test game-data-packager with
real data, but of course we can't distribute that. However, those of
us hacking on it probably have lots of it ourselves (I know I own
several copies of different versions of the doom and quake games,
for example) and can obtain many other bits as well (such as the various
shareware bits and pieces). Therefore, I'm starting work on a separate,
optional test suite, I'm currently calling 'megatest'. It will attempt
to test gdp's operation on real data. Real data will be organised into
a sub-folder ./megatest (or similar) and an index of the files that
need to be in there for the tests will be distributed with gdp, for ease
of assembling the data locally.

Hopefully I'll push some WIP stuff soon.

-- 
Jonathan Dowland


Reply to: