When testing C++ source code, you can use class code to create class objects. Since abstract classes cannot be instantiated, CT automatically generates instantiable class code.
- On the left side of the [Class Factory view], you can see the classes included in the project and the class code for instantiating the class in a tree structure.
- On the right side of the [Class Factory View], you can edit the class code and name in the [Class code] tab, and see the connected tests in the [Configuration] tab.
Toolbar menu of Class Factory view
Item | Description |
---|---|
|
Save modification of the class code. |
|
Expand all class tree in Class Factory view. |
|
Collapse all class tree in Class Factory view |
Icon of Class Factory view
Context menu of class
Item | Description |
---|---|
|
Create a class code of the selected class. |
Context menu of class code
Item | Description |
---|---|
|
Delete selected class codes. |
Using class factory
You can use the class factory in two ways.
Need more help with this?
Don’t hesitate to contact us here.