QA Interview Hub · Knowledge base · Quizzes · Українська
76 QA Fundamentals questions that come up in QA interviews, with short answers. Open the topic in the knowledge base for a deeper explanation.
Static testing is without running the program: reviews of requirements, design, code. Dynamic testing is when we run the system and check its behaviour. Static finds defects directly, often earlier and cheaper, before the code exists: for example, I find a contradiction in the requirements already at grooming. Dynamic causes a failure, and the defect is then found by analysis.
Testing is the search for defects and the evaluation of the quality of the product and its work products (requirements, design, code). QC is quality control of the product, and testing is its main part. QA is wider: it is work on the process so that defects don't appear at all, with standards, retrospectives, process improvements. Testing is part of QC, while QA works on the process to prevent defects.
A product risk is a possible event in which the product itself fails the needs of its users: a payment failure, data loss, a slow search, a vulnerability. Product risks decide what to test deeper: risky areas get more test cases, earlier, with stronger techniques. A project risk threatens the work itself: too few people, an unstable environment, late requirements, a dependency on someone else's API, a tight deadline. They are not "tested", they are managed in the plan: a time buffer, a spare environment, agreed dates, early access to dependencies. For each risk you estimate likelihood and impact, and their product or a risk matrix gives the risk level: the highest ones get the first effort.
The levels run from none to maximum: the author tests their own code; another developer tests it; a tester inside the same team; a separate QA team in the organisation; an external company. The higher the independence, the less the author's bias and the likelier you are to find what the author missed, because a different person reads the requirements differently. The downside: isolation, slower feedback and a "throw it over the wall" attitude, where developers relax and treat quality as QA's job while testers know the code less. Independence is a scale, not good or bad: developers write unit tests themselves, while acceptance of a risky release is better given to someone outside.
No number of tests proves that there are no defects: exhaustive testing is impossible, so tests only lower the probability of hidden defects. That is why a release report does not say "no bugs" or "the product is good". It says what was covered (requirements and risks), which defects were found and closed, which are known and open with an impact estimate, and what was not tested and why. The remaining risk stays and is accepted by whoever decides on the release: the report gives them information, not a guarantee.
A level answers "what do we test, by scope": component (unit), component integration, system, system integration, acceptance. These are stages of assembling the system, each with its own test object and owner. A type answers "what do we check and from which angle": ISTQB names functional, non-functional (performance, security, usability), black-box and white-box. Change-related testing stands apart: confirmation of a fix and regression. All of these can be done on any level: load testing can be done on a single service or on the whole system, and regression tests can be unit or e2e. That is why "regression" or "load" are not levels: they do not mark a place in the assembly hierarchy.
Smoke is a quick, shallow check of a new build: does it start at all and do the most critical paths work (login, opening the home page). If smoke fails, the build is not tested further. Sanity is a narrow check of one specific change or fix, to make sure it works as intended before spending time on a full run. Regression is a check that nothing that worked before broke after the changes; it covers a large part of the functionality and automates well. The usual order is smoke, then sanity, then regression. The ISTQB syllabus does not single out sanity: it calls checking a fix confirmation testing, so at an interview it is worth asking what exactly is meant.
Unit testing (component testing in ISTQB) checks single functions or classes in isolation; developers usually write it, and it is the fastest and cheapest. Integration checks the interaction of modules and services: an API, a database, a queue. ISTQB splits it into two levels, component integration (inside the system) and system integration (with external systems), so it counts five levels. System checks the whole system against the requirements, including end-to-end scenarios. Acceptance (UAT is one of its forms) is acceptance by the customer or business: does the product solve their problem. The higher the level, the slower and costlier the tests and the later a bug shows up. So there should be more tests at the lower levels and fewer at the higher ones — that is the test pyramid.
Functional testing answers "what does the system do": are the requirements and scenarios implemented, for example can a user place an order. Non-functional answers "how well does it do it": performance and load, security, usability, compatibility, reliability, accessibility. Functional testing is usually checked against requirements and user stories, non-functional against separate metrics, such as a response time under 500 ms with 100 users. Both are needed: a feature that works but answers in a minute is broken for the user.
Black box is testing against requirements without knowing the code. White box is with full knowledge of the internal logic. Grey box is in between: I don't read the code, but I check the database, API requests and logs. That is how QA most often works in practice: an action in the UI, then checking the request in DevTools and the record in the database. ISTQB separates black-box and white-box not by what the tester knows but by where the tests come from: the specification or the internal structure.
Exploratory is when I study the product and design and execute tests at the same time. To keep it controlled, I work in sessions: I set a charter with a specific goal, limit the time and keep notes, and at the end I have bugs, questions for the team and ideas for new test cases.
Statement coverage measures the share of code statements executed, branch coverage the share of branches taken, above all decision outcomes (both yes and no of every condition). Branch coverage is stronger: 100% branch coverage gives 100% statement coverage but not the other way round. Example: if (x > 0) { y = 1; } with no else. One test with x = 5 executes every statement (100% statements), but the no branch is not taken: one of the two conditional branches is covered. Both are measured by a tool, most often at the unit level. Even 100% does not mean no defects: it shows that a line was executed, not that the result was checked.
Load: does the system cope with the expected load, for example peak traffic (response time and errors within the SLA). Stress: where is the limit, how does the system fail and does it recover when the load drops. Spike: what happens at a sudden jump in load (a mailing, a sale). Soak (endurance): is the system stable for hours, looking for memory leaks and degradation. All of this is non-functional testing: it does not check whether a function works but how well. The result is measurements (response time percentiles, throughput, error rate), not "survived or not".
These are two test design techniques that reduce the number of checks without losing coverage. An equivalence class is a set of inputs to which the system reacts the same way, so one representative of the class is enough. Boundary value analysis (BVA) checks the edges of a range, because bugs most often sit there. Example: the "age" field accepts 18–60. Classes: below 18 (invalid), 18–60 (valid), above 60 (invalid). Boundaries: 17, 18, 60, 61. That makes 4–6 tests instead of trying every number. I combine the techniques: the class tells what to test, the boundaries tell which values.
I use a decision table when the result depends on a combination of conditions. I write out all the combinations and the expected result for each. Besides test cases, this often gives questions for the requirements, for example which error to show when two conditions fail at once.
For entities with states, such as payments, orders and accounts, I draw a state diagram and check all the valid transitions. And most importantly the invalid ones: that a rejected payment can't be debited, and a refunded one can't be refunded a second time.
A classification tree is a visual decomposition of the test object. At the top is the root (the object), below it the classifications (parameters such as "User type" or "Payment method"), and under them the classes (values, including those produced by equivalence partitioning). A test case is a combination: one class is picked in every classification, and such rows are drawn under the tree. The method shows all parameters and the dependencies between them in one picture, and the choice of combinations can be minimal (every class at least once) or pairwise. Pairwise is a technique for reducing combinations, while the tree is a way of structuring the parameters and values that pairs are then generated from. They combine: the tree gives the model, pairwise picks the minimal set.
First I look at the requirements. Fields with ranges and formats call for equivalence partitioning and boundary values. Complex business rules with several conditions call for a decision table. States and the life cycle of an entity (an order, a subscription) call for state transitions. Many independent parameters (browser, OS, plan) call for pairwise. Then I assess risk: for critical parts (money, security) I take deeper techniques and a higher coverage level, for low-risk ones a few positive scenarios and a checklist are enough. On top of the formal techniques I add experience: negative scenarios, error guessing and an exploratory session, because no technique covers everything. In short, the techniques are not mutually exclusive, each one covers its own kind of requirement.
Pairwise (all-pairs combinatorial testing) picks a set of tests in which every pair of values of any two parameters appears at least once. The idea: most defects come from a single value or an interaction of two parameters, so full enumeration is excessive. Three parameters with two values give 8 tests in full enumeration, while a set of 4 covers all 12 pairs. With more parameters the difference is huge: 10 parameters with 3 values are 59,049 combinations against about 15 to 20 tests. The set is built with a tool (PICT and similar). Limit: a defect that needs a simultaneous combination of three values may stay outside the set, so risky combinations get manual tests.
2-value BVA takes, for each boundary, the value on the boundary and its nearest neighbour from the other class. A range has two boundaries, so that makes four values: for 18-65 these are 17, 18, 65, 66. 3-value BVA adds a neighbour inside the class: three values per boundary, six in total: 17, 18, 19 and 64, 65, 66. 3-value is stricter and catches more errors in the implementation of conditions, 2-value is cheaper. State clearly which version you mean, because this is a frequent interview question. Boundary values are taken in ordered equivalence classes: numbers, lengths, dates, amounts.
Error guessing is an experience-based technique: the tester guesses where errors could be in the system, based on past defects, knowledge of typical weak spots and of how developers err. For a "Name" field these are spaces at the start and end, an apostrophe, a very long value, an emoji, an empty string, code in the field. The systematised variant is a checklist based on experience: a list of checks collected from past bugs that is repeated and extended. Guesses have no exit or coverage rules, so they do not replace equivalence classes and boundary values, they complement them: formal techniques first, then guesses where the risk is high.
A use case describes how an actor (a user or a system) reaches a goal: a precondition, a main scenario in steps, alternative flows and exceptions, a postcondition. It is a black-box technique: every path through the use case becomes a test. Minimum coverage: the main scenario and each alternative or exception flow at least once (for example the main order flow, a declined card, an item out of stock, a missing address). The technique checks end-to-end flows and the integration of steps well but describes data variations poorly: equivalence classes and boundary values are added for them. The quality of the tests depends on the quality of the use case.
A test case is a documented description of one check: what to do and what we expect to see. It consists of an identifier, a title, preconditions, steps, test data, an expected result and postconditions (when the case changes the system state), and often a priority. One test case checks one idea, and the steps go in a clear order so that someone else can run it. The expected result must be specific and verifiable, not "works correctly". Example: precondition "the user is registered", steps "enter email and password, click Sign in", expected "the dashboard opens and the user name is visible".
A strategy is the general approach to testing at the product level, and it rarely changes. A plan is the concrete application of the strategy to a release or a feature, with dates, people and scope.
A traceability matrix links requirements to test cases, results and defects. It shows whether every requirement is covered and helps assess the impact of changes. In Jira I do this with links between stories, cases in Zephyr and bugs.
First I break the work into tasks (WBS): requirement analysis, writing test cases, preparing data and the environment, execution, re-checking fixes, regression, reporting. I estimate each one separately, because a small task is easier to estimate accurately. For uncertain tasks I use three-point estimation with an optimistic O, a most likely M and a pessimistic P value: the weighted mean is (O + 4M + P) / 6 and the error is (P − O) / 6. I check the estimate against historical data: how long similar features took, the ratio of testing to development, how many fix cycles are typical. I add a buffer for risks (an unstable environment, late requirement changes, vacations). When the whole team estimates, I use Wideband Delphi or Planning Poker, and in iterative work I extrapolate from the last iterations. I present the result as a range with its assumptions, not as one number.
A test suite is a set of test cases grouped by some attribute: a feature ("Cart"), a type (regression, smoke) or a level. It is a long-lived structure, and the test cases stay in it between releases. A test run (test cycle) is one execution of selected test cases at a given time, for a specific build and environment, with execution statuses (passed, failed, blocked, skipped), an executor and a date. One suite produces many runs: the same cases are executed for every build. A suite answers "what do we have", a run answers "what did we check this time and with what result". The quality report is built from runs, not from suites. These are the meanings in test management tools; in ISTQB a suite is prepared for a specific run, and a test cycle is wider than a run: the whole test process for one version.
First I check against the requirements: whether every requirement and acceptance criterion has at least one case and whether any case has no source. Then the quality of the case itself: one idea per case, a clear title, explicit preconditions, a concrete measurable expected result without "works correctly", steps another person can run without hints. I look for duplicates and excess coverage, and for gaps: negative scenarios, boundary values, server errors, access rights. I check priorities and whether a case depends on the outcome of another. I write comments specifically and about the case, not the author, and separate critical gaps from nitpicks so the author knows what to fix first.
A precondition is the state that must exist before step 1 (a user exists, the cart is empty, a flag is on). Data is written explicitly: concrete values, not "any user". Repeatability comes from one of two ways: the case prepares the state itself (creates a user through an API or a fixture) or restores it afterwards (cleanup). Shared accounts changed by a case break the second run and parallel runs. Data is synthetic, with no real personal data; dependencies between cases ("run TC-5 first") are better replaced by each case own precondition.
ISTQB CTFL 4.0 names four techniques: ratio-based (the historical ratio of testing to development), extrapolation (from data gathered in the current project: the part already done, the last iterations), Wideband Delphi (experts estimate independently, then discuss the differences) and the three-point estimate. In the three-point one you give a minimum a, a most likely m and a maximum b; the PERT expected value is E = (a + 4m + b) / 6, and the spread is roughly (b − a) / 6. Example: a = 2, m = 4, b = 12 days gives E = 5 days. A range is more honest than one number: it shows the uncertainty, and the assumptions the estimate depends on are attached to it.
A good bug report contains: a short informative title, the environment (build, browser, OS, device), steps to reproduce, actual and expected result, severity, priority and evidence: screenshot, video, logs. The tracker usually adds the ID, author, date and initial status, and a link to the test case is worth adding yourself. Severity is how badly the bug harms the system (technical impact): a payment failure is critical. Priority is how fast it must be fixed (business priority). They do not always match: a crash on a rarely visited page is high severity but low priority; a typo in the company name on the home page is low severity but high priority. QA usually sets severity, the product owner or manager sets priority.
It is the path of a bug from discovery to closing. A typical flow: New (created by QA) → Assigned/Open (a developer is assigned) → In Progress → Fixed → Ready for Retest → Verified and Closed after checking on the new build. If the fix did not work, the bug goes to Reopened and loops again. There are side statuses too: Rejected or "Not a bug" (behavior matches the requirements), Duplicate, Won’t Fix and Deferred (postponed). Names depend on the team and the tracker (Jira and others), but the logic is the same. I close a bug only after my own retest.
First I reproduce it under exactly the same conditions: environment, build, user, data. I collect the logs, the network and the time of the incident, look for special conditions such as a race or a cache, and ask the developer to look at the server logs. If it doesn't reproduce, I document everything found and the frequency instead of just closing it.
First I check myself against the requirement and the mockup. If the requirement is clear, I show it and the evidence. If it is ambiguous, the question goes to the PM, because the expected behaviour is defined by the product, not by me and the developer. I record the decision in the ticket so we don't come back to it a second time.
Severity says how much the defect harms the system (a crash, data loss, no workaround) and priority says how soon the business wants it fixed. They are independent, so there are four combinations. Both high: payment does not work for everyone. High severity, low priority: a crash in a rare scenario needed once a year. Low severity, high priority: a typo in the company name on the home page before a presentation. Both low: an icon shifted by a few pixels in a legacy section. Severity is usually set by QA from the impact, priority is agreed by the PO or manager from the business context, deadlines and risk. A workaround affects both: on the severity scale it separates Critical from Major, and for priority it lowers the urgency.
Duplicate: the same problem is already filed, the defect is closed with a link to the original and the new facts are added there. Won't Fix: the defect is confirmed but the team deliberately will not fix it (low impact, high cost, the feature is being removed), and the reason is recorded in a comment. Deferred: the fix is moved to the next release or sprint and the bug stays in the backlog. Cannot Reproduce: the developer could not reproduce the problem, so QA adds steps, data, environment and evidence or confirms that the defect really is intermittent. The decision on Won't Fix and Deferred is not made by one developer: it is agreed with the PO or at triage (the joint review of new defects), and QA records the risk. Status names depend on the tracker, what matters is that the team understands each one in the same way.
Triage is a regular short meeting where new and disputed defects are reviewed and a decision is made on what to do with them. It involves QA (reproduction, impact, severity), a developer or tech lead (complexity and risk of the fix) and the PO or manager (business priority). For each bug the group decides: is it a real defect (otherwise Rejected or Works as designed), is it not a duplicate, what are its severity and priority, who fixes it, in which release or sprint (Deferred if later) and whether more information is needed to reproduce it. The outcome is recorded in the ticket. Without triage the bug queue grows, priorities diverge and the critical items get lost among minor ones.
Definition of Ready is the criteria for when a task can be taken into work: clear requirements, acceptance criteria, mockups. Definition of Done is when it is finished: the code is merged, tested, and there are no critical bugs. As QA I watch both: without acceptance criteria we don't take a task into the sprint, and without verification we don't close it.
Shift-left is testing as early as possible. I review requirements and mockups before development, at grooming I ask about boundary and negative scenarios, I write test cases in advance so the developer sees what will be checked, and I test the API before the UI appears.
Three Amigos is a short meeting (15-30 minutes) of three roles before a story is developed: the business (product owner), development and testing. Each looks from their own side: the business explains why, the developer how and what is hard, QA asks "what if?": empty values, limits, errors, permissions. The result is refined acceptance criteria and concrete examples of behaviour for them, often in the Given/When/Then format (BDD). The examples reveal ambiguity in the requirements before any code exists, when fixing it is cheap, and become the basis of tests. This is shift-left in action: QA contributes to the requirements rather than only checking the result.
At sprint planning QA clarifies the stories and acceptance criteria, estimates the testing effort, and points out risks and dependencies (data, environments). At the daily QA briefly says what has been verified, what blocks, and which bugs prevent stories from being closed; this is about transparency, not a report to a manager. At the sprint review QA takes part in the demo and confirms that stories meet the Definition of Done, and can show what exactly was checked. At the retrospective QA brings facts: how many bugs slipped through, why stories carry over to the next sprint, where testing becomes a bottleneck, and proposes process changes. Scrum has no separate "tester" role: quality is the responsibility of the whole team, and QA adds specialised expertise.
Brian Marick's model (described by Crispin and Gregory) divides testing into four quadrants along two axes: supporting the team or critiquing the product, and business-facing or technology-facing. Q1 (technology, supports the team): unit tests (component tests in ISTQB terms) and component integration tests, automated in CI. Q2 (business, supports the team): functional tests, examples, prototypes, often both automated and manual. Q3 (business, critiques the product): exploratory testing, UAT, usability, mostly manual. Q4 (technology, critiques the product): performance, security, reliability and smoke tests, often automated with specialised tools. The model shows that testing is not only automation or only a manual pass and helps check that all quality aspects are covered, not just the functional one. The numbering is not a sequence.
A WIP limit caps how much work may be in a column at the same time, for example no more than three cards in Testing. When the limit is full, the team does not pull a new task but helps close the existing ones: a developer reviews someone else's code or tests instead of opening one more. That makes the bottleneck visible, so the queue for testing does not grow unnoticed. Useful flow metrics: cycle time (from starting work to done), lead time (from the request appearing), throughput (tasks closed per period) and the age of work on the board. A warning sign for QA is cards that sit in Testing for long or often go back. Kanban has no sprints, so testing runs continuously and the Definition of Done applies to each card separately.
The browser sends cookies with every request to their domain (subject to Path and SameSite), and each is limited to a few kilobytes. LocalStorage lives in the browser until it is cleared, and sessionStorage only while the tab is open. For security I check that the session cookie has the HttpOnly, Secure and SameSite flags.
I build a matrix of browsers and devices based on analytics, not everything at once. The most popular configurations I test fully, and the rest with smoke. I check the layout at breakpoints, forms, date and number formats, and I always check part of it on real devices, because emulation doesn't show everything.
By the same-origin policy a browser forbids a page from reading a response from another origin (scheme + domain + port). CORS allows it if the server answers with an Access-Control-Allow-Origin header naming the origin. For "non-simple" requests (PUT/DELETE, custom headers, Content-Type: application/json) the browser first sends a preflight, an OPTIONS request with Access-Control-Request-Method/Headers, and sends the real request only if the server allows it. The Console shows a message like "blocked by CORS policy: No 'Access-Control-Allow-Origin' header"; in Network the OPTIONS request is red or the request is blocked. It is neither a frontend nor a network bug: the rule is set by the backend (or a proxy), so the bug report goes there with the origin, method and headers. Postman does not enforce CORS because it is a browser rule, which is exactly why the request "works" there.
The browser parses the URL and checks its cache. DNS turns the host name into an IP address (browser, OS and resolver caches). Then a TCP connection (handshake) and, for HTTPS, the TLS handshake, where the server sends a certificate and the parties agree on keys. The browser sends an HTTP request (method, headers, cookies); a redirect, a CDN or a load balancer may be involved. The server returns a response with a status and HTML. The browser builds the DOM and CSSOM, loads resources (CSS, JS, images, more requests), runs scripts, computes the layout and paints the page. QA benefits from knowing this chain to narrow a problem: "does not open" may be DNS, a certificate, a server timeout, a 5xx, a blocked resource or a script error, and DevTools Network shows at which step it happened.
2xx is success (200 OK, 201 Created, 204 No Content). 3xx is redirection (301 permanent, 302/307 temporary, 304 Not Modified: the cache is used). 4xx is a client error, the request cannot be fulfilled: 400 malformed data, 401 missing or invalid authentication, 403 forbidden, 404 not found, 409 conflict, 422 validation error, 429 too many requests. 5xx is a server failure on a valid request: 500 internal error, 502/504 gateway problems or a timeout, 503 unavailable. As a rule of thumb: if the client sent something invalid and got a 4xx, the server behaves correctly; a 5xx on invalid input is almost always a server bug (it should be a 4xx with an explanation), and a 4xx on valid input may be a client or a server bug. So I look at both the code and the response body.
401: authentication is missing or invalid (no token, an expired one), so the client has to sign in again. 403: the user is identified but has no right to the action, and signing in again will not help. 301: the resource has moved permanently and clients and search engines should update the address. 302: the address is temporary and the old URL stays the main one. 502: a gateway or proxy got an invalid response from the server behind it. 504: the gateway did not get an answer in time, meaning the server is slow or unavailable. In a report the code named together with the method, URL, time and request id localises the problem at once: 4xx mostly send you to check the client and the contract, while 5xx (502/504 from a gateway among them) go to the back end or infrastructure. Treating every 4xx as a server defect is a mistake.
The server tells in the response how long a copy counts as fresh (Cache-Control: max-age=N) and whether it may be stored at all (no-store forbids, no-cache allows storing but requires validation). While the copy is fresh the browser does not contact the server. When it is stale the browser asks with If-None-Match (ETag) or If-Modified-Since: if the file is the same the server returns 304 with no body and the copy is used. QA checks this in the Network tab: the Size column shows "(disk cache)" or "(memory cache)" and 304 responses show in the Status column. For an honest check of a new release, enable Disable cache or do a hard reload. A typical defect: static files with a long max-age and no hash in the name, so after a release some users see the old version for a long time.
HttpOnly: page scripts cannot read the cookie, so XSS cannot steal the token, while the browser still sends it with requests. Secure: the cookie is sent only over HTTPS. SameSite (Strict, Lax, None): whether the cookie is attached to cross-site requests; an extra layer of CSRF protection next to a CSRF token; None requires Secure. There are also Domain, Path and the lifetime (Expires or Max-Age). QA opens Application → Cookies and checks that the session token has HttpOnly and Secure, that after logout the cookie disappears or loses validity, that after expiry the app asks to sign in again, and that after a password change or a sign-in from another device old sessions behave as required. Separately they check that sensitive data is not stored in localStorage, because any script of the page can read it.
The DOM is the tree of elements the browser builds from HTML and that JavaScript can change; Elements in DevTools shows the live DOM while View source shows only what the server returned. Layout is computed every time, so you check not one screen but a space of inputs in three dimensions. Width: 320, 768, 1024, 1440 px and both sides of each breakpoint. Content: an empty value, a very long word without spaces, long text, large numbers, emojis, longer translations. State: normal, hover, focus, disabled, error, loading, empty list (Force state in Elements). An element may be in the DOM but invisible (display: none, zero size), so presence and visibility are told apart.
JavaScript is single-threaded: first all synchronous code runs, then the whole microtask queue (promise callbacks, continuations after await), then one macrotask (setTimeout, an event, a network callback), and the cycle repeats. So a promise created later fires before setTimeout(…, 0). For QA this is a source of flaky tests: between events there are windows when the element is there but the callback has not run. The == operator coerces types ('5' == 5 gives true) while === compares without coercion ('5' === 5 gives false), so === is used in code and tests. const prevents reassigning the variable, but the contents of an object or array can still be changed.
I check that money is calculated without float, because that is where errors like zero point one plus zero point two not equalling zero point three come from. I clarify the rounding rule and the step where it happens, the number of decimal places for each currency, and that when splitting, the sum adds up to the cent.
Payment providers offer a sandbox (a test environment) with test cards: separate numbers for a successful payment, a decline for insufficient funds, a decline with no reason, cards that require 3-D Secure, and cards that simulate failures. Real cards are not used in tests. In the sandbox I check the happy path, a decline (a message to the user, the balance unchanged), 3-D Secure (successful and failed confirmation, closing the window halfway), a double click and resubmission (idempotency: one payment, not two), a timeout (an "in progress" status and later reconciliation via a webhook or polling), and an amount mismatch. Remember that the sandbox does not behave exactly like production, so the first production launch is watched with monitoring and reconciliation, and a real card is used only under an agreed process and the provider’s rules (some forbid testing live mode with real cards).
I start with the goal, not the metric, following the Goal-Question-Metric approach. For example, the goal is fewer bugs in production, the question is how many we miss and where we should have caught them, and the metrics are defect leakage and the distribution of production bugs by module. I keep three to five key metrics, each of which leads to a concrete action, and I look at trends, not individual numbers.
Code coverage shows which lines of code ran during tests, but not whether the tests verify anything: a test without an assertion gives high coverage. Mutation testing deliberately makes small changes to the code, called mutants (replace > with >=, + with -, remove a call, invert a condition), and runs the tests against each one. If at least one test fails, the mutant is "killed"; if all pass, the mutant "survived", meaning the tests did not notice the change. The metric is the mutation score, the share of killed mutants. It shows whether tests can detect a change in behaviour, not just execute the code. The downside: it is slow because of many runs, so it is applied selectively to critical logic or changed files (Stryker for JS/TS, PIT for Java). Surviving mutants point to the checks that are missing.
Requirement coverage is the share of requirements that have at least one test case (counted through a traceability matrix); during execution teams often count only requirements whose cases were run, and the rule is agreed in advance. It shows whether everything the business asked for was checked and spots requirements with no tests. Code coverage (statement, branch) shows what part of the code the tests executed. It finds untested code but does not see missing requirements, because there may be no code for them at all. Both metrics speak about execution, not the quality of the checks: a test without assertions still adds coverage and 100% of lines is not 100% of branches or data combinations. So coverage is used as a signal of gaps, not as a goal: a target set only as a number pushes people to write tests for the percentage. Test quality is additionally assessed by mutation testing.
Goodhart's law: when a measure becomes a target, it stops being a good measure. Examples. The number of bugs filed as a tester's KPI pushes people to split one defect into several and file trivia. The number of executed test cases rewards simple cases. A pass percentage without context hides that the most important scenario is failing. A demand for 100% coverage produces tests without assertions. The number of bugs fixed per developer encourages ignoring the hard ones. Metrics that compare people instead of processes destroy trust and hide problems. It is better to look at a set of metrics (impact on users, delivery stability, speed of fixing), discuss trends rather than single numbers and not tie them to bonuses.
DORA (DevOps Research and Assessment) describes how healthy the delivery of changes is. Today there are five in two groups. Throughput: deployment frequency, the time from commit to production (lead time for changes) and the recovery time after a failed deployment (failed deployment recovery time). Instability: the change failure rate (the share of deployments that needed immediate intervention: a hotfix or a rollback) and the deployment rework rate (the share of unplanned deployments caused by a production incident). The classic set of four lacked the last one. They are useful to QA because they show the effect of quality at the delivery level rather than in reports: if speed grows and the change failure rate grows too, testing is not keeping up with the changes. They are improved by automated tests in the pipeline, small changes, feature flags, monitoring and quick rollback. The metrics describe a team, not individuals, and work as a trend, so comparing different teams without context is not valid.
Suppose 45 defects were found before the release and users reported 5 more during a fixed window after it. 50 in total. Defect leakage = 5 / 50 = 10%: the share of defects that reached users. DRE (Defect Removal Efficiency) = 45 / 50 = 90%: the share found before release, so DRE = 100% − leakage. Defect density = number of defects / size, for example 12 defects per 24 thousand lines = 0.5 per thousand lines; the metric shows which modules are problematic and only modules of the same kind should be compared. Only significant defects are counted and within a fixed window, otherwise the numbers cannot be compared between releases.
LLM responses are non-deterministic, so I check not the exact text but criteria: whether the needed facts are there, whether forbidden ones are absent, whether the format and tone are right. I have a set of reference queries that I run after every prompt or model change. Separately I test prompt injection, hallucinations, and that the bot correctly says "I don't know" or hands the question to a human.
AI takes over the routine: drafts of cases, data and code, a first analysis of logs. And QA's value shifts to understanding risks and the business, exploratory testing, critical thinking and testing AI features themselves. I don't think AI will replace testers, but a tester who knows how to use it will be stronger than one who doesn't.
The first week I study the product and talk to the PM and developers to understand where it hurts most. The second I assess what already exists: tests, documentation, the release process. The third I deliver quick results: a smoke checklist of critical scenarios and taking part in grooming. And in the fourth I propose a risk-based test strategy and agree it with the team. The main thing is to understand the process first and only then change it.
The release decision is made by the business, and my job is to make it a conscious one. I explain the bug's impact clearly, offer options, such as turning the feature off with a flag, a workaround, a quick hotfix with monitoring, and I record the decision in writing. But if the bug affects data security or regulatory requirements, I escalate higher.
First week: access and environments (test accounts, the tracker, CI), a short tour of the product from the user's side, a glossary of the domain, who owns what. Then learning by practice: the junior walks through an outdated but real regression suite to learn the product, then takes small stories with ready acceptance criteria. I explain not only what to do but why (risks, techniques), and give safe tasks where a mistake does not hurt. I regularly review their bug reports and test cases with specific feedback, more often at first, then less. I agree on a weekly 1:1, set 30-60-90 day goals and encourage questions. The goal is to grow independence gradually, not to check every step.
First I make sure it is a real bug: I reproduce it, clarify steps, environment and whether it is covered by the requirements. I assess the impact: who will hit it and how often, whether a workaround exists, whether data or money is lost, whether it is a regression. I tell the developers and the product owner immediately, with facts rather than emotions: what is broken, steps to reproduce, the risk assessment, the options. Options: fix and verify before the release, hide the feature behind a feature flag, roll back part of the changes, release with a known limitation and a plan to fix it. The release decision belongs to whoever is accountable for the product, and my job is to give the full picture of the risk and a recommendation. I record the agreement and the accepted risk in writing.
I do not argue, I narrow down the differences. I reproduce the bug again myself and check whether the report lacks a step, data or a precondition. I compare the environments: build version, browser or OS, configuration, test data, user role, cache or session state, time zones. I add evidence: a video, a HAR/network log, the console, server logs with a timestamp and a request id. If the bug is intermittent, I write the reproduction rate and conditions. I offer to show it on my environment or in a shared session. If it truly does not reproduce, I leave the bug open marked as "not reproducible reliably", add logging and watch for new cases. The tone is a joint investigation, not a conflict: the goal is not to win but to find the cause.
Prioritisation by risk: the likelihood of a defect multiplied by its impact. First a quick check that the build works at all: sign-in and the main scenarios. Then what changed in the build and functions that handle money, data or security. Then the critical existing flows the change could have touched (a short regression), and only then the minor things. Take into account also where bugs occurred before and what automation already covers. What you did not manage to check is recorded: what was not verified and what risk that carries. This way the team makes the release decision openly rather than assuming everything was tested. The test plan order or choosing easy checks to make the report look better ignores risk.
The decision rests on exit criteria agreed in advance: for example no open critical bugs, a product owner's decision on every open serious one, the planned tests executed, the regression of the main flows passed, a rollback plan and monitoring in place. QA prepares a transparent picture: what was checked and what was not, which defects are open with their impact, workarounds and a risk assessment. The decision is made by the team together with the product owner, because it is a business risk, not only a question of quality. QA recommends and may escalate, but does not allow or block the release alone. The decision and the accepted risks are recorded. After the release the main flows are checked in production and metrics are watched so that a rollback is quick if needed.
I look for any source of the expected behaviour: similar functions in the product, mock-ups, ticket history, competitors, standards (for example HTTP status rules), conversations with the PO, a developer and support. What I find out I record as assumptions and send for confirmation (a quick check in chat or at a meeting). I test exploratively with a charter and notes, and raise unclear spots as questions instead of silently treating them as «normal» or «a bug». The result: a list of questions and assumptions, checks with a verdict against those assumptions, and separately the risks where no answer came. This way the team also sees the consequences of the missing requirements.
I narrow the scope by risk: first the changes in this build, functions with money, data and security, then critical neighbouring flows, and minor things last. I take what automation already covers and add manual checks only where it does not. In parallel I ask for help (a developer or another QA takes part of the scenarios). I report clearly: what was checked, what was not, what risk the unchecked part carries and what I propose (postpone the release, release with a known risk, ship behind a flag). The decision belongs to the product owner, while QA provides a transparent picture and a recommendation. Quietly cutting testing and saying «everything is tested» is not acceptable.
The goal of the first hour is to reduce harm, not to find someone to blame. I confirm the problem and estimate the scale: who is affected, since when, whether it continues. I pass the facts to the responsible people in one channel (what, for whom, since when, steps, evidence). I help narrow the conditions (platform, account type, time) and choose a mitigation: rollback, switching the feature off behind a flag, a hotfix. I verify the fix in production or on an equivalent environment: the scenario that broke and the neighbouring ones. Later I join the blameless review: why it slipped through and which test or monitoring to add. I do not pretend there is no bug and do not panic with messages without facts.
Yes, if it is a quarantine and not a silent skip. First I quickly assess whether the failure is a real product bug (a race, a rare error): if so, the test must not be disabled, it is a signal. If the cause lies in the test itself, the data or the environment, the test is taken out of the merge gate but stays in the repository and keeps running separately without blocking. Required: a ticket with the cause, an owner and a deadline by which the test is fixed or deleted; the failure rate is visible. Rerunning «until it turns green» teaches the team to ignore red, and an open-ended skip silently removes coverage.
First I clarify what exactly changed and why, and record the change in the ticket or documentation, not only verbally. I assess the impact: which test cases, automated tests and test data are outdated and which already verified items must be checked again. I update only the affected artefacts and pick the regression by risk. I tell the team about the impact on the schedule: either the change enters the sprint with a matching cut of other scope, or it goes to the next one. I ask the PO to agree on it so that changes do not repeat daily without being tracked. Quietly testing against the old version or against the new one «as it seems» is not acceptable.
I break the work into parts: requirements analysis and questions, test design and data, execution, retests after fixes, regression of the affected area. I compare with how long similar tasks took before. I show uncertainty as a range: minimum, most likely, maximum (a three-point estimate). Separately I name the assumptions (requirements ready, a stable environment, the necessary data available) and what would change the estimate. I do not forget retests: one cycle of fixes is rarely the last. An estimate is a forecast, not a promise, so it is revisited when the assumptions are broken. The answer «two days» without a breakdown and a range is a guess.