Questions tagged [specrun]

SpecRun is an integration test runner for SpecFlow.

101 questions
0
votes
2 answers

Running Specrun and using 'Baseclass.contrib.Specflow' for cross browser parameterized tests in VS2015

I would like to use SpecRunner along with the library 'Baseclass.Contrib.SpecFlow.Selenium.NUnit.' When I added SpecRunner for SpecFlow 2 from Manage Nuget Packages, the unit test provider was 'SpecRun' in app.config. Then when added to…
user5199
  • 359
  • 2
  • 15
0
votes
2 answers

Feature file execution with NUnit

I am trying to run a feature file with NUnit Console. I tried googling it and checked NUnit3 help also. But I am unable to find any help. I want to run either single feature file or any scenario in a feature file which has tag assigned. I am using…
Sachin
  • 11
  • 3
0
votes
1 answer

Change SpecFlow+ runner report output link

We are using Jenkins in our build cycle to run our specflow tests. We are trying to find a better way to surface the test results. The generated html report file is great, but right now we have to manually log into the build server to check it out.…
BradStell
  • 371
  • 3
  • 17
0
votes
3 answers

How can I provide Specflow to execute the same scenario multiple times?

With SpeFlow+SpecRun every faild test Case will be executed three times. And if one of this executions is Failed the Scenario will be Failed despite it is Passed. There's is any configuration to do it to provide this mode of execution. And The…
user3446229
  • 95
  • 3
  • 3
  • 14
0
votes
1 answer

Nunit - how can I grab data from the nunit compiler?

I know that there is a way for me to pull data out of the NUnit compiler but cannot find the web URLs with the documentation. Essentially it was how to setup a class with getter setters to pull NUnit time run, assert results, name, literally…
l3l00
  • 55
  • 1
  • 7
0
votes
0 answers

How to run 2 Specrun Profile profile tests with Jenkins

i have Automation scripts for responsive design for Iphone 5 and Iphone 6. Is there any way we can run the same code under both the profile together? Currently the way i have configured jenkins is run 2 separate widnows batch command one by one…
vic
  • 217
  • 1
  • 7
  • 18
0
votes
0 answers

Specflow Tests to Make Pass (Green )in Jenkins if Ignored or Pending test found

I m running specflow tests in Jenkins and everytime when test is pending/ Ignored/ Inconclusive it is making whole test suite to be fail (Like Red Jenkins build). How can i eliminate that to happen and make the Jenkins build green ? Note:- We are…
vic
  • 217
  • 1
  • 7
  • 18
0
votes
1 answer

What is the maximum number of threads available in SpecRun

So, I am using SpecRun to run my tests in parallel. In SpecRun, you have the property 'testThreadCount' which allows you to specify the number of threads. But having looked at the Specflow documentation (along with everywhere else), I am not sure…
Code Rocker
  • 500
  • 4
  • 15
0
votes
3 answers

SpecFlow - Is there a way that i can run scenarios out of VS with values set by user input?

First of all i'm new here and new to SpecFlow. I'll try to be as clear as possible because I'm still exploring ways to solve my problems so please bear with me :) Alright here I go. I have a solution (lets call it DBHelper) that does a few…
Picnic8
  • 363
  • 2
  • 12
0
votes
1 answer

Specflow configure stopAfterFailures and retryFor by code

I am using Specflow with MsTest and C#. I can configure stopAfterFailures and retryFor using Default.srprofile which applied to all scenario, but i want to configure it by code may be in Hooks. So i can configure it feature wise. How can I configure…
0
votes
1 answer

Before Feature of SpecRun runs on all thread

I have been using SpecRun and found this behavior that it executes the BeforeFeature and AfterFeature steps in all the available threads. I was hoping it will only execute the said steps "once and on a single thread". Ideal Scenario for 3 thread…
0
votes
1 answer

Specrun Command Line Filters

Need some help here. I am trying to run specrun from a command line and it is ignoring everything but the first tag. Per some other posts, the help file is incorrect. Help File [/filter:value] Filter expression (overrides profile setting), e.g.…
Dazed
  • 1,527
  • 1
  • 13
  • 25
0
votes
1 answer

Execute mutliple feature files in a project using specrun

Is there any way to execute multiple feature files within a project using specrun.exe eg: I have a project Student, and I have the below feature files: a.Maths b.Biology C.Chemistry d.Physics. Now I need to execute Maths and Physics together. How…
user1117040
  • 131
  • 2
  • 2
  • 11
0
votes
0 answers

AWS VM:- Execute tests on multiple threads in parallel with SPecrun

I've AWS VM and i'm trying to run the Parallel tests with specrun and Profile transformation but it is only running for one thread and failing for other and test is getting skipped . Is there any settings we need to enabled on AWS VM ? or may be…
vic
  • 217
  • 1
  • 7
  • 18
0
votes
1 answer

Getting Scenario outline examples

I currently want to return the rows for the Examples for Scenario Outlines and get the size of the rows, however I am unable to do this as when SpecRun reads the feature files, it automatically converts scenario outline examples into individual…
matt
  • 41
  • 3