September 2018
Intermediate to advanced
764 pages
20h 6m
English
So first, let's write a new scenario that'll test two things:
Your feature file might look something like this:
Scenario: Retrieve Salt of Non-Existent User When the client creates a GET request to /salt And set "email=non@existent.email" as a query parameter And sends the request Then our API should respond with a 200 HTTP status code And the payload of the response should be a string And the response string should satisfy the regular expression /^\$2a\$10\$[a-zA-Z0-9\.\/]{22}$/ ...Read now
Unlock full access