Testing
Glossary
Every Testing term in plain words, with the module that teaches it. Inside modules, any word with a dotted underline explains itself.
Testing · 31 terms
- Accessibility
- Making software usable by everyone, including people who use screen readers, keyboards only, or magnification. Clear labels and correct roles are the basics.
- Learn it in “UI and component tests” →
- Arrange, act, assert
- The usual three-part shape of a test: set up the situation, do the one thing being tested, then check the result. Also written given, when, then.
- Learn it in “Anatomy of a test” →
- Boundary value
- An input right at the edge between two partitions, like ₹499.99 and ₹500. Off-by-one mistakes show up there, so boundary value analysis tests both sides of each edge.
- Learn it in “Choosing test cases” →
- Characterisation test
- A test that records what existing code does today, quirks included, so you can change it safely. Michael Feathers coined the term.
- Learn it in “Testing legacy code” →
- Charter
- The mission for an exploratory testing session, such as “Explore booking with interruptions to discover lost bookings”.
- Learn it in “Exploratory testing” →
- Code coverage
- A measure of which parts of the code ran while the tests ran: lines, branches or conditions. It shows what was executed, not what was checked.
- Learn it in “Code coverage” →
- Contract test
- A test that checks two services still agree on how they talk. In consumer-driven contracts, the consumer records what it needs from an API and the provider verifies every change against it.
- Learn it in “Contract tests” →
- End-to-end test
- A test that drives the whole application the way a user would, usually through a real browser or device. Realistic but slow and fragile.
- Learn it in “Test shapes” →
- Equivalence partition
- A group of inputs the code should treat the same way, such as every order under ₹500. Testing one value from the group stands for the rest.
- Learn it in “Choosing test cases” →
- Exploratory testing
- A person testing software by deliberately probing it with a mission, learning as they go and steering by what they find, rather than following a fixed script.
- Learn it in “Exploratory testing” →
- Fixture
- The fixed setup a test relies on, such as sample data or objects created before it runs. Shared fixtures that tests change make results depend on run order.
- Learn it in “Readable tests” →
- Flaky test
- A test that sometimes passes and sometimes fails without any change to the code, usually because of timing, shared data, test order or randomness.
- Learn it in “Flaky tests” →
- Fuzzing
- Feeding huge numbers of random or malformed inputs to a program to find crashes and memory errors, usually guided by which code each input reaches.
- Learn it in “Property-based testing and fuzzing” →
- Integration test
- A test that checks pieces work together, often your code with a real database, queue or file system.
- Learn it in “Test shapes” →
- Load test
- A test that sends realistic traffic to a system to measure how fast it responds and how it behaves as more people use it at once.
- Learn it in “Performance and load tests” →
- Mock
- A test double set up with expectations about the calls it should receive, which fails the test if they don't happen. Often used loosely for any test double.
- Learn it in “Test doubles” →
- Mutation testing
- Checking how good tests are by planting small bugs (mutants) in the code and seeing whether any test fails. A mutant no test catches reveals a gap.
- Learn it in “Mutation testing” →
- Percentile
- The value below which a given share of measurements fall. A p95 latency of 200 ms means 95% of requests took 200 ms or less.
- Learn it in “Performance and load tests” →
- Property-based testing
- Testing by stating a rule that should hold for every input and letting a tool try many random inputs to break it, then shrink any failure to the smallest example.
- Learn it in “Property-based testing and fuzzing” →
- Regression
- A bug in something that used to work, often brought back by a later change. Tests that guard against it are called regression tests.
- Learn it in “Why test” →
- Seam
- A place where you can change what code does for a test without editing the code around it, such as passing the clock in as a parameter.
- Learn it in “Testing legacy code” →
- Stub
- A test double that returns canned answers, such as a payment service that always declines.
- Learn it in “Test doubles” →
- Test
- A small piece of code that runs part of your program and checks the result matches what you expect. It passes or fails automatically.
- Learn it in “Why test” →
- Test data builder
- A helper that creates test objects with sensible defaults, so each test changes only the values it cares about, such as aCustomer().student().build().
- Learn it in “Test data” →
- Test double
- A stand-in used in a test in place of a real dependency, such as a payment service or the clock. Kinds include dummies, stubs, spies, mocks and fakes.
- Learn it in “Test doubles” →
- Test runner
- The tool that finds your tests, runs them and reports which passed and which failed, such as JUnit, pytest, Jest, Vitest or Go's go test.
- Learn it in “Why test” →
- Test strategy
- A team's plan for what to test, how deeply, and with which kinds of tests, usually decided by risk: how likely each part is to break and how much it would hurt.
- Learn it in “Capstone: rescue a codebase nobody dares to change” →
- Test-driven development (TDD)
- Writing a failing test before the code that makes it pass, then tidying up, in small repeated loops: red, green, refactor.
- Learn it in “Test-driven development” →
- Unit test
- A fast test of one small piece of code, such as a function or class, on its own, without databases, networks or other slow parts.
- Learn it in “Test shapes” →
- Visual regression test
- A test that compares a screenshot of the page with an approved one and flags any difference for a person to judge.
- Learn it in “UI and component tests” →
A
B
C
E
F
I
L
M
P
R
S
T
U
V
General terms · shared by every track
- ACID
- Four guarantees for transactions: Atomic (all or nothing), Consistent (rules hold), Isolated (concurrent work doesn't interfere), Durable (once done, it stays done).
- Learn it in “ACID on object storage” →
- Atomic
- All or nothing. An atomic change either happens completely or not at all, and nobody ever sees it half done.
- Think of it as: Handing over a sealed envelope: the other person has it or doesn't. There's no half-handed envelope.
- Learn it in “Object storage: the ground floor” →
- Batch processing
- Processing data in scheduled chunks, such as every night or every hour.
- Learn it in “Getting data in” →
- CSV
- Comma-separated values: plain text, one row per line. Easy to read, slow and large for analytics, and no schema.
- Learn it in “Rows vs columns: file formats” →
- Idempotent
- Safe to run twice: running the job again gives the same result instead of duplicating data.
- Learn it in “Medallion architecture” →
- JSON
- A text format of nested key-value objects, like {"id": 7}. Common for app events and APIs, and used by Delta's transaction log.
- Learn it in “Rows vs columns: file formats” →
- Metadata
- Data about data: which files exist, their schema, sizes and statistics. Engines read metadata first to plan work.
- Learn it in “What makes a table a table” →
- Schema
- The structure of a table: its column names and types, such as order_id: long, amount: decimal.
- Learn it in “Schema evolution & enforcement” →
- SQL
- The standard language for querying tables: SELECT … FROM … WHERE …
- Learn it in “Hands-on: query in your browser” →
- Streaming
- Processing data continuously as it arrives, within seconds or minutes.
- Learn it in “Getting data in” →
- Transaction
- A group of changes that succeeds or fails as one unit.
- Think of it as: A money transfer: debit one account and credit the other, or do neither.
- Learn it in “ACID on object storage” →
A
B
C
I
J
M
S
T