The goal of this exercise is to extend a work product by adding
a contribution.
- Switch to the Authoring perspective if you are not already using
it.
- In my_plug-in under the contribution_test folder,
right-click Work Products and select New > Artifact.
- Give the new artifact the following attributes:
- Name: my_contributing_test_case
- Brief description: Contributing Brief Description
- Purpose: Contributing Purpose
- Main description: Contributing Main Description
- Use the Variability Type menu to select Contributes,
then click Select in this section. The Select Dialog: Artifacts window
opens.
- Select test_case and click OK to close this window.
You can find this under core.tech.common.exten_supp > technical_work_products.
- Save your changes by closing the editor.
- Switch back to the Browsing perspective. Make sure that you are
using my.basic.configuration.
- Use the configuration view to open Work Product Kinds > Uncategorized,
then locate Test Case.
- Double-click the Test Case icon to invoke the editor. The
description now has text that you included in the contributing artifact. You
will see it appended to the appropriate fields in the customized test case.This is
another example of using contributes variability to customize content
in a dependent plug-in by making changes to the base plug-in.