/FeatureSync

Synchronization tool for integrating SpecFlow scenarios with Azure DevOps (TFS)

Primary LanguageC#Apache License 2.0Apache-2.0

FeatureSync

Build Status Download

Synchronization tool for integrating SpecFlow scenarios with Azure DevOps (TFS)

How to use

1. Add namespace and language definition to feature file:

#language:en
@Namespace:Application.Autotests
Feature: Log to application

*namespace must be equal to test .dll name

2. Create empty Test Cases in TFS and add tags with id to scenario:

Empty case

@2124573 @posistive
Scenario: Successful authorization
	Given I on authorization page
	And I enter:
		| Login | Password |
		| user  | pass     |
	When I press Login button
	Then Browser redirect on Home page

3. Run FeatureSync:

FeatureSync.exe -f C:\FolderWithFeatures -s https://tfs.server.com/collection -t 6ppjfdysk-your-tfs-token-2d7sjwfbj7rzba

I run FeatureSync after buld of test solution

Buld definition

Profit

Sync case

Automation

Credits

Special thanks to @ashamrai for TFS API implementation