Back to blog
Testing

Articles about Testing

13 articles

MockingTesting

Mocking: effective patterns for unit tests

Mocking patterns for unit tests in TypeScript: mocks, stubs, spies and fakes. When to use them and how to avoid over-mocking.

·1 min read
E2ECI/CD

E2E Testing in CI: headless execution and reporting

Configure E2E testing in CI with Playwright: headless execution, parallelism, reporting, and strategies to reduce false positives.

·1 min read
Structured DataSchema Markup

Structured data testing: validation and tools

Guide to structured data testing: validation tools, common errors, and how to ensure correct rich snippets.

·1 min read
API TestingSupertest

API Testing with Supertest: practical guide

Practical guide to API testing with Supertest and Jest. Learn to test HTTP endpoints, validate responses, and simulate authentication.

·1 min read
Integration TestingTesting

Integration Testing: strategies for testing integrations

Integration testing strategies for testing interactions between modules, databases, and external APIs. Practical examples with Supertest and TestContainers.

·1 min read
Test CoverageTesting

Test Coverage: code quality metrics

Learn about test coverage: what it measures, how to interpret it, reporting tools, and why 100% coverage doesn't mean bug-free code.

·1 min read
TDDTesting

TDD: test-driven development from scratch

Practical guide to TDD (Test-Driven Development) with TypeScript: Red-Green-Refactor cycle, real examples, and benefits for code quality.

·2 min read
CypressPlaywright

Cypress vs Playwright: E2E framework comparison

Detailed comparison between Cypress and Playwright for E2E testing: performance, browser support, API, community, and when to choose each one.

·1 min read
PlaywrightE2E

Playwright: modern E2E testing for web applications

Learn Playwright for E2E testing: installation, multi-browser support, assertions, and code generation for robust tests in Chrome, Firefox, and Safari.

·1 min read
ReactTesting

React Testing Library: best practices for testing components

Learn React Testing Library best practices for effectively testing React components, focusing on user behavior rather than implementation details.

·1 min read
Web DevelopmentTesting

Automated testing from unit to end-to-end: a complete guide

A practical guide to automated testing for web applications — covering unit tests, integration tests, end-to-end tests, and how to build a balanced test suite.

·3 min read
TestingJest

Unit testing with Jest and Vitest: complete guide

Complete guide to unit testing with Jest and Vitest. Configuration, mocks, coverage, and best practices for effective unit tests.

·1 min read
Dependency InjectionTypeScript

Dependency Injection: DI containers in TypeScript

Implement Dependency Injection in TypeScript with DI containers like tsyringe and inversify. Learn to decouple components and simplify testing.

·1 min read