In this section:
This setting enables or disables code authorship computation based on the local user and system files modification time.
true | Default. Authorship will be assigned based on the local user. |
---|---|
false | Authorship will not be assigned based on the local user. |
The following configuration disables authorship computation based on the local user:
scope.local=false
This setting enables or disables code authorship computation based on data from a supported source control system.
true | Authorship will be assigned based on the source control information. |
---|---|
false | Default. Authorship will not be assigned based on the source control information. |
The following configuration enables authorship based on source control data:
scope.scontrol=true
This setting specifies filters that restrict the scope of analysis to a subset of files. The setting is supported for Git SCM.
This setting overrides time filters configured in your test configuration (see Creating Custom Test Configurations).
all | Default. Checks all files in the scope. |
---|---|
local | Checks only locally modified files. |
branch | Checks only files that are different between the current working branch and the reference branch. By default, the reference branch is the main integration stream, such as "master", "trunk", etc. You can specify a custom branch with scope.scontrol.ref.branch. |
The following configuration narrows down the scope of analysis to locally modified files:
scope.scontrol.files.filter.mode=local
The following configuration narrows down the scope of analysis to files that are different between the current working branch and the main stream of development:
scope.scontrol.files.filter.mode=branch
Te following configuration narrows down the scope of analysis to files that are different between the current working branch and branch "feature_372":
scope.scontrol.files.filter.mode=branch
scope.scontrol.ref.branch=feature_372
This setting specifies a custom reference branch with which the current working branch is compared to identify and analyze modified files. It applies when the scope.scontrol.files.filter.mode option is set to branch
. The setting is supported for Git SCM.
This setting overrides the reference branch configured in your test configuration (see Creating Custom Test Configurations).
[branch] | The branch name or identifier of the reference branch. |
---|
The following configuration specifies that the current working branch will be compared with branch "US129":
scope.scontrol.files.filter.mode=branch
scope.scontrol.ref.branch=US129
This setting enables or disables task assignment based on an XML mapping file that defines how tasks should be assigned to authors for particular files or sets of files. See Creating Authorship XML Map Files for details.
true | Tasks will be assigned to authors based on on an XML mapping file. |
---|---|
false | Default. Tasks will not be assigned to authors based on an XML mapping file. |
The following configuration enables task assignment to authors based on an XML mapping file:
scope.xmlmap=true
This setting specifies the path to an XML mapping file that defines how tasks should be assigned to authors for particular files or sets of files.
[path] | The path to the XML mapping file that specifies task assignment to authors for files or sets of files. |
---|
The following configuration specifies how tasks should be assigned to authors for files or sets of files according to the information included in the mapping.xml
file.
scope.xmlmap.file=C:\\parasoft\\mapping.xml
This setting enables or disables excluding files that are automatically generated by Visual Studio, such as code-behind files for .resx or .settings files, from the testing scope. Code-behind files that are not automatically generated by Visual Studio will not be excluded
true | Enables excluding automatically generated files. |
---|---|
false | Default. Automatically generated files will not be excluded. |
This setting specifies if author recognition is case sensitive.
true | The case differences are ignored in author names. |
---|---|
false | Default. Author recognition is case sensitive. |
The following configuration specifies that case differences in author names are ignored and, for example, "david", "David" and "DAVID" are be considered the same user.
authors.ignore.case=true
This setting specifies the user name, email address and the full name of an author.
[user_name, email_address, full_name] | A comma-separated list that specifies the username, email address and full name of a particular user. |
---|
The following configuration specifies the user details of two authors:
authors.user1=dan,[email protected],Dan Stowe
authors.user2=jim,[email protected],Jim White
This setting specifies how authors are mapped.
[user_name1, user_name2] | Two comma-separated user names that map an author's user name (user_name1) to another name (user_name2). |
---|
The following configuration maps the author names from old_user to new_user, and broken_user to correct_user:
authors.mapping1=old_user,new_user
authors.mapping2=broken_user,correct_user