10 min readEnglish speaking practice

Explain Unit vs Integration Testing in English

Describe test scope, component boundaries, controlled substitutes, and what a passing check does not establish with original English review exercises.

English speakingsystems-interview

Explain unit and integration testing by naming what the test exercises and which boundaries it crosses. A unit test focuses on a defined unit of behavior; an integration test checks how components work together. Because teams use these labels differently, describe the actual scope before arguing that a test has the wrong name.

Updated 30 November 2026. SpeakShark publishes this English communication lesson and sells speaking-practice subscriptions. It is not a test runner or quality-certification service. The examples are imaginary review conversations, not code tutorials, measured defect rates, or claims about any real project's coverage.

Describe the test before naming its category

Microsoft's testing overview distinguishes individual-component tests from tests of components working together in its .NET context. Martin Fowler's integration-testing discussion explains why the terminology can blur and why integration scope need not always be broad.

For an interview, start with a concrete description: "This test checks the price calculation without the storage boundary. That other test checks whether the service and its storage interaction agree." The listener learns what evidence each test supplies before hearing your preferred labels.

Do not declare that every team in every language uses one definition. You can state your convention and ask about theirs. Agreement on the test's purpose is often more useful than winning a vocabulary contest while leaving its scope unclear.

Sections: scope table, review dialogue, listening, FAQ.

Make the boundary visible

Fictional check What it exercises What is left outside Useful explanation
Calculate a discount from supplied values A defined calculation behavior Storage and external requests We are checking the rule in isolation from those dependencies.
Save and retrieve a booking through two components Their interaction Other user journeys We are checking that this boundary works together.
Replace a dependency with a controlled stand-in Behavior under a supplied response The real dependency's behavior The substitute lets us control the case, not verify the actual service.
Exercise one narrow adapter connection A specific integration point The entire application Integration does not necessarily mean end to end.
Run a broad user journey Several connected behaviors All unexercised paths Broader scope still does not mean every behavior was checked.

The table is a speaking aid, not a prescription for a test suite. It contains no coverage percentages, performance benchmarks, or universal rule about which category deserves more investment.

Define the unit in the sentence

"We tested the unit" leaves the listener asking what the unit is. Name the behavior or boundary you mean. It might be a calculation, a component, or another scope established by the team's convention. The label alone does not make that scope self-evident.

Practise saying both the included and excluded parts. "The price rule is included; database behavior is excluded" makes a stronger distinction than "It is a small test." Small could refer to the amount of code, the input, the runtime, or the author's preference.

If asked whether a test is too broad, identify the cost or ambiguity you mean. Perhaps the failure could come from several boundaries and needs more investigation. Do not turn that observation into a universal claim that broad tests are bad.

To practise describing a test's scope in an interview, use Role Play in /practice if available. Ask for an interviewer who refuses to accept the labels until you explain what is exercised. Use a fictional booking or pricing example.

Explain what a passing test does not establish

Imagine all calculation checks pass, but the booking service reads an outdated field from storage. The passing calculations did not establish that the field mapping was correct. Explain the missing relationship without dismissing the calculation tests as useless.

Try "Those tests support the pricing rule under the supplied inputs. They do not check the storage interaction where this mismatch occurred." The sentence gives the tests their proper value and states the uncovered boundary. It avoids the false choice between perfect tests and worthless tests.

Do not infer an actual failure from this example. It is a fictional review situation. In a real meeting, distinguish an observed mismatch from a possible untested risk and avoid claiming that a particular test would certainly have prevented an incident.

Discuss a stand-in without calling it the real service

A controlled replacement can help a practice scenario explore how a component reacts to a supplied response. In your explanation, say what the replacement assumes. "We supplied a successful response" is clearer than "We proved the dependency works."

The important language contrast is between controlling an input and validating a real interaction. A test can be valuable for one without establishing the other. You can explain that distinction without entering a debate about a specific mocking library or writing code.

Ask the listener what would remain unknown if the real dependency changed its response shape. Their answer may reveal a contract concern. Keep it conceptual: this article does not show how to connect to a production dependency, seed real data, or run an integration environment.

Recommend another check with a reason

Instead of "We need more integration tests," name the uncertainty you want to reduce. "We need evidence that the service reads the stored field in the expected way" is a specific proposal. The category can follow after the goal is clear.

Explain why the existing check does not answer that question. Then state what the proposed evidence would still leave outside. A narrow integration check might address the field mapping without validating the whole customer journey. That is a coherent limit, not an excuse.

If a teammate proposes a different scope, compare the questions each option answers. You may discover that both checks are useful for different reasons. Do not invent a return-on-investment percentage or claim one naming convention determines the correct design.

