specflow Questions
6
Solved
I have installed Visual studio 2015 on multiple PC and application that is using SpecFlow. The application is working normally on 1 pc because everything there was installed long time ago. However ...
Soubise asked 11/5, 2016 at 10:28
9
Solved
I followed the getting started instructions and the "generate step definitions" is missing from context menu.
I tried adding the additional specflow packages from nuget for mstest and still nothin...
Aulic asked 7/6, 2016 at 15:24
5
Solved
I am following the technique outlined here
using a step defined like
[Given("some base scenario has happened")]
public void SomeBaseScenarioHasHappened()
{
Given("some condition");
And("some ac...
Bishopric asked 4/8, 2014 at 6:18
9
I keep getting the same message whenever I right click a scenario and "Generate Step Definitions" or "Go To Step Definition".
It worked the first time I tried, but it hasn't since.
I've filed a b...
Pavid asked 8/8, 2012 at 10:38
5
I have bindings in an external assembly (As per the specflow docs here)
We need this, as we are making a generic library of Step Definitions that can be used in any of our test suites.
It works, ho...
Countersignature asked 20/4, 2017 at 19:20
5
Solved
I have the latest version of SpecFlow installed, and still the feature files display uncoloured, like so...
Is there certain configurations that are set for colours to be displayed in Specflow fil...
Breadboard asked 20/1, 2017 at 10:23
4
Async/Await support for Specflow Steps =>
I would like to use SpecFlow with the Async Await Features of C#, windows phone 8,
SpecFlow with MSTest can execute Code using async / await but doesn't wa...
Interbedded asked 16/2, 2014 at 8:31
4
Unfortunately I have a Specflow test passing locally, but it fails on the VSO Build vNext server, and I really need to see verbose information during the test run so I can figure out what is going ...
3
I try to run SpecFlow tests with NUnit test runner in parallel. I am using:
C# / .Net Core 3.1
NUnit as testrunner
Specflow
I have added this line on top of a file (as describe here: https://spec...
Loggia asked 29/6, 2020 at 18:4
3
Multiple times throughout the day, my Test Explorer window in Visual Studio 2017 is locking up. Whilst it doesn't crash VS, when affected I can't run any tests as none of the options are available ...
Kyles asked 15/1, 2018 at 16:33
5
Solved
I have some SpecFlow features (using the Gherkin syntax) and I would like to temporarily disable the feature to prevent its tests from running?
Is there an attribute I can mark the feature with to...
13
Is it possible to "force" regenerate step definitions for a specflow feature file? I have created this feature file but cannot generate all steps. Am getting a message that all steps are already bo...
Phyletic asked 18/6, 2013 at 11:35
5
I have a very weird behavior with Specflow that only applies to one team member. Everyone else have no issue what so ever.
The VS2019 testrunner is correctly displaying all specflow tests, but whe...
Acidimeter asked 21/11, 2019 at 13:32
8
I have a problem with SpecFlow. We are using Azure Devops and when I build solution on my local machine it works perfectly but during Azure Devops build I am getting following error:
[error]C:\Win...
Costanza asked 19/3, 2020 at 10:36
1
I have the following specflow scenario:
Scenario: CasingMentions
When User mentions everyone with <casing> casing
Then user should be able to see the message they just sent
Examples:
| ...
Adjutant asked 20/12, 2019 at 14:31
10
Solved
I'm currently running tests through visual studio. Before all the tests are run, I automatically create a set number of users with know credentials, and at the end of the run I delete those users. ...
Hyperopia asked 11/6, 2015 at 16:51
5
I am getting the following error while trying to build my automation solution. Due to which i am unable to change anything in my feature file at the moment.
error Version conflict - SpecFlow Visua...
Riboflavin asked 7/6, 2019 at 22:41
3
Solved
I was getting the following error when running my tests using SpecFlow:
System.FormatException: Input string was not in a correct format.
And it took me a while to work out why it was happening....
4
Solved
We're using Unity as our dependency injection framework.
I want to create an acceptance test and need an instance of DossierService.
Unfortunately I get the following exception:
BoDi.ObjectCont...
Richelieu asked 22/9, 2017 at 6:22
4
Solved
How can I find Multiple Assertions or Soft Assert in xUnit? I found Nunit has below ability, trying to find similar options in xUnit.
Assert.Multiple(() =>
{
Assert.AreEqual(expectedResult1, ...
4
I want to have the following test step class structure:
[Binding]
public class BaseStep
{
[Given(@"there is a customer")]
public void GivenThereIsACustomer(Table table)
{
HandleCustomer(table)...
Evite asked 21/8, 2014 at 18:2
0
I have a suite of automation test using selenium that run using SpecFlow. I run the tests through a VSTest task in Azure DevOps Pipelines and I want to populate the Owner field.
I checked SpecFlow...
Charil asked 14/12, 2021 at 19:38
1
I am using SpecFlow with a .net 3.1 app. When I run/debug the tests I keep getting an error in some pretty deep dlls. It appears related to the ConfigurationManager.
2021-11-02T09:12:27.7102541-06...
Sulfonmethane asked 2/11, 2021 at 16:15
3
Solved
What is the best way to reuse SpecFlow Given/When/Then steps? I figured out three ways with all specific advantages and drawbacks, but I am not convinced this is the best way.
I have two projects ...
Phototube asked 30/3, 2015 at 15:0
5
Solved
How can I input a null value in Specflow through a table?
Let's look at an overly simplistic example:
When a tire is attached to a car
| CarId | TireModel | FabricationDate | Batch |
| 1 | Nokian...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.