What is the use of cucumber in testing?
It provides a method for writing tests that anybody, regardless of technical experience, can comprehend. Before developers write their programmes, users (business analysts, product owners) prepare scenarios or acceptance tests that explain the system’s behaviour from the customer’s perspective for assessment and approval by the product owners.