So what you see in the movies is real! Here’s an Isolator installer (v5.3.2). This is a technical preview, not a final version of 5.3.2. You can download a 32bit installer and a 64bit installer.
What we have here is the regular Isolator you know and love, with a DXCore add-in that when opening a parenthesis of a method allows you to create an Isolate.Fake.Instance for that argument. Very cool, at least we think so – tell us what you think!
If you don’t have it already, download the latest DXCore here.
What it does:
- Display a tooltip/keyboard shortcut when in a method/constructor argument list
- Only does this within a Test method (with the correct attribute)
- Suggest faking statements on non-value, non-mscorlib types
- Inject faking statements, using statements, [Isolated] attribute and assembly references
- This is currently disabled in VB.NET
- Requires DxCore to be preinstalled
Known issues:
- If you open a parenthesis and the tool tip doesn’t show try deleting the DXCore cache files:
<%AppData%>\CodeRush for VS .NET\1.1\AssemblyCache
<%AppData%>\CodeRush for VS .NET\1.1\SolutionCache - if your short cut (alt-/) doesn’t work you can take these steps to remedy that:
In order to set the shortcut:
In Visual Studio –
1. DevExpress -> Options
2. Choose IDE from the tree on left
3. Select Shortcuts
4. In the dialog on the main window right click “Code” and add “New Folder” and name it Typemock
5. Right click Typemock and click “New Keyboard Shortcut”
6. On the right side set Command name as “ShowIntellifakeSuggestions”
7. Set Keys in “Key 1” box
Waiting for the VB support..
ReplyDeleteDo you plan to extend this to support other refactoring tool such as Resharper and VA X?
ReplyDeleteSw33333t!!! This is awesome!
ReplyDeleteI'll try this out real soon!