Key takeaways
- Decide what a successful workflow looks like before asking AI to write tests for it.
- Automate important permission boundaries, data changes, and high-consequence repeat actions.
- Give people a short device and accessibility checklist. Combine observed behavior with code-level tests.
- Record the tested version, environment, and unresolved risks before release.
Which tests should you add for an AI-built app first?
Start with the app’s most important promise to a user. In an appointment app, a request should result in one accurate booking and a confirmation the user can trust. Write down what should happen before entering the first test. Include the date, time zone, availability, and what a user sees when a slot is taken. Test records that matter to that decision will help more than a collection of empty form submissions.
Next, choose a predictable failure. If a person has an intermittent connection, the request may reach the server before the phone receives the confirmation. Decide what the app should do when the person retries. Verify what the app shows and which records exist. The team needs to know whether the use case requires one booking, a warning, or a way for staff to intervene.
Then add one access boundary. If a booking belongs to one branch or account, check that appropriate people can see it and that a different test account cannot. Use the application’s normal behavior and a staging environment with synthetic data. Document how to repeat the check, including the roles and which records belong to each test account.
| Risk in the release | Useful first test | What a person should check |
|---|---|---|
| A form saves the wrong value | Unit test for the calculation or data transformation | Error messages explain what users can correct |
| A request is sent twice | Integration test that repeats an approved sample request | Phone feedback tells users whether to wait, retry, or stop |
| A role sees unintended data | Test representative allowed and denied actions with staging accounts | The displayed data makes sense for each staff role |
| A record never reaches a second service | Integration check plus one end-to-end case | Staff know how to recover or reconcile a missing handoff |
| A critical action is hard to complete on a phone | Browser automation for the normal flow at a supported size | Keyboard, zoom, touch, and assistive technology checks where relevant |
Add tests for the most consequential failures, then for defects users or staff actually discover. If a missed test could let a wrong invoice go out, prioritize it over changes that only affect presentation. Make the first group small enough that the team will run it on every relevant change.
What is the difference between unit, integration, and end-to-end tests?
A unit test looks at a small piece of logic with controlled inputs. A price rounding rule or accepted delivery window is a good subject. It can cover unusual dates, edge values, and combinations cheaply. Ask for tests that use the examples someone from the business recognizes. If the test copies the same calculation from the feature, the feature and test may repeat the same assumption.
An integration test checks the interaction between parts, such as whether the server saves a new request and assigns the expected role, or how a queued notification is handled when a provider is temporarily unavailable. Decide whether using a test instance of a real service is practical. Simulated responses help exercise failure cases, and a separate test integration can catch differences in what the provider accepts.
An end-to-end test follows a user through the application, often in a browser or on an emulator. It can check sign-in, making a request, and seeing the resulting confirmation. The strongest examples observe the same business result a user cares about. For a dispatch tool that may be a confirmed assignment visible to the expected technician. Checking for the existence of a button gives a narrower signal.
Playwright’s guidance recommends focusing on user-visible behavior and keeping tests isolated. Testing Library encourages tests to resemble how people use the software. Apply both ideas when choosing what to assert and which controls to interact with. Playwright best practices, Testing Library guiding principles.
How do you know if an AI-written test is useful?
Review what the test would actually catch. Ask which business rule it verifies, which assumptions it makes about data, and what failure would tell a developer. A passing test that only waits for the dashboard to load can coexist with a broken approval workflow. If a test was generated from the application code, give it independently written expected outcomes from the people who know the workflow.
Have someone read the setup. A test can pass as an administrator when the user role being tested should have fewer permissions. Confirm identities, permissions, and records match the case. Prepare the necessary sample records explicitly and isolate separate tests where possible. A failure should be repeatable without depending on another test to create the right conditions.
Use review and change control for the tests themselves. When an AI tool proposes changing a test’s expectation to match its new code, ask what changed in the requirements. Keep an explanation with the change if the business rule really did change. If the old expectation was correct, preserve it and fix the code so the workflow behaves as agreed.
Look at realism where outside services are relevant. A simulated payment success can cover an expected UI. An approved sandbox test can confirm the app and provider agree about the order reference or event type. Document what a test simulates and where you still need evidence from the provider, device, or staffed process.

