atdd

RobotFramework: Maximum limit of started keywords exceeded

早过忘川 提交于 2021-02-18 19:22:13
问题 I'm new to RobotFramework and I'm trying to do a simple test. Print an "Hello world" using Log keyword and get a value from a java class (I'm using jybot on Ride): *** Settings *** Library robot.MyTest *** Test Cases *** Test1 Log Hello World INFO Get Value *** Keywords *** Get Value Get Value But when I run it, the test won't pass and it will give me this error: Starting test: MyTest.Test1 20140817 01:00:15.683 : INFO : Hello world 20140817 01:00:15.798 : FAIL : Maximum limit of started

IdentityServer3 xBehave test

99封情书 提交于 2019-12-12 03:54:03
问题 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 acceptance test. The only scenario I got right now is this: namespace SpecTesting { using System; using System.Net; using System.Net.Http; using System.Threading; using FluentAssertions; using IdentityModel.Client; using Xbehave; public class

how complete should SBE specifications be?

人盡茶涼 提交于 2019-12-11 19:08:00
问题 I'm working on a fairly large existing code base where SBE specifications are created to define the behavior of the product. There are currently around 450 scenarios, and this number is growing with each new feature added to the code base. Compared to traditional one line requirement statements, it is difficult to get a high level understanding of the functionality of the system due to wordy nature of the SBE specifications. As an example, the stories currently have a total of 46,830 words: $

When doing BDD, must I first TDD each piece of code needed to make an acceptance test pass?

泄露秘密 提交于 2019-12-06 02:15:04
问题 I've been given a kata to work on over the weekend. Before starting it I really just wanted to gather some thoughts. I'm not looking for the solution, just some ideas on the best approach/practice. From the conversation I had it would seem that I need to use a BDD --> ATDD (relate to scenarios in gherkin) --> TDD approach. I'm just looking to work out the best approach. My current thinking is to 1) Create a specflow project and distill the user story into a gherkin. 2) Create the associated