Skip to main content

Add a test surface

For a project that already has a green mvn test. Pick one surface, follow that page's sample, and stop when that sample is part of the same run.

SurfacePage
BrowserWeb testing
HTTP APIAPI testing
Android, iOS, or mobile webMobile and Flutter testing
Flutter locatorsFlutter testing
JDBCDatabase testing
Local, Docker, or SSH commandsCLI testing
Recorded HTTP or browser contractsUI and API contract replay

Generate the extra surface from Install SHAFT when you would rather start a new module than edit the POM by hand. Device and browser installs are Install local infrastructure, after the sample compiles.

mvn test

Why a locator flake happens is background: How SHAFT reduces flakiness.