Parametrized Tests and IRunListener issues


hi,

 

i'm working on fixing flexunit 4.1 support flexmojos , have run problems new parametrized reports.

in flexmojos counted number of tests , decremented number each time testfinished called. unfortunately parametrized tests can't expect number of times irunlistenertest.finished functions called equal number of test functions. resulted in flexmojos reporting "all ok" each time number of executed tests equals of counted test functions. failling tests beyound point stay undetected, rather undesirable.


my question is, introduction of parametrized tests, there new interface can use instead of "irunlistener" somehow provides callbacks "testcasestarted" , "testcasefinished"? example if 1 test function executed 2 times expect callback sequence fe follows:

 

testrunstarted

testcasestarted

teststarted

testfinished

teststarted

testfinished

testcasefinished

testrunfinished

 

if such interface doesn't exist ... how implement similar?

 

chris

ok in meanwhile solved problems restructuring flexmojos unit test support in general.



More discussions in FlexUnit Development


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support