unickq/SpecFlow.Selenium.Plugin

No test matches the given testcase filter " not able run the tests

PoojaGugu opened this issue ยท 10 comments

[10/31/2018 3:18:49 PM Warning] No test matches the given testcase filter " not able run the tests

I am using 2017 Visual Studio
TechTalk.SpecFlow version 2.4.0
Unickq.SpecFlow.Selenium.SpecFlowPlugin version 1.3.0.0
WebDriver version is 3.14.0.0

When trying run in debug mode getting below exception

'testhost.x86.exe' (CLR v4.0.30319: Dependency finder domain): Unloaded 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\EXTENSIONS\TESTPLATFORM\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll'
The thread 0x34c0 has exited with code 0 (0x0).
The thread 0x18d4 has exited with code 0 (0x0).
The program '[16712] testhost.x86.exe: Program Trace' has exited with code 0 (0x0).
The program '[16712] testhost.x86.exe' has exited with code 0 (0x0)

What's your NUnit version, @PoojaGugu ?

NUnit.Framework version 3.10.1.0

Upgraded version 3.11.0.0 still not working

Didn't get the problem you have.

You installed:

  • Visual Studio 2017
  • TechTalk.SpecFlow 2.4.0
  • Unickq.SpecFlow.Selenium.SpecFlowPlugin 1.3.0.0 with dependencies
  • Selenium 3.14
  • NUnit 3.11

What do you do next? You generated code from feature files and run it with VS test runner?

when trying to run i am getting above error

Step 1 :Create the feature file
Step 2 :Generated the Step definitions and updated the function
Test explore run the test getting below message
\source\repos\SampleTestOnemoreTime\SampleTestOnemoreTime\bin\Debug\SampleTestOnemoreTime.dll
[11/2/2018 11:23:32 AM Informational] ========== Run test finished: 0 run (0:00:00.5394029) ==========
[11/2/2018 11:24:31 AM Informational] ------ Run test started ------
[11/2/2018 11:24:32 AM Warning] No test is available in C:\Users\venkatasiva.b\source\repos\SampleTestOnemoreTime\SampleTestOnemoreTime\bin\Debug\SampleTestOnemoreTime.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
[11/2/2018 11:24:32 AM Informational] ========== Run test finished: 0 run (0:00:00.6144884) ==========

Do you have NUnit3TestAdapter installed?

Not installed . i will try now with installing the NUnit3TestAdapter

Hi unickq
Its working now thanks for your help

Do you have NUnit3TestAdapter installed?

Thanks, I had the same issue, fixed after install NUnit3TestAdapter.