Hi Ana,

Sure it is possible, but it will depend on the test runner you are using 
with Specflow(NUnit, MSTest, Specflow+ Runner, ConsoleUnitTestRunner, and 
so on). Check your App.config file, and search for the "unitTestProvider" 
key.

Then you will need to configure your Jenkins job to call the test runner 
using the correct parameters. For example, if you are using NUnit you can 
use something like this, you can use a batch command:
nunit-console myassembly.dll */include:Smoke*

It would be easier to help if you could tell us what do you have right now. 
Do you already have your Jenkins job configured? Can you run all your tests 
in Jenkins? 

Regards,
André

quinta-feira, 14 de Janeiro de 2016 às 08:58:10 UTC, Ana Sousa escreveu:
>
> Hi all, 
>
> I have a lot of specflow feature files in my .Net code with loads of 
> scenarios for each feature file. 
> I'm putting some tags in the scenarios in order to categorize my tests and 
> only run sub-sets of the tests. My tags are as simple as @smoke 
> @integration @regression @critical.
>
> I was wondering if someone knows a way to configure CI (jenkins) in order 
> to run only the "smoke" or "critical" or "integration&regression" tags.
>
> Thank you for your help.
>
> Best regards,
> Ana
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1287eb32-f8ce-4ed3-a8ef-20d537a72465%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to