Add new test cases to an Area or an Iteration
The Area
field can be used in TFS/VSTS to assign the test case to a team or to a project functionality group. The Iteration
field can be used to assign the test case to a Sprint or project iteration.
The Area
and the Iteration
fields can be modified manually, independently from the scenario synchonization (SpecSync will not override these fields). When the test case is initially created by SpecSync, by default it leaves these fields unset, so they will be initialized to the project default (usually to the root area and iteration).
The --areaPathForCreate
and the --iterationPathForCreate
options can be used to change the default behavior and set the Area
and the Iteration
fields to a specific value for the initial test case creation.
specsync4mtm.exe ... --areaPathForCreate FrontEndTeam --iterationPathForCreate "Sprint 1"
The example above will initialize the Area
field with MyProject\FrontEndTeam
and the Iteration
with MyProject\Sprint 1
.
It is also possible to specify deeper area or iteration paths:
specsync4mtm.exe ... --iterationPathForCreate "Release 1\Sprint 1"
The project name can be omitted from the path, as the example above shows.
_Note: _The way how you can enter backslash character (\
) might be different in the console shell you use (e.g. \\
). The example above works with the default Windows shell (CMD
).
Note: These settings have no impact on the test cases that have been created earlier. SpecSync never updates these fields, only initializes them for new test cases.