bdd Questions

1

I have bdd-test for my app , I use compose and espresso, and I have this error : java.lang.IllegalStateException: No compose hierarchies found in the app. Possible reasons include: (1) the Activity...

6

Solved

I'm juggling code branches that were partly done a few months ago, with intertwined dependencies. So the easiest way to move forward is to mark failing tests on a particular branch as pending (the ...
Therianthropic asked 7/4, 2016 at 16:45

19

I can't start mongoDB with the command "sudo systemctl start mongod". I'm getting the following message : ● mongod.service - MongoDB Database Server Loaded: loaded (/lib/systemd/system/mongod.se...
Windfall asked 19/2, 2020 at 21:32

10

I have created a Cucumber feature file and steps file, then I have clicked "Run configurations" for feature file and I see the following in the console. How can I solve this problem? *Fea...
Burnish asked 29/8, 2021 at 16:11

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

4

Solved

So I have the following code: When("SMS with location update command is received") { every { context.getString(R.string.location_sms, any(), any(), any(), any()) } returns "loc" mainServiceVie...
Horacehoracio asked 22/12, 2019 at 7:1

1

Recently Playwright implemented new UI mode which could be runned with npx playwright test --ui I'm using cucumber-js with Playwright. Is any way to run cucumber tests with playwright in that --ui ...
Inductive asked 17/4, 2023 at 13:51

8

Solved

I am trying to submit a form without button using just Capybara and Rspec (no Cucumber or Selenium, I know there is already a question about that). I've seen there is a gist to add a method to sub...
Heterocyclic asked 6/1, 2012 at 11:58

5

Created a new generic Serenity BDD JBehave framework with Maven ( via command line). Imported the project into Intelli J but when i try to run the "AcceptanceTestSuite" I get an error saying "No ...
Avuncular asked 12/7, 2018 at 14:42

17

Solved

Could anyone explain the word regression test in an understandable way?
Sowder asked 12/8, 2010 at 3:51

5

Solved

In my app I want to have a Car model. It will have two fields among others: date_from and date_till (to specify a period of time someone was using it). And I want the model to validate that date_fr...
Albata asked 22/2, 2013 at 9:18

6

Solved

I like the middle-out development that is achieved with DDD. Development is driven by domain, the most solid part of application. We don't depend on infrastructure, persistence and presentation. Th...
Acyclic asked 22/8, 2011 at 13:11

3

Solved

I've been working with Cucumber for about a year and have been continually refactoring the features and step definitions along the way. I have tons of steps defined across many files and I can't he...
Ivan asked 23/1, 2012 at 1:32

4

When doing BDD, it seems that Cucumber is the default tool to specify behaviors, however the Cucumber website and articles look a bit out of date and not very active. What are the alternatives ? ...
Diplococcus asked 4/4, 2014 at 6:54

3

Edit: I am no longer working on this project, but I will leave this question open until answered in case it is of use to anyone. I am working on implementing pytest-bdd and I am trying to import u...
Amick asked 10/9, 2018 at 21:18

5

I have a 'behave' feature that has a lot of tests on it. I only need to run a specific scenario for development needs. How do I do it? (preferably on the command line)
Lizzettelizzie asked 20/11, 2014 at 1:31

8

Solved

Context: I am using Python with Behave (BDD). Whether I run my tests from the command line (behave) or from a custom main(), the behavior is the same: the test runs and the only output that I see ...
Gerundive asked 6/8, 2014 at 0:17

5

I am using Capybara 1.0.0 for my acceptance test and really liked it until I got stuck in one place. My problem is I have used jQuery datepicker, and right now I am confused how to select date from...
Nexus asked 19/7, 2011 at 11:12

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

4

As the title suggests, I wish to run some certain configuration / environment setup steps before a scenario outline. I know there is Background to do this for scenarios, but Behave splits a scenari...
Barth asked 7/12, 2015 at 4:31

10

Solved

I honestly don't see the difference between BDD and TDD. I mean, both are just tests if what is expected happens. I've seen BDD Tests that are so fleshed out they practically count as TDD tests, an...
Eggett asked 9/12, 2010 at 6:24

2

Solved

What does that line of code do? assigns(:articles).should eq([article]) in the following rspec describe "GET #index" do it "populates an array of articles" do article = Factory(:article) g...
Snicker asked 21/4, 2013 at 16:2

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....
Homans asked 1/4, 2015 at 14:38

6

Solved

Currently, I have found that cucumber test suite runs the feature files alphabetically. Please let me know if there is any option/configuration that I might be missing. Thanks.
Blanche asked 5/8, 2016 at 5:22

6

Solved

For Java there are external report generation tools like extent-report,testNG. The Junit produces the xml format output for individual feature file. To get a detailed report, I don't see an option ...
Clearsighted asked 23/11, 2016 at 11:19

© 2022 - 2024 — McMap. All rights reserved.