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.
| Surface | Page |
|---|---|
| Browser | Web testing |
| HTTP API | API testing |
| Android, iOS, or mobile web | Mobile and Flutter testing |
| Flutter locators | Flutter testing |
| JDBC | Database testing |
| Local, Docker, or SSH commands | CLI testing |
| Recorded HTTP or browser contracts | UI 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.