What are annotations in JBehave?

devquora
devquora

Posted On: Mar 18, 2020

 

Jbehave supports the following annotations:

Step annotations

  • @Given
  • @When
  • @Then
  • @Alias
  • @Aliases
  • @Pending

Scenario Annotations

  • @BeforeScenario
  • @AfterScenario

Story Annotations

  • @BeforeStory
  • @AfterStory

Stories Annotations

  • @BeforeStories
  • @Afterstories

Parameter Annotations

  • @Named

Configuration Annotations

  • @AsparamterCoverter
  • @Configure
  • @UsingEmbedder
  • @UsingSteps
  • @UsingGuice
  • @UsingNeedle
  • @NeedleInjectionsProvider
  • @UsingPico
  • @UsingSpring

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    JBehave Interview Questions

    Explain what is JBehave?

    JBehave is a software-based in java language for Behaviour Driven Development (BDD). It is developed to make practices such as test-driven development(TDD) and Acceptance-driven design(ATD) which are ...

    JBehave Interview Questions

    Enlist the major features of JBehave?

    The following are the features of Jbehave:It has the feature of Ant integration which gives its stories an advantage to run via an Ant task. User stories can be written in JBehave syntax and Ghe...

    JBehave Interview Questions

    List different typs of modules in JBehave?

    The following are the different types of modules in JBehave are:Game of life: used to verify multi-line scenarios behavior Gherkin: it verifies to pass gherkin based features Groovy: verifies gr...