Synchronizing test cases from build
Keeping the test cases in sync with the scenarios is important, therefore automating the synchronization process is recommended. This can be done for example from builds: you can configure an additional build step that invokes the synchronization process.
Creating the initial link between scenarios and test cases requires a small change in the feature file (to include the test case tags). Such changes cannot be done in an automated process, because the changes cannot be committed to the source control. To handle this, SpecSync provides a --buildServerMode
switch. If this switch is provided, SpecSync will not synchronize new scenarios, but only updates the ones that are already linked to test cases.
For authentication, it is recommended to create a special user account that has sufficient privileges (modify test cases and test suites).