ManufacturingKnowledge

Configuring Teamcenter Easy Plan > Create custom manufacturing validation tests with Teamcenter Easy Plan

Add a new manufacturing validation test to the library

After you create customized manufacturing validation tests, you must add them to the library before end users can run them.

Note

This procedure shows how to implement a test case that would fail any operation without an item description.

  1. Use a text editor such as Notepad++ to open the new test file, MfgValidationTestSuiteA_Tests.hxx.

  2. Type the following text to add a new method to the test. void operationHasDesc(tag_t lineTag);

  3. Use a text editor such as Notepad++ to open the sample test file, MfgValidationTestSuiteA_Tests.cxx, and search for the names section.

  4. Type the following text to add a name to the test case. static const std::string OperationHasDesc("Has Desc");

  5. Search for the registration section of the file. For example, search for RegisterValidationTest.

  6. Type the following text to register the new validation test. registerValidationTest(OperationHasDesc_Test,(generic_validation_test_callback_fn_type)&MfgValidationTestSuiteA_Tests::operationHasDesc_Test);

  7. Search for the ValidationSuiteTestNames section of the file, and type the following text to register the new validation test. validationSuiteTestNames.push_back(OperationHasDesc_Test);

  8. Type the following text to implement the test case.

  9. Save the file, and close Notepad++.

Rebuild, install, and validate the validation tests library

Note

The Teamcenter administrator performs this task.

Perform this procedure before you release the customized tests into your production environment.

  1. Build customized manufacturing validation tests.

  2. Install and verify customized manufacturing validation tests.

  3. Run and validate the customized test.

  4. Verify that the test case contains customizations that you created. For example, this test case should:

    Contain a new column named Has Desc.
    
    
    Display a passed test for operations that have an item description.
    Note 
     The Details panel displays an item description for the operation, if one exists.
    
    
    
    Displays a failed test for any operation that is without an item object description.
    

Tip

If you do not see the new validation test, review the procedure and perform the steps again. If you are still unsuccessful, contact Product Lifecycle Management Support or your customer account team.

Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.EasyPlan_Deployment/xid1977160 · retrieved 2026-07-11