Re: TEFKAT

8 views
Skip to first unread message

Jim Steel

unread,
Jan 27, 2014, 11:03:09 PM1/27/14
to CHETHNA JOY, tef...@googlegroups.com
Hi,

My first reaction is that your third rule, Message_2_Assertion, will never match anything, because it depends on the existence of an 'smc2xunit2' trace object, and those can only be created by that same rule, so the rule can never fire.

If I understand correctly what you're trying to do, you probably want one trace class to link your first and second rules (which you have: smcxunit1) by associating Models with TestSuites, and a second trace class to link your second and third rules by associating Interactions with TestCases (which I assume is what smc2xunit2 is intended for). Tips, then, on these classes:
- use better names, that indicate what each trace class actually keeps track of
- don't make the trace classes incremental: if a TestCase is created as a function solely of an Interaction, then you don't need the container objects (Model and TestSuite) in there as well (or your bottom-level trace objects will end up being enormous!)
- if a rule always depends on a trace class, then make sure some other rule is capable of creating the trace

Also, please try to send future questions to tef...@googlegroups.com, so that other tefkat users/developers can help with your questions, rather than just relying on me. They will still get to me, but others may also be able to help.

Cheers,

Jim.






On 27 January 2014 16:34, CHETHNA JOY <chethn...@gmail.com> wrote:


---------- Forwarded message ----------
From: CHETHNA JOY <chethn...@gmail.com>
Date: Thu, Jan 23, 2014 at 1:33 PM
Subject: TEFKAT
To: Jim Steel <jims...@gmail.com>


Dear Sir, 
          What I actually want is to extend 1st rule to 2nd rule. That I could accomplish by your's help using "LINKING". Thus my first & second rule worked perfectly. But the third rule when executed says "matched nothing". What I actually want is to extend 2nd rule to third rule. But I am unable to do it with "LINKING".

Instead of declaring two classes I tried declaring only the first class. Still the effect was same("rule matched nothing").

Sorry to disturb you & thanking you in advance

Sincerely
Chethna Joy 




Reply all
Reply to author
Forward
0 new messages