visual studio 2005 wizard for cpp unit

View: New views
4 Messages — Rating Filter:   Alert me  

visual studio 2005 wizard for cpp unit

by coding-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Attached is a 7.zip file containing a Visual Studio 2005 wizard for use with
CPPUnit.
Also attached are the readme.txt file for the wizard and readme.txt template
of the project it generates.
I have found these very useful so I though I would share them.

Paul



CPPUnitProjectWizard

20/5/2006 Paul Gibbons Version 1

Use the CPPUnitProjectWizard wizard to create a Visual Studio 2005 project to support use of CPPUnit to test a class.

To install the wizard:
1. Copy the files:
    CPPUnitProjectWizard.vsdir  - Names the wizard
    CPPUnitProjectWizard.vsz    - tells VS8 where to find the Wizard
 into the VCProjects folder of your Visual Studio 8 installation.

2. Copy the whole CPPUnitProjectWizard solution folder into the VCWizards folder of your Visual Studio 8 installation.
The project file CPPUnitProjectWizard.vcproj should be in
e.g. c:\Program Files\Microsoft Visual Studio 8\VC\VCWizards\CPPUnitProjectWizard\CPPUnitProjectWizard

or else copy the project to anywhere you like and edit CPPUnitProjectWizard.vsz to define the
parameter "ABSOLUTE_PATH".
Param="ABSOLUTE_PATH = c:\Program Files\Microsoft Visual Studio 8\VC\VCWizards\CPPUnitProjectWizard\CPPUnitProjectWizard"
   

The project requires that the environment variable CPPUNITDIR is defined so that
%CPPUNITDIR%\Include contains the folder CPPUNIT\Include and
%CPPUNITDIR%\LIB contains the CPPUnit LIB files e.g. cppunit.lib.
========================================================================
    CPPUnitProjectWizard : [!output PROJECT_NAME] Project Overview
========================================================================

The CPPUnitProjectWiard has created this project to support use of CPPUnit to
test the class [!output TESTCLASSNAME] using the class [!output TESTCLASSNAME]_Test.

Ensure the environment variable CPPUNITDIR is defined so that
%CPPUNITDIR%\Include contains the folder CPPUNIT\Include and
%CPPUNITDIR%\LIB contains the CPPUnit LIB files e.g. cppunit.lib and DllPlugInTesterd_dll.exe

Files created are:

[! output TESTCLASSNAME ].h         -   declares the class [!output TESTCLASSNAME]
[! output TESTCLASSNAME ].cpp       -   defines the class [!output TESTCLASSNAME]
[! output TESTCLASSNAME ]_Test.h    -   declares the class [!output TESTCLASSNAME]_Test
[! output TESTCLASSNAME ]_Test.cpp  -   defines the class [!output TESTCLASSNAME]_Test

readme.txt                          -   this file
SimplePlugIn.cpp                    -   Implements all the plug-in stuffs, WinMain...


Running the tests are run following successful building of the project using a Post Build event to run

$(CPPUNITDIR)\lib\DllPlugInTesterd_dll.exe -b --xml tests.xml -c "$(TargetPath)"




_______________________________________________
Cppunit-devel mailing list
Cppunit-devel@...
https://lists.sourceforge.net/lists/listinfo/cppunit-devel

CPPUnitProjectWizard.7z (19K) Download Attachment

Re: visual studio 2005 wizard for cpp unit

by coding-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I do not seem to be able to attach files to e-mails to this mail list. Can
someone please advise me on how I can distribute the Visual Studio 2005
Wizard to members of the list?

Thanks

Paul

 
-----Original Message-----
From: cppunit-devel-bounces@...
[mailto:cppunit-devel-bounces@...] On Behalf Of coding
Sent: 10 June 2006 18:36
To: cppunit-devel@...
Subject: [Cppunit-devel] visual studio 2005 wizard for cpp unit

Attached is a 7.zip file containing a Visual Studio 2005 wizard for use with
CPPUnit.
Also attached are the readme.txt file for the wizard and readme.txt template
of the project it generates.
I have found these very useful so I though I would share them.

Paul



