Content & privacy
Production · INTERVIEW GUIDE

Testing & delivery

Testing, Git, containers, CI/CD, and cloud fundamentals.

Practice this topic
Filters
4 questions

Unit vs integration vs E2E tests?

Testing & delivery·Testing

Unit tests check a small piece of logic, integration tests verify collaborating components, and E2E tests exercise a complete user or API flow. They catch different classes of failure and have different setup and execution costs. A balanced strategy puts detailed business-rule checks near the unit level and preserves real integration coverage where mocks would hide bugs.

Foundation2 min read

What are Jest, React Testing Library and Supertest?

Testing & delivery·Testing

Jest provides test execution, assertions and tools for replacing dependencies. React Testing Library helps test components through behavior visible to users, while Supertest sends HTTP requests to an application for API assertions. They can be combined, but none automatically chooses meaningful cases or guarantees realism.

Foundation2 min read

Mock vs stub vs spy vs fixture?

Testing & delivery·Testing

Test doubles replace real collaborators so a test can control conditions or observe interactions. A stub supplies a response, a spy records calls, and a mock often combines replacement with expected interactions; terminology varies by library. Fixtures supply stable input data so cases are repeatable.

Foundation2 min read

Is 100% coverage enough?

Testing & delivery·Testing

Coverage measures which lines, branches or functions executed while tests ran. It can reveal untested areas, but execution does not prove that the assertions checked correct behavior. A suite can reach every line and still miss invalid inputs, race conditions or a wrong expected value.

Foundation2 min read

Difficulty is an editorial estimate. Completion means you chose to mark a question as understood.