What is use of @Shared annotation in Serenity?

  • Alakh Gupta
  • 03rd Apr, 2020

1 answer(s) :

  •   Reply


    30th May, 2023

    In the context of Serenity, an open-source library for behavior-driven development (BDD) and acceptance testing in Java, the @Shared annotation is used to define shared state or resources among multiple test scenarios or steps within a test suite.

Post your Answer :

Valid name is required.

Valid name is required.

Valid email id is required.