Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Would like auto creation of C++ classes

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Bill Ewing Posted - Aug 02 2013 : 2:38:51 PM
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.
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Sep 25 2013 : 4:30:24 PM
This is case=27628, and is implemented in build 2001.
sean Posted - Aug 02 2013 : 6:05:42 PM
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)

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000