Skip to main content

Real-Time Example: Defect vs Bug

Real-Time Example: Defect vs Bug

Example 1: Internet Banking Application

Requirement: User should be able to transfer up to ₹1,00,000 per day.

Actual Implementation: The application allows transfers up to ₹10,00,000 per day.

Defect: The code does not comply with the business requirement.

Bug: QA tests a ₹5,00,000 transfer, observes it succeeds, and logs a bug in Jira.


Interview Statement: "The incorrect implementation is the defect. Once the tester discovers and reports it, it becomes a bug."


---

Example 2: Healthcare Application

Requirement: Patient date of birth must not be a future date.

Actual Behavior: System accepts a future date such as 01-Jan-2030.

Defect: Validation logic is missing.

Bug: Tester enters a future date and reports the issue.



---

Example 3: E-Commerce Website

Requirement: Apply 10% discount on orders above ₹5,000.

Actual Behavior: System applies only 5% discount.

Defect: Discount calculation logic is incorrect.

Bug: Customer or tester notices the wrong discount and raises a bug ticket.



---

Project Manager / Delivery Manager Interview Answer

"A defect is a flaw in the design, code, or requirement implementation. When the defect is identified during testing or by a customer and logged for resolution, it is referred to as a bug. For example, if a banking application allows transactions beyond the approved limit, the incorrect code is the defect, and the issue reported by QA is the bug."

Comments

Popular posts from this blog

Voice of the Customer (VoC) vs Voice of the Business (VoB)

  Tthe differences and strategic importance of Voice of Business (VoB) and Voice of Customer (VoC) in Lean Six Sigma: Voice of Business vs Voice of Customer: Aligning Strategy with Value In the world of Lean Six Sigma , success hinges on understanding and balancing two critical perspectives: the Voice of the Customer (VoC) and the Voice of the Business (VoB) . While both are essential for driving sustainable growth and operational excellence, they represent distinct priorities that must be harmonized for optimal results. 🔊 Voice of the Customer (VoC) Definition : VoC refers to the needs, expectations, preferences, and feedback of the customer—whether internal or external. Focus Areas : Product/service quality Delivery timelines Customer experience Responsiveness and support Methods of Capturing VoC : Surveys and interviews Focus groups Customer complaints and feedback Net Promoter Score (NPS) Goal : To ensure that processes and outputs are aligned with what the customer truly ...

Scaled Agile Framework (SAFe)

The Scaled Agile Framework (SAFe) is a set of organizational and workflow patterns for implementing agile practices at an enterprise scale. The framework is a body of knowledge that includes structured guidance on roles and responsibilities, how to plan and manage the work, and values to uphold. Scrum is a simple, flexible approach to adopting Agile that's great for small teams. SAFe is an enterprise-wide Agile framework designed to help bring Agile beyond the team and into the company as a whole. Scaled Agile has built a comprehensive level that includes all the four layers called the team, program, large solutions, and portfolio level. 4 Layers: Portfolio - Strategy, Vision, Roadmap, Strategy goal, Decision making, Budget, Portfolio level metrics,  Program - Align multiple teams towards a common mission, Bring together all the Agile teams, transparency, collaboration, and synchronisation, Scrum of Scrums, Product Owners to define the overall vision. Large Solutions - ar...

Certified Enterprise Architect Professional (CEAP) - Module 4 - Architecture Precursors

 Architecture Precursors: Precursors to modern Enterprise Architecture (EA) include early frameworks like IBM's Business Systems Planning (BSP), which focused on aligning business strategy with information systems, as well as other Information Systems (IS) architecture methodologies that emerged in the 1970s and 80s, emphasizing the connection between business processes and IT systems, laying the groundwork for the holistic view of an organization that EA represents today; the "Master Plan for Information Systems" by Evans and Hague is also considered a foundational concept in this area. Drivers: internal / external pressure enforce to change the system Aims & Directives: Aims:  Goals Objectives Requirements Directives: Principles (example: Principles can be associated with business, data, applications, infrastructure, or security) Policies (example: Members of the public have minimal access to data) Business Rules (example: A rule directs and restricts a procedure)