Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Will we ever get an "Extract Interface" feature?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Bill Ewing
New Member

USA
2 Posts

Posted - Aug 09 2013 :  5:24:39 PM  Show Profile  Reply with Quote
The reason I am evaluating VisualAssistX is because I got spoiled by Java/JDT/JUnit and C#/Resharper/NUnit.

But now I'm in a group of ~10 programmers maintaining a lot of C++ (not the new .Net version). I want to arm them to the teeth and get going on refactoring and unit testing.

What additional features we most want in VisualAssistX are:
1. Extract Interface. To test classes that reference big, slow concrete classes, we need to extract the interface from these classes and build fake objects that allows us to instantiate the class under test in a test harness. Sure, we could edit this by hand, but how hard would it be for VisualAssistX to this?

2. Create class. During TDD, in our test code we will often attempt to instantiate a class that does not yet exist. Today, VisualAssistX see this as a problem, but only seems to offer to create a method. How hard would it be for you to offer to create a new class? Maybe VisualAssistX seeing "new" in the statement might make this the number one suggestion? We would not mind it still offered to create a method.

3. Extract constant. This might be an easy one for you guys. We all may write some magic number in our code to get something working quickly, but we'll likely want to replace it with a meaningfully named constant. Other tools do this well. Some even enforce rules for the naming style of comments (like many, we use all uppercase with underscore word separators).

The above three features would make me happily pay more than you currently charge. Without them, we're still looking/waiting for the right tool.

accord
Whole Tomato Software

United Kingdom
3164 Posts

Posted - Aug 11 2013 :  10:05:58 AM  Show Profile  Reply with Quote
1. This is something that is on our list of things to do:

case=30546

2. This is also something we would like to implement:

case=27628

For now, you can use 2 VA features to speed up class creation:
- Create file refactoring command
- Using VA Snippets: type "class" (without quotes) and press enter. VA asks for the class name and creates a new class. You can customize the snippet easily: just click on the "Edit" link in the tooltip after you had typed "class" and the suggestion had appeared with the tooltip.

3. We are considering doing this at some point:

case=1492
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Sep 25 2013 :  4:29:39 PM  Show Profile  Reply with Quote
case=27628 is implemented in build 2001.
Go to Top of Page

sean
Whole Tomato Software

USA
2641 Posts

Posted - Nov 07 2014 :  10:08:32 AM  Show Profile  Reply with Quote
case=1492 is implemented in build 2052
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000