Unit Testing
Unit testing is the practice of writing automated tests that verify the smallest testable parts of a program, typically individual functions or methods, in isolation from the rest of the system.
16 resources across 3 libraries
Glossary Terms(11)
SOLID Principles
SOLID is an acronym for five object-oriented design principles — Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency…
Test-Driven Development (TDD)
Test-Driven Development (TDD) is a software development practice in which developers write an automated test for a small piece of functionality before writing…
Behavior-Driven Development (BDD)
Behavior-Driven Development (BDD) is a software development approach that extends test-first practices with human-readable, business-focused specifications, ty…
Dependency Injection
Dependency injection is a design pattern in which an object's dependencies are provided to it from the outside, typically by a framework or container, rather t…
Linting
Linting is the automated process of analyzing source code to flag stylistic issues, suspicious patterns, and potential bugs without actually executing the prog…
Refactoring
Refactoring is the disciplined process of restructuring existing code to improve its internal design, readability, or maintainability without changing its exte…
Unit Testing
Unit testing is the practice of writing automated tests that verify the smallest testable parts of a program, typically individual functions or methods, in iso…
Integration Testing
Integration testing verifies that multiple components or systems — such as a service and its database, or two internal modules — work correctly together, rathe…
End-to-End Testing
End-to-end (E2E) testing verifies that an entire application works correctly from the user's perspective, exercising a complete workflow through the real, full…
Mock Object
A mock object is a simulated version of a real dependency, such as a database, API, or external service, used in automated tests to replace that dependency wit…
Continuous Refactoring
Continuous refactoring is the practice of making small, incremental structural improvements to code regularly, as an ongoing part of everyday development, rath…
Study Notes(1)
Interview Questions(4)
What Are Effective Database Testing Strategies Using Fixtures?
Effective database testing combines fast, isolated tests built from small, purpose-built fixtures with a smaller set of broader integration tests, so each test…
What is Dependency Injection?
Dependency injection is a technique where an object receives its dependencies from an external source rather than creating them itself, typically via construct…
Constructor Injection vs Setter Injection
Constructor injection supplies dependencies as constructor parameters so an object is fully and immutably initialized the instant it is created, while setter i…
What is the MVVM Pattern?
MVVM (Model-View-ViewModel) is an architectural pattern where the View binds declaratively to a ViewModel’s observable state, and the ViewModel exposes data an…