the-butterfly-effect / tbe

The Butterfly Effect, a realistic physics simulation game
http://the-butterfly-effect.org
GNU General Public License v2.0
97 stars 13 forks source link

Wish list for regression testing #253

Open kaa-ching opened 8 years ago

kaa-ching commented 8 years ago

The current regression framework (after issue #225) still leaves a lot to be desired. I'd like to see the following options:

Feel free to suggest more things, then we'll prioritize.

Wuzzy2 commented 8 years ago
Wuzzy2 commented 8 years ago

take everything out of the Makefile: automatically run on all levels in levels.xml

I would change that to “take everything out of the Makefile: automatically run on all levels in finished”, when hints have become a QA requirement. Playable levels and levels with hints are different things.

Also, we might add some test levels which are solely designed for regression testing (since the normal levels might not cover all corner cases) and put them into an extra directory regression. Then all levels in that directory are automatically included as well.

More wishes:

Note: The second wish fits on the first level which currently would be a false-negative in a regression test because you win without placing anything. The assumption is that levels like this must be “demonstration” levels of some sort, not to solve some particular puzzle. Also, it is very stupid we can't regression test our first level, imagine a TBE release in which the very first level is broken. :D