Questions tagged [atdd]

Acceptance Test Driven Development (ATDD)

Acceptance Test-Driven Development (ATDD or A-TDD) is a collaborative approach to defining requirements and business-oriented functional tests for software products based on capturing and illustrating requirements using realistic examples instead of abstract statements. It is applied in the context of Agile software development methods, in particular Behavior driven development.

This approach is particularly successful for managing requirements and functional tests on large-scale projects of significant domain and organisational complexity.

Acceptance Test-Driven Development is also known as: Specification by example, Example-driven development, Executable requirements, Agile Acceptance Testing.

58 questions
0
votes
2 answers

Cucumber framework throwing an error while running tests

I am using Cucumber framework for writing my ATDD's. I am getting the below error when trying to run Cucumber test. [INFO] Running my.package.RunCukesTests [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.146 s <<< FAILURE!…
ging
  • 117
  • 8
0
votes
1 answer

cucumber-protactor-typescript correct way to set up sleep and element by css

I would like to click on a user-provided CSS string using protractor, cucumber, and typescript, however, the code I wrote does not seem to work here. element(by.id(x)) works perfectly, however element(by.css(x)) doesnt Steps.ts import { Given, Then,…
Peter Toth
  • 678
  • 6
  • 23
0
votes
0 answers

Rerun Failed test cases from output.xml using jython in robot/RIDE

I am using RIDE 1.3 using robotframework 2.8.7 running on Python 2.7.6. To execute my test I use jybot. The Jython version is Jython 2.5.3. I have an output XML generate from a previous run with failed cases. Now I need to selectively execute only…
Shan
  • 71
  • 1
  • 10
0
votes
0 answers

What is best practice from verifying many fields in cucumber/Gherkin?

What is the best practice for verifying a REST response that contains multiple relevant fields in cucmber/Gherkin? We are using scenario outlines so things are parameterized with examples tables. Here are some approaches I've considered: Simplest…
cont
  • 23
  • 4
0
votes
0 answers

writing ATDDs for batch job

I am trying to write ATDDs for a batch job. The job has the following scenario: It checks the DB and if some event has been recorded 7 days back, it will pick up that event and reprocess. Here, 7 days is the pre-requirement to process it. While…
user123475
  • 1,065
  • 4
  • 17
  • 29
0
votes
1 answer

When using automation tests to drive the design of your automation framework, what is this called?

We use a very effective technique of developing automated functional tests for our system. We write the functional tests first(like a Selenium test), based on the manual test case, and then use those tests to drive the development of our automation…
Nikolay Advolodkin
  • 1,820
  • 2
  • 24
  • 28
0
votes
1 answer

ATDD, Gherkin, Specflow approach, blackbox testing issue

I am trying to get some experience in developing outside in with ATDD and now i got my first roadblock. The application is a simple desktop application (wpf) which should be able to search the filesystem for duplicates. The first feature i want to…
Jason Grant
  • 77
  • 1
  • 5
0
votes
1 answer

IdentityServer4 first acceptance test

I am starting a new project to create an authentication api using IdentityServer4 following TDD. Many microservices and websites will be using this to authenticate users. But I could not figure out first 3 acceptance tests for the project. Any help…
MJK
  • 3,434
  • 3
  • 32
  • 55
0
votes
1 answer

IdentityServer3 xBehave test

I wanted to write acceptance tests for my WebApi and IdentityServer. To keep things as simple as possible I copied the whole sample project from here but added another project, that essentially makes the same as the console client would but as a…
Domenic
  • 708
  • 1
  • 9
  • 23
0
votes
1 answer

How to extract weekly report and log from a test under execution for 60 days in Robot Framework

I am running a performance/reliability/stress(P/S/R) testing script in my SUT(system under test) using Robot Framework and some internal libraries (e.g. s2l, os, bulletin, collection, datetime and some own in-house libraries), and which need to run…
0
votes
1 answer

DateTime Library in Robot Framework

Is it possible to use DateTime library in RobotFrame version 2.8.4, I have checked and come to know that DateTime library comes with RF version 2.8.5 only. So, in my case, i am using the older version which do not have the DateTime library support.…
rk_12
  • 27
  • 8
0
votes
2 answers

Does Behavior Driven Development just Acceptance testing Software?

I want to know that,does BDD just work in acceptance test level? If not, does it work in unit test level as well? Does BDD have any suggestion For Unit tests? thank you
Mahsa M
  • 43
  • 3
0
votes
2 answers

How to make a feature run before other

I have two cucumber feature ( DeleteAccountingYear.feature and AddAccountingYear.feature). How can i do to make that the second feature(AddAccountingYear.feature) run before the first one (AddAccountingYear.feature).
gasmyr
  • 11
  • 1
  • 4
0
votes
3 answers

What kind of test is it in "TDD"?

In our development, we use TDD, so we have some tests like this: "User" should { "return 'Mike' if its name is 'Mike'" in { val user = User("Mike") user.getName === "Mike" } "return 20 if its age is 20" in { val user = User(age…
Freewind
  • 193,756
  • 157
  • 432
  • 708
0
votes
1 answer

How to workaround jbehave bug when combining meta parameters and example table

I'm using project made from 0.9.229 thucydides-jbehave archetype. Here I have some jbehave story: Narrative: Some text Meta: @registrator1 666-126 @registrator2 666-127 @reg1 666126 @reg1 666127 @ip 172.16.1.2 @zone1 666-126-666-127 Scenario:…
Eljah
  • 4,188
  • 4
  • 41
  • 85