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
 Would like auto creation of C++ classes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Bill Ewing
New Member

USA
2 Posts

Posted - Aug 02 2013 :  2:38:51 PM  Show Profile  Reply with Quote
We would like to do Test Driven Design with:
* MS Visual Studio 2010
* C++ (not .Net)
* Visual Assert (a UnitTest add-in for MSVS)
* VA_X 1.1.0.3780

When we code this in a unit test...

Widget* p = new Widget();

...and Widget does not exist, VA_X offers to create a new method, which is OK.

But, of course, what we would like it offer is to create a new class named Widget, put it in its own file and make a header for it too.

Is there a way to do this now? Planned for some release soon?

I need to make TDD fast and easy so that it will be easier to convince my group to use it.

sean
Whole Tomato Software

USA
2817 Posts

Posted - Aug 02 2013 :  6:05:42 PM  Show Profile  Reply with Quote
This is planned but is not imminent.

I could see different use cases for this. Would you prefer it happen silently or would it be ok to prompt with choices (and default selections) for:
create in new header (default) / create in current file

if create in new header is selected:
edit field to name file (defaulting to classname.h)
option to generate matching source file (default on)
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Sep 25 2013 :  4:30:24 PM  Show Profile  Reply with Quote
This is case=27628, and is implemented in build 2001.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000