Skip to content
#

bdd

Here are 1,258 public repositories matching this topic...

zfields
zfields commented Feb 12, 2021

Description

I have a hardware abstraction layer interface, as well as a driver interface. I have multiple drivers utilizing the HAL interface, while implementing the driver interface. This plugin approach causes me to have identically named tests across multiple test files.

For example:

TEST_CASE("init() returns `E_HAL_INIT`, when HardwareAbstractionLayer::init() returns an er
goshkis
goshkis commented Jun 4, 2021

The test below will execute "Keyword That Fails Test Case" 5 times, even when this keyword is explicitly failing the test case.

*** Keywords ***
Keyword That Fails Test Case
    Fail

*** Test Cases ***
Test One
    Wait Until Keyword Succeeds     5x    2s     Keyword That Fails Test Case

This is useful when in a keyword wrapped with WUKS we detect a terminal state.
Havi

lonnblad
lonnblad commented Jan 18, 2021

Please answer these questions before submitting a bug report.

What version of godog are you using?

> godog -version
Godog version is: v0.11.0

What version of Go are you using?

> go version
go version go1.15.6 darwin/amd64

What did you do?

  • Add a step to a feature file including a DocString which has no registered step definition.
  • Execute: `godog ru

Improve this page

Add a description, image, and links to the bdd topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the bdd topic, visit your repo's landing page and select "manage topics."

Learn more