SpecRun Console Tracer does not discover tests

361 views
Skip to first unread message

Jeff Woodruff

unread,
Feb 14, 2014, 11:29:00 AM2/14/14
to spe...@googlegroups.com
Has anyone come across this issues where the console tracer will not discover tests? Test Explorer will execute tests normally. 

App.config

<specFlow>
    <!-- For additional details on SpecFlow configuration options see http://go.specflow.org/doc-config -->
    <unitTestProvider name="SpecRun+MsTest" />
<plugins>
<add name="SpecRun"/>
</plugins>
</specFlow>


Thanks!

Gáspár Nagy

unread,
Feb 14, 2014, 11:58:23 AM2/14/14
to spe...@googlegroups.com
Is the code behind files properly regenerated after config changes? I.e. do you see generated classes there with SpecRun attributes?

BTW: For running the tests from VS, you don't need the "+MsTest" setting anymore.

Jeff Woodruff

unread,
Feb 14, 2014, 2:39:33 PM2/14/14
to spe...@googlegroups.com
The auto-generated specflow code behind the feature file does exist. and the TechTalk.SpecRun... attributes exist in that class. I also removed the +MsTest from the app.config and the feature class was successfully regenerated. 
 
Thanks

Gáspár Nagy

unread,
Feb 20, 2014, 2:53:36 AM2/20/14
to spe...@googlegroups.com
Hi,

Do you see any strange error message in the generated log file? If not, could you please send us a repro to https://specrun.zendesk.com/home?

Jeff Woodruff

unread,
Feb 25, 2014, 3:47:14 PM2/25/14
to spe...@googlegroups.com
Hi Gaspar, 

I was able to reproduce this issue with a new project. turns out to be a syntax error in my Default.srprofile  <Filter>@web &amp; !@load</Filter> verses <Filter>!@load</Filter> there was no indication of error or error message reflected in the log files. 

Gáspár Nagy

unread,
Mar 31, 2014, 3:58:06 AM3/31/14
to spe...@googlegroups.com
OK. I've registered this as an issue (better error message). Will be fixed in the next release.

Br,
Gaspar
Reply all
Reply to author
Forward
0 new messages