Info |
---|
The Team Server features and functionality described on this page have been deprecated. |
This topic explains how to share Test Configurations (and any rule files or rule mapping files that they depend on) across the team.
...
Tip | ||
---|---|---|
| ||
You can share Test Configurations using Parasoft Team Server or exporting by exporting Test Configuration files that team members can import to their instances of SOAtest. See Importing/Exporting Test Configurations for details. |
...
Once a team Test Configuration is added to the deprecated Team Server, it will be accessible on all connected team Parasoft Test installations. If a Test Configuration uses custom rules and/or rulemappings, they can be added to Team Server, then automatically accessed by all connected team Parasoft Test installations.
...
- If you have not already done so, create a user-defined Test Configuration that applies the designated team settings.
- See Creating a Custom Test Configuration for instructions.
- Upload that configuration to Team Server as follows:
- Open the Test Configurations dialog by choosing Parasoft> Test Configurations.
- Right-click the Test Configurations category that represents the Test Configuration you want to upload.
- Choose Upload to Team Server (deprecated) from the shortcut menu.
You can configure multiple team Test Configurations (for instance, one for static analysis, one for unit test generation, one for regression testing, etc.).
Tip | ||
---|---|---|
| ||
If your Team Test Configuration uses custom rules or rule mappings, the related files can be shared as described later in this topic. |
Modifying Team Team Test Configurations
Team Test Configurations can be directly edited from Parasoft Test Architect Edition or Server Edition.
...
- Open the Test Configurations dialog by choosing Parasoft> Test Configurations or by choosing Test Configurations in the drop-down menu on the Test toolbar button.
- In the left pane, select Team> Team (deprecated)> [your_team_Test_Configuration].
- Modify the settings as needed.
- Click either Apply or Close to commit the modified settings.
The settings will then be updated on Team Server (deprecated), and the updated settings will be shared across the team.
...
The Team Favorite Configuration defines the test scenario used by default when a Team Server-connected team member runs connect to the deprecated Team Server runs a test with the designated Parasoft Test product. For example, if a test is started by clicking the the Test button, Parasoft Test will run that test based on the parameters defined in the Team Favorite Configuration.
...
- Choose Parasoft> Explore> Team Server (deprecated). The Browsing dialog will open.
- Open the Configurations tab of the Browsing dialog.
- Select the Test Configuration that you want to serve as the Team Favorite Test Configuration.
- Click the Set as Team Favorite button.
...
Rule mapping is a key part of configuring Parasoft Test to enforce your team’s or organization’s coding policy (e.g. for example, by customizing the built-in rule names, severities, and categories to match the ones defined in your policy).
You can use the deprecated Team Server to Server to ensure that all team members can access the the rulemap.xml
file you have created to customize Parasoft’s rule categories and severity levels. For details on how to create this file, see Modifying Rule Categories, IDs, Names, and Severity Levels.
To upload a a rulemap.xml
file file to the Team Server, perform the following steps from a Parasoft Test product licensed for Architect Edition or Server Edition:
- Launch your Parasoft Test product from a machine from which you can access the
rulemap.xml
file that you want to share. - Choose Parasoft> Explore> Team Server (deprecated). The Browsing dialog will open.
- Open the Rules tab of the Browsing dialog.
- Click the Upload button. A file chooser will open.
- Select the
rulemap.xml
file that you created, then click Open. Therulemap.xml
file that you just uploaded should now be listed in the Browsing dialog’s Rules tab. The rule configurations specified in this file will be available on all related Parasoft Test product installations connected to Team Server. - Click Done, click Apply, and then close the Parasoft Preferences dialog.
- Restart the program. You do not have to stop the server first.
- Open the Test Configurations dialog by choosing Parasoft> Test Configurations or by choosing Test Configurations in the drop-down menu on the Test Using toolbar button.
- Select any Test Configuration and open the Static tab. The new rule settings should be applied.
...
Deploying Custom Rules Across the Team AnchorDeploying_Custom Rule Mappings Across the Team Deploying_Custom Rule Mappings Across the Team
Deploying_Custom Rule Mappings Across the Team | |
Deploying_Custom Rule Mappings Across the Team |
You can use the deprecated Team Server to ensure that all team members can access and check custom static analysis rules you have designed with the RuleWizard module. When Team Server manages a rule, all Parasoft Test installations connected to Team Server will automatically have access to the most recent version of the rule. If a rule changes and the modified rule is uploaded to Team Server, the version on all team Parasoft Test installations will be updated automatically.
...
- Create one or more custom rules in RuleWizard.
- Save each rule and assign it a
.rule
extension. You can save the rule in any location. - If any new rules should belong to a new category, create a new category as follows:
- Open the Test Configurations dialog by choosing Parasoft> Test Configurations or by choosing Parasoft> Test Configurations in the drop-down menu on the Test Using toolbar button.
- Select any Test Configurations category.
- Open the Static> Rules Tree tab.
- Click the Edit Rulemap button.
- Open the Categories tab.
- Click New. A new entry will be added to the category table.
- Enter a category ID and category description in the new entry. For instance, an organization might choose to use ACME as the category ID and ACME INTERNAL RULES as the description.
- Note the location of the rulemap file, which is listed at the top of this dialog. You will need this information in step 9.
- Click OK to save the new category.
- Choose Parasoft> Explore> Team Server (deprecated). The Browsing dialog will open.
- Open the Rules tab of the Browsing dialog.
- Click the Upload button. A file chooser will open.
- Select one or more of the new
.rule
files that you created, then click Open. The.rule
files that you just uploaded should now be listed in the Browsing dialog’s Rules tab. All rules represented in this tab will be available on all Parasoft Test installations connected to Team Server (deprecated). - Add additional team rules by repeating the previous two steps.
- If you added any new rule categories or made any other changes to the rule mappings, click Upload, select the edited rulemap file, then click Open. The file that you just uploaded should now be listed in the Browsing dialog’s Rules tab tab. This file will be available on the Parasoft Test installations that are connected to the deprecated Team Server and licensed for the applicable Parasoft product. This file controls how the team rules are categorized.
- Open the Test Configurations dialog by choosing Parasoft> Test Configurations.
- Select any Test Configuration and open the Static> Rules Tree tab.
- Click Reload. The new rule should be available in all available Test Configurations and classified under the Team category. The rule will be disabled by default.
- If you want a Team Test Configuration to check these rules:
- Configure a new or existing Test Configuration to check these rules. The added rules will be disabled by default, so you will need to enable any rules that you want checked.
Ensure that the modified Test Configuration available to the team as described in Deploying Test Configurations Across the Team. You must follow this procedure even if you are modifying a Test Configuration that is already shared.
- Click either Apply or Close to commit the modified settings.
Tip | ||
---|---|---|
| ||
|
Removing Rules From Team Server
To remove a rule from the deprecated Team Server, the architect (or other designated team member) performs the following procedure from a Parasoft Test Architect Edition or Server Edition:
- Choose Parasoft> Explore> Team Server (deprecated). The Browsing dialog will open.
- Open the Rules tab of the Browsing dialog.
- Select the rule you want to remove.
- Click Delete.
- Click Done.
...