Regression Testing: Difference between revisions
From Spring
Jump to navigationJump to search
Created page with " ==General rules== - Keep tests small, simple and fast. It doesn't help, if one test takes 10 hours. - results of tests should be reproduceable. Thats not always possible, but ..." |
No edit summary |
||
| Line 1: | Line 1: | ||
==General rules== | ==General rules== | ||
| Line 15: | Line 14: | ||
In the lua widget / gadget, check if this tag is set, and then start the tests. | In the lua widget / gadget, check if this tag is set, and then start the tests. | ||
[[Category:Development]] | |||
Revision as of 14:46, 14 March 2012
General rules
- Keep tests small, simple and fast. It doesn't help, if one test takes 10 hours.
- results of tests should be reproduceable. Thats not always possible, but at n runs it should return n times the same - the game has to be available with a rapid tag
How to create a test
A test will be run on a spring-headless, which means it has no visual output.
The test has to be active, when the modoption "EngineTesting = 1" in script.txt is set, it should default to 0.
In the lua widget / gadget, check if this tag is set, and then start the tests.