You can rehearse proposing a test for a specific uncertainty. Ask the teacher to play a reviewer who asks what the new check would prove. Answer in terms of behavior and boundary rather than a slogan about test pyramids.

Original listening task: find the untested relationship

Have a partner read this invented briefing: "We checked the cancellation-fee calculation with several supplied dates. Those checks do not use the booking store. The reported problem is that the service receives the wrong date field from storage. We have not yet checked that interaction."

Identify what was checked, what was excluded, and where the reported issue sits. The calculation was checked with supplied dates. Storage interaction was excluded. The issue concerns obtaining the date field, not necessarily calculating the fee once a correct date is supplied.

Now explain the situation to a product teammate without saying the tests all failed. The important message is that different checks answer different questions. Do not invent a customer refund, a deployment plan, or an assurance that the proposed check resolves every cancellation issue.

For shadowing, record "The calculation checks passed / but the storage boundary was outside their scope / so we need evidence about that interaction." Repeat the contrast, then create a new example about another fictional boundary.

Practise disagreeing about the label

Give your partner a test description but no category. Let them call it a unit test while you use a different convention. Your first response should acknowledge the shared description: "We agree that these components are exercised together; we are using integration differently."

Then decide whether the label affects a real decision. It might matter for ownership, execution grouping, or how the result is communicated. If it does not, you can record the actual scope and move on. Not every terminology difference requires a meeting-long argument.

On a second attempt, make the disagreement substantive: one person believes the actual database is included while the other describes a stand-in. That is not merely a naming preference. Clarify the environment assumption before drawing conclusions from the result.

Use precise verbs for evidence

Choose exercises, checks, observes, excludes, and supports when those describe the evidence. Be cautious with proves, guarantees, and covers everything. A confident voice does not extend a test beyond the behavior it actually examined.

Likewise, distinguish "the test failed" from "the component is broken." A failure can require investigation; the label itself does not establish the cause. In the fictional conversation, ask what observation the failure reports before assigning responsibility to another team.

You can correct yourself plainly: "I said the integration was verified, but only the stand-in response was exercised." That repair communicates useful accuracy. Do not hide the change behind more jargon or imply that the listener should have guessed your intended scope.

Review a complete explanation

Record a short answer with four parts: behavior, boundary, observation, and remaining uncertainty. Have a listener summarize it without your notes. If they think the entire system was validated, inspect the sentence that encouraged that conclusion.

For the next round, change the system, not only the names. Move from a pricing calculation to an import workflow or notification handoff. Keep the habit of describing scope while allowing the relevant boundaries to change. This tests explanation rather than memorization.

SpeakShark supports general interview and meeting rehearsal with automated feedback, not software verification. If useful, try a test-scope review with a skeptical teammate. No repository access, real user records, or runnable test commands are needed for this language task.

FAQ

Is every integration test an end-to-end test?
No. Integration can concern a narrow relationship between components. Describe what is included rather than assuming the label means the whole application. The cited discussion highlights terminology variation, so establish your team's convention when the distinction matters.
Does a unit test have to mean one function everywhere?
Do not assume a universal naming convention. Explain the behavior and unit boundary you mean. A precise scope description is more informative than insisting that the label must correspond to one source-code shape across all teams and frameworks.
Do controlled dependency responses prove the real dependency works?
Not by themselves. They establish behavior under the response supplied in that check. Keep that different from evidence about the real interaction. A controlled stand-in can serve a useful purpose without validating a separate system it does not exercise.
How do I explain a bug after many tests passed?
Name the checks that passed and the boundary where the reported issue occurs. Avoid declaring the tests useless or pretending they examined the entire system. Use observed evidence to separate the issue from what remains a hypothesis.
Should I argue over test categories during an interview?
Clarify the actual scope first. If your definitions differ, state the convention you are using and continue with the behavior under discussion. An unresolved environment assumption matters more than a harmless naming preference, so distinguish those cases.
Can this exercise tell me how much test coverage a project needs?
No. It is a language exercise about describing evidence and limits, not a test-strategy assessment. It supplies no coverage target, defect-reduction claim, or guarantee. Real planning needs the project's requirements and appropriate engineering review.

Editorial method

Microsoft Learn and Martin Fowler's own terminology discussion were checked on 30 November 2026. Their brief conceptual distinctions support the lesson; fictional systems, listening text, and role plays are original. Broader developer-English competitors provide cluster precedent only, with no exact-match demand or commercial outcomes established.

Business information

SpeakShark is an AI English speaking-practice product operated by the SpeakShark Team. It is not a game publisher, streaming provider, dictionary publisher, school, or independent ranking agency. Support: speaksharksupport@gmail.com. See current plans before subscribing.

Keep reading