Andreeeas
11-11-2008, 01:00 AM
hello everyone,
my question is how to chain multiple testsuites in one canvas, so that they are executed sequentially, meaning the end of a testsuite triggers the start of the next one. by default all testsuites are executed at the time they are instantiated.
the onsuitefinish event listed in the reference doesnt seem to be sent at all.
so here's a sample to explain what exactly my intention is:
<canvas>
<view name="a">....</view>
<view name="b">....</view>
<view name="c">....</view>
<TestSuite name="test_a">
//testcases for view a go in here
</TestSuite>
<TestSuite name="test_b">
//testcases for view b go in here
</TestSuite>
<TestSuite name="test_c">
//testcases for view c go in here
</TestSuite>
</canvas>
as aforementioned, i want those testsuites to execute one after another. combining them to one suite is not an option for me since in my application i have multiple views represented by classes that correspond to view a,b,c in this example.
hopefully someone can give me a hint on how to achieve this.
greets
andreas
my question is how to chain multiple testsuites in one canvas, so that they are executed sequentially, meaning the end of a testsuite triggers the start of the next one. by default all testsuites are executed at the time they are instantiated.
the onsuitefinish event listed in the reference doesnt seem to be sent at all.
so here's a sample to explain what exactly my intention is:
<canvas>
<view name="a">....</view>
<view name="b">....</view>
<view name="c">....</view>
<TestSuite name="test_a">
//testcases for view a go in here
</TestSuite>
<TestSuite name="test_b">
//testcases for view b go in here
</TestSuite>
<TestSuite name="test_c">
//testcases for view c go in here
</TestSuite>
</canvas>
as aforementioned, i want those testsuites to execute one after another. combining them to one suite is not an option for me since in my application i have multiple views represented by classes that correspond to view a,b,c in this example.
hopefully someone can give me a hint on how to achieve this.
greets
andreas