View Issue Details

IDProjectCategoryView StatusLast Update
0003595Spring engineBuildbotpublic2018-05-03 12:44
Reporterabma Assigned Toabma  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Summary0003595: add regression pathing test script
Descriptionhttp://springrts.com/phpbb/viewtopic.php?f=12&t=29889
TagsNo tags attached.
Checked infolog.txt for Errors

Relationships

related to 0003768 closedabma extend validation tests 

Activities

abma

2013-07-25 17:57

administrator   ~0011076

+ add some general testing thing:

http://springrts.com/wiki/SpringTutorialGame

abma

2013-07-25 17:58

administrator   ~0011077

0003894

abma

2013-07-25 18:21

administrator   ~0011078

idea:

a lua table-compare class:

class m

c = new compare(
"key1" = ignore
"key2" = ignore
"key3" = min(), max()
"key4" = 53
"key5" = 55
(not listed keys have to be the same)
)
c.load(unit)

[do stuff]

c.compare() until timelimit or result is ok.

-> prints error when values don't match

abma

2013-07-25 19:02

administrator   ~0011079

Last edited: 2013-07-25 19:21

https://github.com/spring/testgame

only problem left atm:

how to "push" an update to the test-game?

rapid or by git?


structure:

for each test create a folder in
/tests/test1

with gadget.lua & widget.lua

all events are forwarded to these two lua scripts / unloaded when test is done, also frames can be made relative.


also, would be nice if the gadgets could be "pushed" to synced with a gadget helper script from a widget. this would also allow to create some editor maybe ^^

abma

2018-05-03 12:44

administrator   ~0019065

i don't see me doing this... lack of time :-|

Issue History

Date Modified Username Field Change
2013-03-18 00:28 abma New Issue
2013-03-18 03:18 abma Assigned To => abma
2013-03-18 03:18 abma Status new => assigned
2013-05-03 19:54 abma Relationship added related to 0003768
2013-07-25 17:57 abma Note Added: 0011076
2013-07-25 17:58 abma Note Added: 0011077
2013-07-25 18:21 abma Note Added: 0011078
2013-07-25 19:02 abma Note Added: 0011079
2013-07-25 19:17 abma Note Edited: 0011079
2013-07-25 19:21 abma Note Edited: 0011079
2018-05-03 12:44 abma Status assigned => closed
2018-05-03 12:44 abma Resolution open => fixed
2018-05-03 12:44 abma Note Added: 0019065