# Decision and test worksheet — Session 6

> Copy this worksheet to your workspace. Use fictional data. A portfolio title or course checkbox does not prove an app has been tested: keep the steps, results and remaining tasks.

## 1. One need and a first test

| Field | Your project |
|---|---|
| Specific task and people who will do it | |
| What the first version will do and what is out of scope | |
| Required data, types and fictional examples | |
| Devices, browser and connection | |
| Who can read and who can write | |
| Observable criterion for a successful test | |
| Repo, branch, commit and context documents | |

If you already have an app, start with a small change. You can keep its platform and improve it.

## 2. Keep the tool or compare another option?

| Question | Current option | Option to compare |
|---|---|---|
| What limit have I observed in a test? | | |
| Where are the frontend, backend, data and files? | | |
| Authentication and access rules I need to test | | |
| Services, plan, quotas and commercial use | | |
| Who pays and which controls are effective? | | |
| What can I export and how would I recover it? | | |
| Dependencies, maintenance and responsible person | | |
| Official source checked, date and points to confirm | | |

**Decision and reason:** continue, run a separate test or postpone. An AI recommendation does not activate an account, expenditure or migration.

## 3. Tests with results

| Case and environment | Expected result | Observed result / evidence | Status |
|---|---|---|---|
| Main action with valid data | | | Pending |
| Invalid input and visible error | | | Pending |
| An existing feature | | | Pending |
| Authorised and unauthorised user | | | Pending |
| Close/reopen at the same origin and profile | | | Pending |
| Write failure: do not say “saved” on failure | | | Pending |
| Export a backup and restore it in a separate environment | | | Pending |
| Invalid backup: reject without changing data | | | Pending |

Statuses: **checked**, **fails**, **pending**, **not applicable with a reason**. Distinguish simulated tests from tests against the real service. Keep credentials, OAuth URLs and personal data out of evidence.

## 4. If I need a local app or PWA

| Check | Evidence or pending task |
|---|---|
| Exact origin (protocol, host and port), profile and device | |
| Which features need a network and which do not | |
| Initial online load and active service worker, where applicable | |
| Offline reload, record creation and reopening | |
| Manifest, icons and installation in the actual browser | |
| Uncached resources: understandable response | |
| Data key and schema, export and restore | |
| v1→v2 update without losing records or text being edited | |
| Scope and paths under the project folder | |
| Synchronisation and conflicts, only if in scope | |

Installing an app does not test offline use. The resource cache is not a data backup. Before clearing storage to “fix” an error, export it and understand what it contains.

## 5. Complete a first cycle

- I can explain the need, limits and reason to keep or change tools.
- I have tested with fictional data and recorded the result and remaining tasks.
- I know where the data is, who can access it and how I would recover a backup.

In S6 you can check these three statements and **record the exercise as complete**. This is your declaration, rather than app certification. Portfolio statuses —in progress, tested or published— are declared separately. Export course progress from the menu; your apps’ data needs its own backup.

[Back to S6](../../../sessio_6/codi/sessio6.en.html) · [Local and PWA guide](guia-local-pwa-s6.md)
