Enlist different types of hooks in cucumber?

devquora
devquora

Posted On: Feb 25, 2020

 

There are two types of hooks in cucumber that we use;

Before hook and After hook. Before hook is used to execute well before any scenario and After hook as the name suggests is used to execute well after any scenario.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Cucumber Interview Questions

    What is cucumber

    A cucumber is a software tool that supports Behaviour Driven Development (BDD). It gives the benefit of writing tests that can be easily understood by anyone even if the particular person hasn’t...

    Cucumber Interview Questions

    What is profile in cucumber?

    The profiles in cucumber allow an easy way of defining groups of tests in a feature file in order to choose to only run a select group instead of running every command when we test a particular featur...

    Cucumber Interview Questions

    Enlist some features of cucumber?

    Some features of cucumber:It is an efficient software for testing Its setup is quick and has an easier setup as well as execution Style of writing tests allows for easier reuse of codes in the ...