Understanding Software Defects

Understanding Software Defects

Describe 13 major categories of Software defects:
  • User interface errors – the system provides something that is different from Interface.
  • Error handling – the way the errors are recognized and treated may be in error .
  • Boundary-related errors – the treatment of values at the edges of their ranges may be incorrect .
  • Calculation errors – arithmetic and logic calculations may be incorrect .
  • Initial and later states – the function fails the first time it is used but not later, or Vice-versa .
  • Control flow errors – the choice of what is done next is not appropriate for the current state .
  • Errors in handling or interpreting data – passing and converting data between systems (and even separate components of the system) may introduce errors.
  • Race conditions – when two events could be processed, one is always accepted prior to the other and things work fine, however eventually the other event may be processed first and unexpected or incorrect results are produced.
  • Load conditions – as the system is pushed to maximum limits problems start to occur, e.g. arrays overflow, disks full .
  • Hardware – interfacing with devices may not operate correctly under certain conditions, e.g. device unavailable .
  • Source and version control - out-of-date programs may be used where correct revisions are available.
  • Documentation – the user does not observe operation described in manuals .
  • Testing errors – the tester makes mistakes during testing and thinks the system is behaving incorrectly.

Testing Life Cycle – Roles and Responsibilities

Testing Life Cycle – Roles and Responsibilities

  • Clear communication protocol should be defined with in the testing team to ensure proper understanding of roles and responsibilities.
  • The roles chart should contain both on-site and off-shore team members.
Testing Life Cycle – Roles and Responsibilities
Test Manager
  • Single point contact between on site and offshore team
  • prepare the project plan.
  • Test management
  • Test planning
  • Interact with onsite lead, Client QA manager.
  • Team Management.
  • Work Allocation to the team.
  • Test coverage analysis.
  • Co-ordination with onsite for issue resolution.
  • Monitoring the deliverables.
  • Verify readiness of the product for release through release review.
  • Obtain customer acceptance on the deliverables
  • Performing risk analysis when required
  • Reviews and status reporting.
  • Authorize intermediate deliverables and patch release to customer.
Test Lead
  • Resolves technical issues for the product group
  • Provide direction to the team member.
  • Perform activities to the respective product group.
  • Review and approve of test plan.
  • Review test script/code.
  • Approve completion of the integration testing.
  • Conduct system/regression test.
  • Ensure tests are conducted as per plan.
  • Reports status to the offshore test manager.
Test Engineer
  • Development of the test cases and scripts
  • Test execution
  • Result capturing and analysis
  • Defects reporting and status reporting.

Testing Life Cycle – Team Structure

Testing Life Cycle Team Structure

  • An effective testing team includes a mixture of members who has Testing expertise/Tools expertise.
  • Database expertise/Domain/Technology expertise.
  • Consultants/End users.
  • The testing team must be properly structured, with defined roles and responsibilities that allow the testers to perform their function with minimal overlap.
  • There should not be any certainty regarding which team member should perform which duties.
  • The test manager will be facilitating any resources required for the testing team.

Iteration Model

Spiral Model

Prototype Model

Waterfall Model

Waterfall Model

The waterfall Model is an engineering model designed to be applied to the development of software.The idea is the following: there are different stages to the development and the outputs of the First Stage "Flow" into the second stage and these outputs "flow" into the third stage and so on.there are Usually five stages in this model of software Development.
Stages of Water Fall Model
Requirement analyis and Planninng:- In This stage the requirements of the "To be developed Software" are established.These are usually the services it will provide,its constraints and Goalsof the Software.Once theae are Established they Have to be defined such a way that are usable in the next Stage.This Stage is often Preludes by a Feasibility or a Feasible study is included in this stage.the Feasibility study includes Questions like;Should we develop the Software,what are the alternatives? It could be called the conception of a software project and might be seen as the very begining of the life cycle.