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
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
Hi people,

I really, really, really need actions for FinalBuilder 6. I was checking references and found that your Typemock.FinalbuilderActions.dll had a reference to Interop.FB50CustomActionInterfaces which I don't have!

Perhaps you have other suggestions to run the Typemock tests in the meantime?! Thanks

Dennis
asked by dvdstelt (5.3k points)

4 Answers

0 votes
Hi,

Easiest way would be to use the action supplied by final builder.
You can find a final builder action for running the Isolator under the "testing tools" actions.

if that fails you can use an "Execute Program" action to run the TMockRunner executable supplied as part of the Isolator Installation.
answered by lior (13.2k points)
0 votes
It's not working... The FinalBuilder standard action doesn't work at all. I can't use mstest.exe with a vsmdi and also supply a testlist and the location of the results file. I think it expects only one parameter.

Anyway, I'm trying to run TMockRunner.exe and it does execute the tests, but it says I can't use the recorder.Return(true) line in the following code:

Product product = new Product();
using (RecordExpectations recorder = RecorderManager.StartRecording())
{
   product.ProductExtras.Any(pe => pe.ExtraREF == 66);
   recorder.Return(true);

   product.ProductExtras.Any(pe => pe.ExtraREF == 87);
   recorder.Return(true);
}

Any ideas?

Edit : w000t, I'm advanced now! :)
answered by dvdstelt (5.3k points)
0 votes
Hi,

I would say, try removing the lambda expression and see if it works,
something like:
Product product = new Product(); 
using (RecordExpectations recorder = RecorderManager.StartRecording()) 
{ 
   product.ProductExtras.Any(null); 
   recorder.Return(true); 

   product.ProductExtras.Any(null); 
   recorder.Return(true); 
}
answered by lior (13.2k points)
0 votes
You're right, it's working now. Thanks a lot!

I still do hope some excellent FinalBuilder 6 actions will come though :)
It'd be much nicer to set some properties on an action than play around with a bunch of parameters in the "Execute a command" action.

It's just not that high on my prio list anymore, thanks to you! ;)
answered by dvdstelt (5.3k points)
...