Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » PROPOSAL: "MyClass + MyClassTest" Template in TheIDE
PROPOSAL: "MyClass + MyClassTest" Template in TheIDE [message #29939] Wed, 01 December 2010 08:07 Go to next message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
hi guys,

more often then not one, enjoying the package system of U++/TheIDE, starts to create a new module / class library, which should be integrated later in another application, but 'for now' needs to have a test environment, where to develop / stimulate the API. espacially in own Ctrl development..

what about having a code generator Template, just as the other ones, that, in fact, creates 2 packages, and opens the second one, which already 'depends' on the first one?

MyClassName
/\
||
MyClassNameTest

this could be done for a CtrlLib based 'MyClassName' package or for a Core based one. but 'MyClassNameTest' would always present a CtrlLib project.

i think everything is already present in the ide, but would need to be put together in right direction..
Re: PROPOSAL: "MyClass + MyClassTest" Template in TheIDE [message #29944 is a reply to message #29939] Wed, 01 December 2010 10:38 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 825
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
interesting... could be extended also to support UnitTest++ package pairs. Somebody to look into it? I can provide classic template for such pair.
Re: PROPOSAL: "MyClass + MyClassTest" Template in TheIDE [message #29946 is a reply to message #29944] Wed, 01 December 2010 11:16 Go to previous messageGo to next message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
unfortunately there is, as i very briefly went through the code, no possibility so far, to 'bundle' some other *.upt files (the template files for a package generation).

it only can process one single *.upt to create a project package.

one could think of a 'composed' package, where, later, one only removes the source code of the class under test into another package.
Re: PROPOSAL: "MyClass + MyClassTest" Template in TheIDE [message #29947 is a reply to message #29939] Wed, 01 December 2010 11:24 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

The current template format already allows that, I just tried Wink Basic proof of concept template is attached.

Honza
  • Attachment: testing.upt
    (Size: 0.88KB, Downloaded 270 times)
Re: PROPOSAL: "MyClass + MyClassTest" Template in TheIDE [message #29950 is a reply to message #29947] Wed, 01 December 2010 12:07 Go to previous messageGo to next message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
got a bit of debugging.. but works now Smile thanks, great deal

maybe this could be extended to have the test package be of main window based one, and the test package to select whether Core test aplication or a CtrlCore test application, for Ctrl Development, have added sth like that as well..

but, one can fix that pretty fast in code too..
  • Attachment: upt.rar
    (Size: 1.31KB, Downloaded 322 times)

[Updated on: Wed, 01 December 2010 13:18]

Report message to a moderator

Re: PROPOSAL: "MyClass + MyClassTest" Template in TheIDE [message #31833 is a reply to message #29950] Wed, 30 March 2011 11:04 Go to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
is this usefull for upstream ..cleaning my local tree Smile
Previous Topic: TheIde Pixelated icons?
Next Topic: Create Makefile behaviour
Goto Forum:
  


Current Time: Fri Apr 19 22:09:16 CEST 2024

Total time taken to generate the page: 0.04322 seconds