Skip to main content

Reference

Use this section after completing the quick start. It contains the detailed action, property, validation, reporting, and design guides.

AreaReference
Browser and element actionsGUI actions
REST APIAPI request builder
CLITerminal actions
DatabaseDatabase actions
ConfigurationProperty types
AssertionsValidation overview
Engineering practicesSolution design

Start from the facade namespace for the surface you are testing:

SHAFT.API api = new SHAFT.API("https://jsonplaceholder.typicode.com");

api.get("/todos/1").perform();
api.assertThatResponse().extractedJsonValue("id").isEqualTo("1");