Reuse Method Content: Contribute to a Task
The goal of this exercise is to extend a Task by adding a contribution.
By now you should start to see the general pattern with this variability mechanism.
Recall that contributions append text in appropriate fields from one content package to another.
- Switch back to the Authoring perspective.

- Create a new Task in the Contribution Test content package.

- Use the following attributes for this task:
- Name: my_contributing_task
- Presentation name: My Contributing Task
- Brief Description: Contributing Brief Description text
- Purpose: Contributing Purpose text
- Main Description: Contributing Main Description text

- Click on the Steps tab and add two new steps named
"Contributing Step 1" and "Contributing Step 2".
- Click on the Description tab.
In the Variability Relationship section select Contributes
and then click the Select... button.
The Select Dialog: Tasks window will appear.
- Select create_test_case and click OK.
This will be the base element for our contribution.
- Go back to the Steps tab and click the Order button.
Now use the Up and Down buttons to reorder the steps.
Note that you can now insert your new steps into the original sequence of steps inherrited from the base.
This is a good example of the power of variability contributions.

- Save the new task by closing the editor panel.
- Switch to the Browsing perspective.
- Expand the Disciplines folder,
then the Disciplines subfolder,
then the Test folder.
Double-click on the Create Test Cases task.
The Content panel now shows a preview of the generated page.

Note how the text we entered in Step 3 has been appended to the brief description
and purpose fields on this generated page.
Note also that the name and presentation name were not affected by the contribution.
- Look at the steps to see how your new material was contributed.
You should see the text that you included in the contributing
task displayed in the Create Test Cases task.
- You can also try specifying additional Artifacts, Guidance,
and Additional Performer Roles in the contributing task
(using the Authoring perspective) and then view the result in the
configuration view to see the behavior.
Continue