-
Can't build unit tests for target execution (VxWorks)
Environment: Windows XP Workbench 2.6.1 VxWorks 6.3 C++test7.1WindRiverExtension 7.1.2.30 When trying to build unit test cases for execution on a vxworks target the test configuration fails. We are unable to run unit tests on the target. Jeff Estes was on site 1/30/08 and has the details.
-
License Question
LicenseIs there anyway to get a floating license for the command line interface and bug detective applications?
-
Given our directory structure we are having link failures in generatin
(Entered for David Mann) This topic has been discussed and you have provided a temporary workaround. I have been able to add the missing function definitions inside the auto_incomplete file and been able to get the test generated. I am keeping this issue open until we have a solution for this problem. Please keep me…
-
What needs to be configured in Clear Case
(Entered for David Mann) Parasoft seems to generate alot files inside the .cppTest directory. How does this stuff relate to the test suite and stubs that are generated? If we do not configure these files to we incur a compile time penalty, a code overwrite penalty? Please explain.
-
How do I take the Unit Test Driver and use it for both NT and Green Hi
(Entered for David Mann) This topic comes from our last meeting where we discussed how I can take a unit test driver that I made and compile it on the Green Hill Multi. What I currently do on my actual project is make a unit test driver. It tests all the functionality within my project, include test stubs from other…
-
How do you create Tests with NO stubs
(Entered for David Mann) Ok. Here is what I want to do. There will be at time where I would like to use the full functionality of my current project and possibly one or more other projects. For example. I may want to generate the Main project and use the actual code from the Common project. Currently, stubs are created for…
-
Trying to "Isolate" the Isolation of a Class unit Test
(Entered for David Mann) I am trying to isolate a particular class from the rest of the project. For example, I would like to test only TestExecThread.cpp. But I want to keep the function level testing around. So I am trying to devise a way to not to mix them up. The following picture shows my attempt at doing this (see…
-
Question about report generation
(Entered for David Mann) Is there a way when executing a run unit test to have the report default to a differerent directory than C:\Documents and Settings\mannda2\Local Settings\Temp\parasoft\xtest\? What I am thinking is the following: Currently I am developing the following structure for stubs (see attached): I would…
-
Failed compile when removing a function out of a class
(Entered for David Mann) I added a function inside AdjacentChannels called BlaBla(). I added it to the .h and .cpp. The .cpp portion is just an empty function. I added a call inside the constructor of the ThreadBase class AdjChannel.BlaBla(). I built the code using GenerateUnitTests followed by GenerateStubs followed by…
-
Multiple auto_incomplete files generated
(Entered for David Mann) I just observed this when preparing the previous issue. When I added the default constructor for AdjacentChannels, I noticed that I now have two auto_incomplete functions auto_incomplete_6b7324ea.cpp which contains the original stubs and auto_incomplete_2f8f39d7.cpp which hold the new constructor…
-
Failed compile when not using explict constructors
(Entered for David Mann) I made a class to add to the Common vcProj called AdjacentChannels. The defined constructor passes in a parameter. The default constructor AdjacentChannels() is not defined in the file. When I call the GenerateStubs I will get the following error: Precompiling source: UAV\MAIN\Source…
-
Bug in Line Coverage mode
(Entered for David Mann) If you run the successful mode of the .sln file I gave you (removing the PreInitialize functions), it seems that the LINE COVERAGE for TestExectThread is wrong. I get the following result (see attached). It does not make sense because when I debug it, it does execute the SoftChannel::addApplication…
-
Authorship issue
When multiple instances of Visual Studio are open the authorship feature only works on the first instance opened. Open a Visual Studio solution right-click and find authorship on a line of source. It works has expected. Open a second solution in a second Instance of Visual Studio and find authroship on a line of source. It…
-
edgtk.useEdgPreprocessor false
When the edgtk.useEdgPreprocessor false option is set is it specific to a project or does it apply to the C++Test installation. Testing would dictate that it is not a global setting but local to the project. If the project is checked out in a different location the option is lost. How can it be applied globally?
-
Stubs are not automatically generated
• Our default testing approach is to stub everything; we will only use implemented functions for white box testing for a few utility functions. • Our program has over 2000 functions that must be stubbed. • Creating a stub is a straightforward, albeit tedious, activity and should not be done manually. • The "stub generator"…