Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-18 13:30:54 +03:00
parent ba3e7e4044
commit 58ac55c4ae
9 changed files with 26 additions and 20 deletions

View file

@ -62,6 +62,9 @@ When the user asks to **port** an iOS test to Android:
### Test class shape
- **Test method names are camelCase and always end with `Test`** (e.g. `groupTokensTest()`,
`renameWalletTest()`). Never use `snake_case` and never the unit-test `GIVEN … WHEN … THEN …`
backtick phrasing — that GWT convention is for JVM unit tests only, not instrumentation tests.
- **Scenario state setup goes in the test body**, not inside the open-the-feature helper. Each test
starts with explicit `step("Set WireMock scenario '$name' to '$state'") { setWireMockScenarioState(name, state) }`
calls, then calls a thin helper (e.g. `openTangemPay()`) that only opens the screen. Mirror the