What belongs in a practical manual QA checklist?
Make a short checklist by audience and device. A small pilot may need the main iPhone and Android browsers and the desktop workflow staff actually use. For a native iOS or Android app, include suitable physical devices to check behavior such as camera permissions, notifications, poor connections, and returning to the app after leaving it in the background. Record OS and build versions so a failed check can be repeated.
- Start fresh and return later. Create a sample account, sign in again after closing the app, and try the approved account recovery path.
- Complete the critical task. Ask someone who did not build the screen to perform it with a realistic example. Watch for unclear labels, missed confirmations, or a support step the team forgot to mention.
- Exercise one permitted exception. Try a canceled order, a mistake a user can correct, or a brief connection interruption. Verify the help message and record outcome.
- Check permissions using sample roles. Confirm staff and customers see the actions intended for them, including notices and file links.
- Review the device experience. Try a small screen, different text sizes, keyboard focus, and assistive technology checks appropriate for your audience.
- Verify after a supported upgrade. If people already have data or a prior app version, rehearse the upgrade with safe data. Check what remains available and who handles a failed upgrade.
Set aside time for a practitioner to test the whole flow. An appointment coordinator may enter travel time between jobs in a way a developer would never think to try. A cash office worker can point out how refunds are reconciled at shift change. Their comments help choose which edge cases become repeatable tests for later releases.
Artemesis is a Bangladesh-based team that works remotely with U.S. businesses. If your AI-built app has no repeatable release checks yet, book a review of the app’s test plan. Bring the workflow that users will rely on first.
What should happen when an automated test fails?
Start by asking whether the environment matched the case and whether the user-visible behavior changed. Save a short error description, the version, and any approved evidence. Keep credentials and private data out of screenshots and logs. If there is uncertainty, repeat the case with an independent set of sample records and identify the point at which the behavior diverges.
Give the failure a named owner and a release decision. A broken booking confirmation may hold the release because people could miss appointments. A layout issue in an internal report may be acceptable for a small pilot if there is a clear workaround and the owner agrees. Ask how to make the same issue observable in the next build even if it came from an unpredictable situation.
Track intermittent tests as engineering work. Find whether the test waits for the wrong event, reuses records, relies on a slow external service, or exposes an actual timing problem. Retry can help diagnose the difference. Keep the affected behavior visible and decide what other evidence the release needs while the team investigates.
Example scenario, not a real client. A small training company plans to release a tool that enrolls students in scheduled sessions. Its first test checks that a student sees the correct confirmation after enrollment. A second test makes sure a request made after seats fill has a clear outcome and leaves registration counts unchanged. The coordinator manually tries a correction in two browsers and discovers that the original confirmation email still links to the old time. The team defines what users should be told after changes, then verifies the screen, record, and email together.
How should you use testing after launch?
Connect tests to the normal process for changing the application. Run fast checks for individual changes. Run broader checks against a representative environment before the wider release. Record what passed on which build, what was reviewed manually, and who accepted any open issues. Include a clear contact for early reports, so staff can describe what they observed when wording, network conditions, or device changes affect behavior.
For more guidance, see the pre-launch security checklist, what changes when a prototype enters production, and AI-generated app audit scope. Artemesis vibe code rescue and release support can help when tests uncover problems the team needs to fix before rollout.
Frequently asked questions
Can AI write my app’s automated tests?
It can draft and maintain tests under review. A person should confirm that each critical test uses realistic sample data and an expected result from the business. Review changes to test expectations as carefully as changes to the feature.
Do I need a test for every screen before launch?
Start with the routes and tasks people need to complete. Add coverage where the consequences of failure are larger or where users move between systems. Use representative manual checks for layouts and flows that change often.
What should I ask a QA tester to record?
Ask for the app version, environment, device, sample role, steps taken, expected result, and observed result. Include screenshots only when they are approved and do not reveal sensitive information.
Should tests use real customer accounts?
Use representative test accounts and synthetic records for routine checking. If a live issue requires production observation, follow your company’s authorization and data-handling process before collecting evidence.
Is test coverage a reliable launch decision?
Coverage can help identify code that tests never run. An agreed group of user workflows and failure cases gives additional evidence about what people can safely rely on. Document gaps and who accepts their effect on the release.
Share your first release workflow with Artemesis if you want help turning it into a testable QA plan.
