Hello all,
I have been looking at the TTCN-2 to TTCN-3 mapping and there is one
thing that still bogs my mind: At several discussions at ETSI and
here on the mailing, we have said that TTCN-2 test suite variables
does not have any correspondence in TTCN-3. For this reason, test
cases (TTCN-2) using TSVar:s supposedly couldn't be mapped to TTCN-3.
But, how about this:
module A
{
testcase t1 ( inout integer foo )
{
...
}
testcase t2 ( inout integer foo )
{
...
}
...
control
{
var X integer = 42; // This is our 'TSVar'
execute(t1(X));
execute(t2(X));
...
}
}
Wouldn't this provide the same functionality as TSVar:s w.r.t
passing values between test cases or have I missed something?
Season's greetings
/Johan
Telelogic Tau 4.3 - makes requirements visible during
UML development!
Read more about it at
www.telelogic.com/tau43
Johan Nordin
Standardization Specialist, Uppsala Development Lab
Telelogic AB
S:t Persgatan 13
SE-75320 Uppsala, Sweden
Phone: +46 18 661865
Fax: +46 18 661870
Mobile: +46 706 424711
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.telelogic.com
Telelogic - Putting you ahead in software development!