Tag view

#testing

Cross-subject tag search for related interview cards.

Clear

Results update as you type. Press / to jump straight into search.

Tagged with testing

4 cards

Python Medium Theory

Testing basics with `unittest`, `pytest`, assertions, fixtures, and mocking

Python testing usually combines clear assertions with a framework like `unittest` or `pytest`, plus fixtures and mocking where isolation matters.

  • pytest emphasizes readability
  • Fixtures manage reusable setup
  • Mocking isolates dependencies but should be used carefully

Testing basics with `unittest`, `pytest`, assertions, fixtures, and mocking

React Medium Theory

Testing React: unit, component, integration, Jest, React Testing Library, snapshots, async UI, hooks, and mocking

React testing usually focuses on component behavior, user-observable output, and managing async flows cleanly.

  • Jest is common for running tests and assertions
  • React Testing Library emphasizes user-facing behavior
  • Async UI needs waiting and cleanup patterns

Testing React: unit, component, integration, Jest, React Testing Library, snapshots, async UI, hooks, and mocking