Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: TDD (Test Driven Development) with Rhaposdy - RhapUnit
Topic Summary:
Created On: 21-Jan-2007 05:50
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 21-Jan-2007 05:50
User is offline View Users Profile Print this message


James Deng

Posts: 8
Joined: 11-Apr-2006

I recently searched an thesis - There is a graduate student in Turkey who developed an unit test framework for Rhapsody - RhapUnit based on CPPUnit.

I did not find the download for this framework. I want to ask the community regarding this framework? Did anyone find or try that? What is I-Logix's opion for TDD?

Thanks.


James
Report this to a Moderator Report this to a Moderator
 21-Jan-2007 05:59
User is offline View Users Profile Print this message


James Deng

Posts: 8
Joined: 11-Apr-2006

[url]http://etd.lib.metu.edu.tr/upload/12605630/index.pdf[/url]
Report this to a Moderator Report this to a Moderator
 9-Feb-2007 17:16
User is offline View Users Profile Print this message


William Truchsess

Posts: 2
Joined: 14-Sep-2005

[QUOTE=jdeng@trane.com]I recently searched an thesis - There is a graduate student in Turkey who developed an unit test framework for Rhapsody - RhapUnit based on CPPUnit.

I did not find the download for this framework. I want to ask the community regarding this framework? Did anyone find or try that? What is I-Logix's opion for TDD?

Thanks.


James[/QUOTE]
I've implemented the CppUnitTest framework from [url]http://sourceforge.net/projects/cppunit[/url]. It took a little while, but I was able to get the MFC GUI implementation to work within Rhapsody by linking the Unit Test Component to a lib component, much the same way as the sample apps from Rhapsody. If you need more details let me know.

Bill


William Truchsess
Staff Firmware Engineer
Wide Format Inkjet
Consumer Digital Group

EASTMAN KODAK COMPANY
16275 Technology Drive
San Diego, CA 92127-1815
United States
[email]william.truchsess@kodak.com[/email]
TEL:+1 (858) 673-3247
FAX:+1 (858) 673-2946
[url]http://www.kodak.com[/url]
Report this to a Moderator Report this to a Moderator
 14-Feb-2007 13:55
User is offline View Users Profile Print this message


Maia Grotepass

Posts: 1
Joined: 12-Feb-2007

I am also trying to get a unit test solution working, any help would be hugely appreciated.

I have read the thesis. I have downloaded cppunit and built it and got examples running in the Microsoft Visual Studio environment.

Next I reverse engineered the cppunit code into an empty Rhapsody model. I am trying to follow the [URL=http://cppunit.sourceforge.net.../cppunit_cookbook.html]Cookbook[/URL] example but implementing in Rhapsody. I am struggeling to get it to compile. I get and error 'TestFixture' : base class undefined
even though my test class inherited from TextFixture which I found in the model after the reverse engineering.

Perhaps I am on a wild goose chase.

Any clues or alternate suggestions would be most welcome at this stage, I am quite new at this.

I am contemplating attempting to implement RhapUnit anyway unless someone has it implemented already and is willing to share.
Report this to a Moderator Report this to a Moderator
 15-Feb-2007 15:39
User is offline View Users Profile Print this message


Jesper Gissel

Posts: 88
Joined: 20-Jul-2005

Hi mgrotepass!

If you post your project, I'll take a look at it. It sounds pretty interresting.

Regards

-------------------------
Jesper Gissel
Johnson Controls Denmark, Marine Controls
Report this to a Moderator Report this to a Moderator
 21-Feb-2007 16:34
User is offline View Users Profile Print this message


William Truchsess

Posts: 2
Joined: 14-Sep-2005

Rhapsody 7.0MR1
Microsoft Visual C++ 6.0
testrunnerd.dll must be in you path to run
Use CppUnit doucumentation to compile libraries and dlls
The attachment is an example using the Dishwasher in the CppSamples directory.
Check the Overridden Properties for changes made.

This should get you started.

Dishwasher - UT.zip
Dishwasher - UT.zip  (2624 KB)

Report this to a Moderator Report this to a Moderator
 15-Apr-2007 06:56
User is offline View Users Profile Print this message


James Deng

Posts: 8
Joined: 11-Apr-2006

[QUOTE=wtruchsess@encad.com]I've implemented the CppUnitTest framework from [url]http://sourceforge.net/projects/cppunit[/url]. It took a little while, but I was able to get the MFC GUI implementation to work within Rhapsody by linking the Unit Test Component to a lib component, much the same way as the sample apps from Rhapsody. If you need more details let me know.

Bill


William Truchsess
Staff Firmware Engineer
Wide Format Inkjet
Consumer Digital Group

EASTMAN KODAK COMPANY
16275 Technology Drive
San Diego, CA 92127-1815
United States
[email]william.truchsess@kodak.com[/email]
TEL:+1 (858) 673-3247
FAX:+1 (858) 673-2946
[url]http://www.kodak.com[/url][/QUOTE]

Thank you, Bill. I will contact you after I have finished my current assignment.

James
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.