All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Cppunit-devel mailing list
Cppunit-devel@...
https://lists.sourceforge.net/lists/listinfo/cppunit-devel

visual studio 2005 wizard for cpp unit

by coding-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


http://cppunit.sourceforge.net/cppunit-wiki/CppUnitVisualStudio2005Wizard
refers to a 7.zip file containing a Visual Studio 2005 wizard for use with
CPPUnit. Included is the readme.txt file for the wizard and readme.txt of
the project it generates.
I have found these very useful so I thought I would share them.

Paul




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cppunit-devel mailing list
Cppunit-devel@...
https://lists.sourceforge.net/lists/listinfo/cppunit-devel

Re: visual studio 2005 wizard for cpp unit

by anniehui :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Paul,

I am a newbie in C++.
1. Is it CPPUNIT\Include to be an existing folder? If not where should I create the folder and what is in the folder?
Where can I get the cppunit.lib without required to rebuiled it again in the solution?
%CPPUNITDIR%\Include contains the folder CPPUNIT\Include and
%CPPUNITDIR%\LIB contains the CPPUnit LIB files e.g. cppunit.lib.

Thank you.

Regards,
Annie

coding-2 wrote:
Attached is a 7.zip file containing a Visual Studio 2005 wizard for use with
CPPUnit.
Also attached are the readme.txt file for the wizard and readme.txt template
of the project it generates.
I have found these very useful so I though I would share them.

Paul


 
CPPUnitProjectWizard

20/5/2006 Paul Gibbons Version 1

Use the CPPUnitProjectWizard wizard to create a Visual Studio 2005 project to support use of CPPUnit to test a class.

To install the wizard:
1. Copy the files:
    CPPUnitProjectWizard.vsdir  - Names the wizard
    CPPUnitProjectWizard.vsz    - tells VS8 where to find the Wizard
 into the VCProjects folder of your Visual Studio 8 installation.

2. Copy the whole CPPUnitProjectWizard solution folder into the VCWizards folder of your Visual Studio 8 installation.
The project file CPPUnitProjectWizard.vcproj should be in
e.g. c:\Program Files\Microsoft Visual Studio 8\VC\VCWizards\CPPUnitProjectWizard\CPPUnitProjectWizard

or else copy the project to anywhere you like and edit CPPUnitProjectWizard.vsz to define the
parameter "ABSOLUTE_PATH".
Param="ABSOLUTE_PATH = c:\Program Files\Microsoft Visual Studio 8\VC\VCWizards\CPPUnitProjectWizard\CPPUnitProjectWizard"
   

The project requires that the environment variable CPPUNITDIR is defined so that
%CPPUNITDIR%\Include contains the folder CPPUNIT\Include and
%CPPUNITDIR%\LIB contains the CPPUnit LIB files e.g. cppunit.lib.
========================================================================
    CPPUnitProjectWizard : [!output PROJECT_NAME] Project Overview
========================================================================

The CPPUnitProjectWiard has created this project to support use of CPPUnit to
test the class [!output TESTCLASSNAME] using the class [!output TESTCLASSNAME]_Test.

Ensure the environment variable CPPUNITDIR is defined so that
%CPPUNITDIR%\Include contains the folder CPPUNIT\Include and
%CPPUNITDIR%\LIB contains the CPPUnit LIB files e.g. cppunit.lib and DllPlugInTesterd_dll.exe

Files created are:

[! output TESTCLASSNAME ].h         -   declares the class [!output TESTCLASSNAME]
[! output TESTCLASSNAME ].cpp       -   defines the class [!output TESTCLASSNAME]
[! output TESTCLASSNAME ]_Test.h    -   declares the class [!output TESTCLASSNAME]_Test
[! output TESTCLASSNAME ]_Test.cpp  -   defines the class [!output TESTCLASSNAME]_Test

readme.txt                          -   this file
SimplePlugIn.cpp                    -   Implements all the plug-in stuffs, WinMain...


Running the tests are run following successful building of the project using a Post Build event to run

$(CPPUNITDIR)\lib\DllPlugInTesterd_dll.exe -b --xml tests.xml -c "$(TargetPath)"




_______________________________________________
Cppunit-devel mailing list
Cppunit-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cppunit-devel