Software Testing Types, Levels, and Techniques

๐Ÿง  Super Memory Trick ๐Ÿ”ฅ Smoke = Build is not broken ๐Ÿ”ฅ Sanity = Fix is logical ๐Ÿ”ฅ Regression = Nothing else broke Software testing is classified/divided into in 3 main ways: HOW โ†’ Testing Techniques (White/Black/Grey Box) WHERE โ†’ Testing Levels (Unit โ†’ Integration โ†’ System โ†’ UAT โ†’ Release) WHAT โ†’ Testing Types (Smoke, Sanity, Regression, Performance, Security, etc.) WHEN CHANGE โ†’ Regression/Retest โœ… Complete Software Testing Summary Table (One Page Revision) Testing Type Level / Category Main Purpose (Key Idea) Who Performs When Done Example White Box Testing Technique Tests internal code logic Developers During coding Test all branches in if/else Black Box Testing Technique Tests input/output behavior QA Testers, Users After build ready Login with valid/invalid credentials Unit Testing Level Tests individual function/module Developers First testing stage Test add() function Integration Testing Level Tests interaction between modules Dev + QA After Unit Testing Login module โ†’ Dashboard module System Testing Level Tests complete system end-to-end QA Team After Integration Testing Full e-commerce flow checkout Acceptance Testing (UAT) Level Confirms system meets business needs Clients/End Users After System Testing User verifies banking transfer works Functional Testing Type (Black Box) Checks features work as required QA Testers Any testing level Login, Signup, Payment works Regression Testing Type Ensures new changes didnโ€™t break old features QA + Automation After bug fix / new feature Password reset fix โ†’ Login still works Smoke Testing Type Checks build stability (basic critical functions) QA / Dev After new build deployment App opens, Login works Sanity Testing Type Checks specific fix/change works correctly QA Testers After small bug fix Discount bug fixed โ†’ verify coupon works Retesting Type Confirms a specific bug is fixed QA Testers After defect fix Test same failed case again โญ Quick Interview Comparison Table Feature Smoke Sanity Regression Scope Broad & basic Narrow & focused Wide & deep Done After New build Small change/bug fix Any code change Goal Build is stable? Fix works correctly? Old features still work? Test Depth Shallow Medium Deep Software testing is divided: in 3 main ways 1. Testing Techniques/ Approaches (HOW you test): 3 techniques Describe how test cases are designed. ...

February 9, 2026 ยท  (Updated: February 16, 2026) ยท FewSteps
Read More

SQL GROUP BY and HAVING Explained: Beginner to Interview Guide

WHERE, GROUP BY, HAVING โ€“ Quick Guide Core ideas WHERE filters rows. GROUP BY makes groups of rows. HAVING filters groups (after grouping). ๐Ÿ‘‰ Rule that never changes:Every column in SELECT must be either: in GROUP BY, or an aggregate (SUM, COUNT, AVG, MAX, MIN). Execution order (simplified): FROM / JOIN โ†’ WHERE โ†’ GROUP BY โ†’ HAVING โ†’ SELECT โ†’ ORDER BY (โ†’ LIMIT/OFFSET if supported) WHERE vs HAVING WHERE HAVING Filters rows Filters groups Used before GROUP BY Used after GROUP BY Cannot use aggregates Can use aggregates WHERE filters rows (pre-aggregation). HAVING filters groups (post-aggregation). Prefer WHERE when possible (filters earlier, usually faster); use HAVING when you need to filter on aggregates. Example using both together Goal: Customers whose individual order is โ‰ฅ 100 and total spent > 250. ...

January 30, 2026 ยท  (Updated: February 17, 2026) ยท 3 min ยท 512 words ยท FewSteps
Read More