Skip to main content

Questions tagged [bdd]

BDD stands for "Behavior-Driven Development," a software development style that encourages cooperation between developers and stakeholders through identifying and exploring different examples of how a system or smaller element of code might work from a user's perspective.

1 vote
1 answer
117 views

I’m working on a three layers architecture backend (Laravel). Here’s the context: I have a PasswordService responsible for updating a user’s password. and a Otpservice responsible for verifying/...
aymen's user avatar
  • 23
1 vote
0 answers
104 views

I'm working on a refactoring tool that makes necessary adjustments to a Rust project when moving a source file from one location to another. Quick Explanation In Rust, source files are known as "...
verified_tinker's user avatar
0 votes
2 answers
202 views

BDD advocates for outside-in development because having a clear goal for your code helps you avoid getting bogged down in unnecessary details. It is usually mentioned in the same breath as DDD, but I'...
verified_tinker's user avatar
-1 votes
1 answer
293 views

I am currently learning about BDD (Cucumber/Gherkin) in test automation. I am wondering about reusing simpler test scenarios or step definitions for more complex scenarios. Specifically, I am working ...
uhohitsjennaaa's user avatar
11 votes
4 answers
3k views

I'm trying to practice BDD by applying it to a simple problem—in this case, the flocking algorithm, better known as "boids". Before any of the rules (cohesion, alignment, etc.) comes the ...
verified_tinker's user avatar
0 votes
2 answers
228 views

Behavior-driven development is meant to be used at the business/user level. However, I find the keywords "Given - When - Then" a good format for technical stories as well, but I am very ...
Nomnom's user avatar
  • 111
2 votes
2 answers
700 views

I am talking about these two testing strategies : Have a pyramid of tests (with many more unit tests than high-level tests), because high level tests are harder to maintain and slower (see also : ...
Tristan's user avatar
  • 207
9 votes
5 answers
3k views

In university, we were introduced to the two terms "verification" and "validation". The definitions can be summarized as follows: Validation checks that the specifications and ...
BenjyTec's user avatar
  • 201
2 votes
2 answers
336 views

I'm following roughly the TDD style as explained in the "Obey the Testing Goat" book: You have a functional test for your (Django, in my case) web app that tests the observable behaviour via ...
Lagerbaer's user avatar
  • 556
0 votes
2 answers
357 views

The web application I am working on is currently (partially) tested automatically. All scenarios are hardcoded in custom code in this way : WebElement bt = findButtonWithLabel("foo") bt....
fluminis's user avatar
  • 583
1 vote
1 answer
120 views

I'm implementing the steps of a feature with Specflow and I have a problem with one of the steps. Here is the Scenario : Scenario: Cancel a yearly running subscription after legal retractation ...
OrcusZ's user avatar
  • 129
5 votes
4 answers
506 views

When looking and Behavior-Driven development, "Behavior-driven development is an extension of test-driven development" (From Wikipedia). Researching around various articles, behavior-driven ...
Dane Bouchie's user avatar
49 votes
8 answers
15k views

I have been using TDD when developing some of my side projects and have been loving it. The issue, however, is that stubbing classes for unit tests is a pain and makes you afraid of refactoring. I ...
kibe's user avatar
  • 738
-3 votes
1 answer
398 views

I was wondering if its a requirement to consider BDD the use of Cucumber framework or other framework of test abstraction. Because I was playing around with @SpringbootTest and TestContainers(both ...
Ramon jansen gomez's user avatar
1 vote
2 answers
369 views

TL; DR Given BDD documentation with features composed by several scenarios, should we: Create a single interactor per feature Create minor interactors per scenario, and composing the feature ...
JP Ventura's user avatar

15 30 50 per page
1
2 3 4 5
10