I'm unable to get my SpecFlow Tests to run from a build in TFS 2015. This appears to be similar to the issue mentioned in
SpecFlow + VSTS/TFS 2015 SpecFlow + VSTS/TFS 2015
The Answer given here did not solve my problem. I added $(Build.SourcesDirectory)\packages To my Path to Custom Test Adaptors and got an error:
Error: The path 'D:\vNextBuildAgent\1_work\b5a9c222\Platform\packages' specified in the 'TestAdapterPath' is invalid. Error: The custom test adapter search path provided was not found, provide a valid path and try again. VSTest Test Run failed with exit code: 1
Is (Build.SourcesDirectory) a pre-defined variable, a variable I need to set in my build definition, or something else? Is there another solution to this problem?