SpecFlow.VisualStudio
SpecFlow.VisualStudio copied to clipboard
Step bindings are still being analyzed. Please wait (still an issue)
I get this every time I try to F12 into a step definition. it never goes away.
I am using Visual Studio 2013 and SpecFlow 1.9.0.
I have also written a custom MsTest GeneratorProvider.
I have also turned on all logging for specflow and it never completes the analysis.
I've tried the workaround of deleting the .suo file, but that doesn't fix the problem.
Here is the log
[11:01:17.5898319] Tracing: Tracing enabled for all categories [11:01:17.5898319] ProjectScopeFactory: subscribed to solution closed 1 [11:01:17.5998329] VsProjectScope: Initializing... [11:01:17.6288358] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\App.config [11:01:17.6428372] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\AcknowledgeShipment.feature [11:01:17.6428372] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ApproveDepotSupplyRelease.feature [11:01:17.6428372] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Country Settings.feature [11:01:17.6428372] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\CountryProfileCreation.feature [11:01:17.6428372] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\DepotCreation.feature [11:01:17.6428372] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ImportKitList.feature [11:01:17.6438373] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Login.feature [11:01:17.6438373] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ManageKitAssignmentStrategy.feature [11:01:17.6438373] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ManageStudyRandomization.feature [11:01:17.6438373] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ManageStudyScreening.feature [11:01:17.6438373] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Menu.feature [11:01:17.6438373] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\OrderSupplies.feature [11:01:17.6438373] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Randomization.feature [11:01:17.6448374] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Screening.feature [11:01:17.6448374] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SelectLanguage.feature [11:01:17.6448374] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SiteCreation.feature [11:01:17.6448374] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SiteSearch.feature [11:01:17.6448374] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SupplyStrategyCreation.feature [11:01:17.6448374] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\VisitSchedule.feature [11:01:17.6638393] VsProjectScope: Initialized [11:01:17.6638393] VsProjectScope: Starting analysis services... [11:01:17.6738403] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Extensions\EnumerableExtensions.cs [11:01:17.6738403] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Extensions\PropertyInfoExtensions.cs [11:01:17.6738403] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Extensions\WebDriverExtensions.cs [11:01:17.6748404] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Helpers\KitListFileBuilder.cs [11:01:17.6748404] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Helpers\RandListFileBuilder.cs [11:01:17.6748404] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Helpers\SeleniumController.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Helpers\SeleniumStepsBase.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Helpers\SeleniumSupport.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Properties\AssemblyInfo.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\EnableStudyRandomizationSteps.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\EnableStudyScreeningSteps.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\FormSubmissionSteps.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\GeneralSteps.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\LoginSteps.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\ManageKitAssignmentStrategySteps.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\MenuSteps.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\MessageSteps.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\NavigationSteps.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\RandomizationSteps.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\AcknowledgeShipment.feature.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ApproveDepotSupplyRelease.feature.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Country Settings.feature.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\CountryProfileCreation.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\DepotCreation.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ImportKitList.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Login.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ManageKitAssignmentStrategy.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ManageStudyRandomization.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ManageStudyScreening.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Menu.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\OrderSupplies.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Randomization.feature.cs [11:01:17.6788408] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Screening.feature.cs [11:01:17.6788408] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SelectLanguage.feature.cs [11:01:17.6788408] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SiteCreation.feature.cs [11:01:17.6788408] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SiteSearch.feature.cs [11:01:17.6788408] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SupplyStrategyCreation.feature.cs [11:01:17.6788408] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\VisitSchedule.feature.cs [11:01:17.6808410] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\packages\SpecFlow.1.9.0\lib\net35\TechTalk.SpecFlow.dll [11:01:17.6808410] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\packages\Selenium.WebDriver.2.45.0\lib\net40\WebDriver.dll [11:01:17.6808410] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\packages\Selenium.Support.2.45.0\lib\net40\WebDriver.Support.dll [11:01:17.6808410] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\SpecFlowCustomGenerator\bin\Debug\MsTestCustomGeneratorProvider.SpecFlowPlugin.dll [11:01:17.6828412] GherkinProcessingScheduler: Analyzing request 'Initialize BindingFilesTracker' queued on thread: 1 [11:01:17.6828412] GherkinProcessingScheduler: Analyzing request 'Initialize ProjectFeatureFilesTracker' queued on thread: 1 [11:01:17.8998629] StepMap: StepMap with 12 feature files and 24 step definitions loaded [11:01:17.8998629] GherkinProcessingScheduler: Analyzing request 'Load from step map (ProjectFeatureFilesTracker)' queued on thread: 1 [11:01:17.8998629] GherkinProcessingScheduler: Analyzing request 'Load from step map (BindingFilesTracker)' queued on thread: 1 [11:01:17.8998629] GherkinProcessingScheduler: Analyzing request 'Analyze all starting (BindingFilesTracker)' queued on thread: 1 [11:01:17.8998629] GherkinProcessingScheduler: Analyzing request 'Analyze all starting (ProjectFeatureFilesTracker)' queued on thread: 1 [11:01:17.8998629] VsProjectScope: Analysis services started [11:01:17.8998629] GherkinLanguageService: Language service created [11:01:17.9028632] GherkinProcessingScheduler: Applying task 'Parse Gherkin: EntireFile' on thread: 38 [11:01:18.1508880] EditorParser: Start full parsing [11:01:18.4019131] GherkinProcessingScheduler: Applying task 'Initialize BindingFilesTracker' on thread: 47 [11:01:19.2810010] EditorParser: Finished full parsing in 1126 ms, 0 errors [11:01:19.4770206] BindingFilesTracker: Initialized [11:01:19.4780207] GherkinProcessingScheduler: Applying task 'Initialize ProjectFeatureFilesTracker' on thread: 47 [11:01:19.7200449] ProjectFeatureFilesTracker: Initialized [11:01:19.7200449] GherkinProcessingScheduler: Applying task 'Load from step map (ProjectFeatureFilesTracker)' on thread: 47 [11:01:19.7570486] ProjectFeatureFilesTracker: Applied loaded fieature file steps [11:01:19.7570486] GherkinProcessingScheduler: Applying task 'Load from step map (BindingFilesTracker)' on thread: 47 [11:01:27.2087937] BindingFilesTracker: Applied loaded bindings [11:01:27.2087937] GherkinProcessingScheduler: Applying task 'Analyze all starting (BindingFilesTracker)' on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Steps\NavigationSteps.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Steps\RandomizationSteps.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\AcknowledgeShipment.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\ApproveDepotSupplyRelease.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\Country Settings.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\CountryProfileCreation.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\DepotCreation.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\ImportKitList.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\Login.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\ManageKitAssignmentStrategy.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\ManageStudyRandomization.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\ManageStudyScreening.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\Menu.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\OrderSupplies.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\Randomization.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\Screening.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\SelectLanguage.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\SiteCreation.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\SiteSearch.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\SupplyStrategyCreation.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\VisitSchedule.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze all finishing (BindingFilesTracker)' queued on thread: 47 [11:01:27.8068535] GherkinProcessingScheduler: Applying task 'Analyze all starting (ProjectFeatureFilesTracker)' on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze Features\ManageKitAssignmentStrategy.feature (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze Features\ManageStudyScreening.feature (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze Features\Randomization.feature (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze Features\Screening.feature (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze Features\SelectLanguage.feature (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze Features\SiteSearch.feature (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze Features\SupplyStrategyCreation.feature (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze all finishing (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:28.3079036] GherkinProcessingScheduler: Applying task 'Analyze Steps\NavigationSteps.cs (BindingFilesTracker)' on thread: 47 [11:01:28.3339062] BindingFilesTracker: Analyzing binding file: Steps\NavigationSteps.cs [11:08:29.5300216] GherkinProcessingScheduler: Applying task 'Analyze Steps\RandomizationSteps.cs (BindingFilesTracker)' on thread: 47 [11:08:29.5330219] BindingFilesTracker: Analyzing binding file: Steps\RandomizationSteps.cs
Did it work before? Do you use Resharper? Have you checked whether F12 really bound to that function? I am asking because Resharper overwrites it by default. On May 8, 2015 5:24 PM, "fknebels" [email protected] wrote:
I get this every time I try to F12 into a step definition. it never goes away.
I am using Visual Studio 2013 and SpecFlow 1.9.0.
I have also written a custom MsTest GeneratorProvider.
I have also turned on all logging for specflow and it never completes the analysis.
I've tried the workaround of deleting the .suo file, but that doesn't fix the problem.
Here is the log
[11:01:17.5898319] Tracing: Tracing enabled for all categories [11:01:17.5898319] ProjectScopeFactory: subscribed to solution closed 1 [11:01:17.5998329] VsProjectScope: Initializing... [11:01:17.6288358] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\App.config [11:01:17.6428372] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\AcknowledgeShipment.feature [11:01:17.6428372] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ApproveDepotSupplyRelease.feature [11:01:17.6428372] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Country Settings.feature [11:01:17.6428372] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\CountryProfileCreation.feature [11:01:17.6428372] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\DepotCreation.feature [11:01:17.6428372] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ImportKitList.feature [11:01:17.6438373] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Login.feature [11:01:17.6438373] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ManageKitAssignmentStrategy.feature [11:01:17.6438373] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ManageStudyRandomization.feature [11:01:17.6438373] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ManageStudyScreening.feature [11:01:17.6438373] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Menu.feature [11:01:17.6438373] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\OrderSupplies.feature [11:01:17.6438373] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Randomization.feature [11:01:17.6448374] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Screening.feature [11:01:17.6448374] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SelectLanguage.feature [11:01:17.6448374] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SiteCreation.feature [11:01:17.6448374] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SiteSearch.feature [11:01:17.6448374] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SupplyStrategyCreation.feature [11:01:17.6448374] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\VisitSchedule.feature [11:01:17.6638393] VsProjectScope: Initialized [11:01:17.6638393] VsProjectScope: Starting analysis services... [11:01:17.6738403] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Extensions\EnumerableExtensions.cs [11:01:17.6738403] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Extensions\PropertyInfoExtensions.cs [11:01:17.6738403] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Extensions\WebDriverExtensions.cs [11:01:17.6748404] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Helpers\KitListFileBuilder.cs [11:01:17.6748404] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Helpers\RandListFileBuilder.cs [11:01:17.6748404] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Helpers\SeleniumController.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Helpers\SeleniumStepsBase.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Helpers\SeleniumSupport.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Properties\AssemblyInfo.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\EnableStudyRandomizationSteps.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\EnableStudyScreeningSteps.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\FormSubmissionSteps.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\GeneralSteps.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\LoginSteps.cs [11:01:17.6758405] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\ManageKitAssignmentStrategySteps.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\MenuSteps.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\MessageSteps.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\NavigationSteps.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Steps\RandomizationSteps.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\AcknowledgeShipment.feature.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ApproveDepotSupplyRelease.feature.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Country Settings.feature.cs [11:01:17.6768406] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\CountryProfileCreation.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\DepotCreation.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ImportKitList.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Login.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ManageKitAssignmentStrategy.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ManageStudyRandomization.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\ManageStudyScreening.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Menu.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\OrderSupplies.feature.cs [11:01:17.6778407] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Randomization.feature.cs [11:01:17.6788408] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\Screening.feature.cs [11:01:17.6788408] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SelectLanguage.feature.cs [11:01:17.6788408] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SiteCreation.feature.cs [11:01:17.6788408] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SiteSearch.feature.cs [11:01:17.6788408] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\SupplyStrategyCreation.feature.cs [11:01:17.6788408] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\AcceptanceTests\Features\VisitSchedule.feature.cs [11:01:17.6808410] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\packages\SpecFlow.1.9.0\lib\net35\TechTalk.SpecFlow.dll [11:01:17.6808410] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\packages\Selenium.WebDriver.2.45.0\lib\net40\WebDriver.dll [11:01:17.6808410] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\packages\Selenium.Support.2.45.0\lib\net40\WebDriver.Support.dll [11:01:17.6808410] FileChangeEventsListener: Start listening to file: D:\working\AcceptanceTests\SpecFlowCustomGenerator\bin\Debug\MsTestCustomGeneratorProvider.SpecFlowPlugin.dll [11:01:17.6828412] GherkinProcessingScheduler: Analyzing request 'Initialize BindingFilesTracker' queued on thread: 1 [11:01:17.6828412] GherkinProcessingScheduler: Analyzing request 'Initialize ProjectFeatureFilesTracker' queued on thread: 1 [11:01:17.8998629] StepMap: StepMap with 12 feature files and 24 step definitions loaded [11:01:17.8998629] GherkinProcessingScheduler: Analyzing request 'Load from step map (ProjectFeatureFilesTracker)' queued on thread: 1 [11:01:17.8998629] GherkinProcessingScheduler: Analyzing request 'Load from step map (BindingFilesTracker)' queued on thread: 1 [11:01:17.8998629] GherkinProcessingScheduler: Analyzing request 'Analyze all starting (BindingFilesTracker)' queued on thread: 1 [11:01:17.8998629] GherkinProcessingScheduler: Analyzing request 'Analyze all starting (ProjectFeatureFilesTracker)' queued on thread: 1 [11:01:17.8998629] VsProjectScope: Analysis services started [11:01:17.8998629] GherkinLanguageService: Language service created [11:01:17.9028632] GherkinProcessingScheduler: Applying task 'Parse Gherkin: EntireFile' on thread: 38 [11:01:18.1508880] EditorParser: Start full parsing [11:01:18.4019131] GherkinProcessingScheduler: Applying task 'Initialize BindingFilesTracker' on thread: 47 [11:01:19.2810010] EditorParser: Finished full parsing in 1126 ms, 0 errors [11:01:19.4770206] BindingFilesTracker: Initialized [11:01:19.4780207] GherkinProcessingScheduler: Applying task 'Initialize ProjectFeatureFilesTracker' on thread: 47 [11:01:19.7200449] ProjectFeatureFilesTracker: Initialized [11:01:19.7200449] GherkinProcessingScheduler: Applying task 'Load from step map (ProjectFeatureFilesTracker)' on thread: 47 [11:01:19.7570486] ProjectFeatureFilesTracker: Applied loaded fieature file steps [11:01:19.7570486] GherkinProcessingScheduler: Applying task 'Load from step map (BindingFilesTracker)' on thread: 47 [11:01:27.2087937] BindingFilesTracker: Applied loaded bindings [11:01:27.2087937] GherkinProcessingScheduler: Applying task 'Analyze all starting (BindingFilesTracker)' on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Steps\NavigationSteps.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Steps\RandomizationSteps.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\AcknowledgeShipment.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\ApproveDepotSupplyRelease.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\Country Settings.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\CountryProfileCreation.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\DepotCreation.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\ImportKitList.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\Login.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\ManageKitAssignmentStrategy.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\ManageStudyRandomization.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\ManageStudyScreening.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\Menu.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\OrderSupplies.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\Randomization.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\Screening.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\SelectLanguage.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\SiteCreation.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\SiteSearch.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\SupplyStrategyCreation.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze Features\VisitSchedule.feature.cs (BindingFilesTracker)' queued on thread: 47 [11:01:27.2117940] GherkinProcessingScheduler: Analyzing request 'Analyze all finishing (BindingFilesTracker)' queued on thread: 47 [11:01:27.8068535] GherkinProcessingScheduler: Applying task 'Analyze all starting (ProjectFeatureFilesTracker)' on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze Features\ManageKitAssignmentStrategy.feature (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze Features\ManageStudyScreening.feature (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze Features\Randomization.feature (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze Features\Screening.feature (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze Features\SelectLanguage.feature (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze Features\SiteSearch.feature (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze Features\SupplyStrategyCreation.feature (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:27.8078536] GherkinProcessingScheduler: Analyzing request 'Analyze all finishing (ProjectFeatureFilesTracker)' queued on thread: 47 [11:01:28.3079036] GherkinProcessingScheduler: Applying task 'Analyze Steps\NavigationSteps.cs (BindingFilesTracker)' on thread: 47 [11:01:28.3339062] BindingFilesTracker: Analyzing binding file: Steps\NavigationSteps.cs [11:08:29.5300216] GherkinProcessingScheduler: Applying task 'Analyze Steps\RandomizationSteps.cs (BindingFilesTracker)' on thread: 47 [11:08:29.5330219] BindingFilesTracker: Analyzing binding file: Steps\RandomizationSteps.cs
— Reply to this email directly or view it on GitHub https://github.com/techtalk/SpecFlow/issues/439.
I also still see this with visual studio 2013 and the latest specflow (2015.1.1 - 2015/05/06). Using NUnit + Selenium Webdriver (MbUnit also installed). No Resharper. The problem has been happening since I started using Specflow, I use the stackoverflow fix every so often, but its annoying. It would be great if a permanent fix was found.
Yes this was previously working. I do use ReSharper 9.0 update 1. I also get the analyze message from the context menu options of "Generate Step Definitions" and "Go To Step Definition (Ctrl + Shift + Alt + S)." I still can run and debug specflow tests without a problem.
I got this issue immediately after upgrading to the latest version on one of my machines. I closed visual studio, deleted the temp files (got to %TEMP% and delete all the specflow-* files) and then restarted and was unable to recreate the problem. Can you try this and see if it helps?
On Mon, May 11, 2015 at 1:33 PM, fknebels [email protected] wrote:
Yes this was previously working. I do use ReSharper 9.0 update 1. I also get the analyze message from the context menu options of "Generate Step Definitions" and "Go To Step Definition (Ctrl + Shift + Alt + S)." I still can run and debug specflow tests without a problem.
— Reply to this email directly or view it on GitHub https://github.com/techtalk/SpecFlow/issues/439#issuecomment-100891693.
I deleted the 2 specflow temp files i had and that that fixed my context menu with regards to the generate step definitions, but now all my step definitions a purple and it can't find any of the step definitions. So I close VS and open it again and the original issue still occurs. I forgot to mention that with the original issue, I have to use task manager to kill VS because it is hung. Task Manager shows it using a constant 13% of the CPU.
I seem to have gotten this back working again. I re-installed SpecFlow entirely, but I still kept getting the analyze message. Then I turned intellisense off. I had previously turned "Disable re-generate feature file popup" to true. I turned this back to false. I changed the app.config to re-generate the feature file .cs files. This seemed to do the trick. I can now F12 on a step in the .feature and go to the correct bindings. I don't know under the covers what is happening, but it worked.
This is still an issue. Just tried creating a new feature, but all I get is the "Step bindings are still being analyzed" when trying to actually generate the step bindings.
I can give you a copy of the solution, if that helps.
does shutting VS, clearing the cache and starting VS again solve the problem?
On Thu, May 21, 2015 at 4:25 PM, fknebels [email protected] wrote:
This is still an issue. Just tried creating a new feature, but all I get is the "Step bindings are still being analyzed" when trying to actually generate the step bindings.
I can give you a copy of the solution, if that helps.
— Reply to this email directly or view it on GitHub https://github.com/techtalk/SpecFlow/issues/439#issuecomment-104318553.
Visual Studio has a cache?
Sorry, not the visual studio cache, the cache files specflow creates. I think the location was linked earlier in the thread On 21 May 2015 18:55, "Darren Cauthon" [email protected] wrote:
Visual Studio has a cache?
— Reply to this email directly or view it on GitHub https://github.com/techtalk/SpecFlow/issues/439#issuecomment-104371509.
Dang it, I was going to make a Visual Studio joke if there was one...
Shutting down and deleting the .cache file didn't clear the error.
Shutting down deleting the .cache file. then modifying the app.config to force a feature file regen looks to have removed the error.
but then it comes back again later.
@fknebels there is a "regernerate feature files" command on the project context menu, you can also use that instead of touching the app config. Not a solution though, i know...
BTW: i started to collect general VS troubleshooting tips: http://www.specflow.org/documentation/Troubleshooting-Visual-Studio-Integration/ Please share the link and extend if you find new ones.
I've updated to the latest SpecFlow and was still having the issue, but this time i noticed in the SpecFlow tracing the error 'Abstract binding types can have only static binding methods.' This was creating an infinitive loop where the bindings were being continually analyzed. I tracked back from the warning to the previous trace line which named the abstract class in question. I removed abstract from the class definition and everything now seems to work without issue. The only question is that this abstract base class does not contain any step bindings, only some common functionality for Selenium.
Is the abstract class inherited by multiple classes which contain step definitions? Does it contain the [binding] attribute? On 11 Jun 2015 20:49, "fknebels" [email protected] wrote:
I've updated to the latest SpecFlow and was still having the issue, but this time i noticed in the SpecFlow tracing the error 'Abstract binding types can have only static binding methods.' This was creating an infinitive loop where the bindings were being continually analyzed. I tracked back from the warning to the previous trace line which named the abstract class in question. I removed abstract from the class definition and everything now seems to work without issue. The only question is that this abstract base class does not contain any step bindings, only some common functionality for Selenium.
— Reply to this email directly or view it on GitHub https://github.com/techtalk/SpecFlow/issues/439#issuecomment-111257508.
It is inherited by multiple classes that do contain step definitions.
It does not have a [Binding] attribute on it.
On Thu, Jun 11, 2015 at 3:51 PM, Sam Holder [email protected] wrote:
Is the abstract class inherited by multiple classes which contain step definitions? Does it contain the [binding] attribute? On 11 Jun 2015 20:49, "fknebels" [email protected] wrote:
I've updated to the latest SpecFlow and was still having the issue, but this time i noticed in the SpecFlow tracing the error 'Abstract binding types can have only static binding methods.' This was creating an infinitive loop where the bindings were being continually analyzed. I tracked back from the warning to the previous trace line which named the abstract class in question. I removed abstract from the class definition and everything now seems to work without issue. The only question is that this abstract base class does not contain any step bindings, only some common functionality for Selenium.
— Reply to this email directly or view it on GitHub <https://github.com/techtalk/SpecFlow/issues/439#issuecomment-111257508 .
— Reply to this email directly or view it on GitHub https://github.com/techtalk/SpecFlow/issues/439#issuecomment-111257902.
I have the same problem, and have noticed that it works on a simple solution, but fails when:
- add a "Shared Project" to the solution and add a file to it ("Class1.cs" is all you need)
- add a reference the shared project to your spec-flow test project
- close and reopen the solution
If I remove the shared project reference from the SpecFlow test project, re-open the solution, it starts working again.
from the spec flow trace output:
[17:09:52.6957918] GherkinProcessingScheduler: Task error: System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.GetExtension(String path)
at TechTalk.SpecFlow.VsIntegration.LanguageService.BindingFileInfo.get_IsAssembly()
at TechTalk.SpecFlow.VsIntegration.LanguageService.BindingFilesTracker.HandleMissingProjectItem(BindingFileInfo fileInfo)
at TechTalk.SpecFlow.VsIntegration.LanguageService.ProjectFilesTracker`1.AnalyzeInternal(TFileInfo fileInfo, Boolean fireUpdatedEvent, Boolean analyzeRelatedFiles)
at TechTalk.SpecFlow.VsIntegration.LanguageService.ProjectFilesTracker`1.AnalyzeInitially()
at TechTalk.SpecFlow.VsIntegration.LanguageService.DelegateTask.Apply()
at TechTalk.SpecFlow.VsIntegration.LanguageService.GherkinProcessingScheduler.DoTask(IGherkinProcessingTask task)
I also have the same problem here but I am running VS2017 with non admin user. After opening a feature, I notice that VS2017 CPU consumption is 30% in average. None of the cited workaround worked here.
Environment:
Microsoft Visual Studio Professional 2017
Version 15.2 (26430.16) Release
VisualStudio.15.Release/15.2.0+26430.16
Microsoft .NET Framework
Version 4.7.02046
Installed Version: Professional
Visual Basic 2017 00370-20005-67152-AA282
Microsoft Visual Basic 2017
Visual C# 2017 00370-20005-67152-AA282
Microsoft Visual C# 2017
Visual C++ 2017 00370-20005-67152-AA282
Microsoft Visual C++ 2017
Visual F# 4.1 00370-20005-67152-AA282
Microsoft Visual F# 4.1
ASP.NET and Web Tools 2017 15.0.30503.0
ASP.NET and Web Tools 2017
ASP.NET Web Frameworks and Tools 2017 5.2.50303.0
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 15.0.30209.0
Azure App Service Tools v3.0.0
Common Azure Tools 1.9
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Dotfuscator Community Edition 5.27.0.4679-release+ce-vs15.e4937ba.20161216.158
PreEmptive Protection - Dotfuscator CE
GitHub.VisualStudio 2.2.0.10
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
JavaScript Language Service 2.0
JavaScript Language Service
JavaScript Project System 2.0
JavaScript Project System
KofePackagePackage Extension 1.0
KofePackagePackage Visual Studio Extension Detailed Info
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
Node.js Tools 1.3.50417.1
Adds support for developing and debugging Node.js apps in Visual Studio
NuGet Package Manager 4.2.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Oracle Developer Tools for Visual Studio 12.2.0.1.0
Oracle Developer Tools for Visual Studio Copyright (c) 2005, 2017
Redgate SQL Search 2.3.10.1131
Search functionality for SQL Server databases, from within Visual Studio
SQL Server Data Tools 15.1.61702.140
Microsoft SQL Server Data Tools
TechTalk SpecFlow 30F08A29-D27E-42FF-92D3-50391313A1EF
TechTalk SpecFlow - Binding business requirements to .NET code, http://www.specflow.org
Copyright © 2009–2017 TechTalk
TypeScript 2.2.2.0
TypeScript tools for Visual Studio
Enabling Specflow tracing, the output panel shows me that the same set of files are being analyzed over and over. The messages ares prefixed by BindingFilesTracker. These files, however, are not annotated with [Binding].
I am still facing this issue in VSTS 17, I have cleared temp file but didn't worked out