Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 30th, 2004, 2:56 AM   #1
norrismcwhirter
Newbie
 
Join Date: Sep 2004
Posts: 1
Rep Power: 0 norrismcwhirter is on a distinguished road
Hi,

Problem scenario:

I'm trying to implement an automated tool which is capable of physically communicating with several legacy products for the purpose of automatic code testing.

One of the key issues is that the tool needs to read/write data structures within the products but the data structures may not be documented.

So, it struck me it might be a good idea to construct a view of the data structures from the source code itself (in C), as we know this to be the most up to date and correct description of those, items into a database (or similar) which the tool may interface to. Thus, automated test scripts may be based upon information in the database....

To do this, the tool would need to view the entire project, cross reference data types then dump out the data structures in human readable format (or straight into a database).

It also struck me that I can't be the first person to want to do this so does anyone know of a tool for doing this? It doesn't matter if it doesn't do exactly what I'm asking of it; I don't mind modifying something.

Cheers,
Norris
norrismcwhirter is offline   Reply With Quote
Old Sep 30th, 2004, 9:10 AM   #2
Ashcroft
Programmer
 
Join Date: Sep 2004
Posts: 38
Rep Power: 0 Ashcroft is on a distinguished road
I personally love source navigator - http://sourcenav.sourceforge.net/

I've used it on Linux, Mac OS X, and Solaris 2.6-2.8 so it should be portable to most any Unix type system.

Since you have source you may also want to consider a simple unit test program.

A variety of C and C++ unit testing tools is at - http://www.opensourcetesting.org/unit_c.php

Most of these will analyze our project and build tests for all public methods of your classes
Ashcroft is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:32 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC