chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
[TestMethod]
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);

Expression<Func<WMPNSSCI>> axe = (a1, a2, s3) => s3.Equals("");

LiveIntellisenseThree<WMPNSSCI> axr = new LiveIntellisenseThree<WMPNSSCI>(axe);

axr.ShowDialog();
}

I have return this TestMethod for my program . so tell me how to Write this with Typemock Isolator.

Thanks,
Shailendra
asked by shailendra (680 points)

5 Answers

0 votes
Hello Shailendra,

I'm sorry bot I don't completely understand what the test checks.

Can you please explain what are you testing and what is the desired result of the test (the pass/fail condition)


Thanks,

Dror Helper
Typemock Support
answered by dhelper (11.9k points)
0 votes
Hi,

I m testing one Intellisense Project.
i m passing one dll WMPNSSCI to the Expression.
and output window will execute .
In output window i 'll Enter the dll name and as i enter "." the member list will genrate in the list box.


Thanks,
shailendra
answered by shailendra (680 points)
0 votes
If I understand correctly the actual code runs inside the ShowDialog call.
And you test it by writing a sample text.

Is LiveIntellisenseThree a 3rd party tool or do you have the source code for it?
answered by dhelper (11.9k points)
0 votes
LiveIntellisenseThree is a class return by me.In which my actual code runs.
In show dialog i m just showing the window.
answered by shailendra (680 points)
0 votes
Testing the Dialog shown is an integration test and can be done by UI automatation tool.

Instead consider testing the LiveIntellisenseThree class instead of the actual dialog functionality this way you can make sure it follows the rules.
answered by dhelper (11.9k points)
...