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,

Can TypeMock be used to mock classes written in a Windows Store Class Library?

We are looking for a mocking framework we can use within Windows Store App developments.

Regards, Seán
asked by seanoc (1.1k points)

5 Answers

0 votes
Hi Seán,

You can use Isolator in projects that use .net 4.5 and run in unrestricted mode.

It won't work in silverlight runtime.
answered by alex (17k points)
0 votes
Hi Alex,

The reason for the question is that all other existing Mocking fraeworks cannot be used to mock WinRT objects as Reflection is not allowed.

I may have to download a trial version to determine if it is possible, but I am specifically wondering about Windows Store App development (Metro).

Regards, Seán
answered by seanoc (1.1k points)
0 votes
now about 1 year later, I want to know, if the isolator can create fakes for WinRT?
answered by atomic (1.3k points)
0 votes
Hi Sean,

Sorry, Isolator still doesn't fake Windows Store runtime. We've actually planned to add it, assuming there's going to be lots of customer demand for it. There wasn't, so we didn't add the functionality.

I'll be happy to let you know if we get there, but currently our plans do not include support for Windows Store.
answered by gilz (14.5k points)
0 votes
Hi there.

Would it be possible for TypeMock to provide some plugins that we can use with Atlassian's Bamboo Continuous Integration server (version 5.3 as at this date)? For example a TypeMock test unit runner and test results parser? Plugins are written in Java.
answered by sanimirza (140 points)
...