Home Contact

Software Test, QA & Support in the 2.0 World: The Collage of Devankur Thakur

"It ain't braggin' if you can do it."-Dizzy Dean, 1930's baseball player

News

Article Categories

Archives

Post Categories

Image Galleries

Blogs to Read..!

My Other Blog..!

Software Testing Related Links

Syndication:

A Few Testing FAQs: By Rob Davis

From the FAQ compiled by Rob Davis (http://www.robdavispe.com/free2/)

Q: What makes a good test engineer?

 

A: A good test engineer

Has a "test to break" attitude,

Takes the point of view of the customer,

Has a strong desire for quality,

Has an attention to detail, He's also

Tactful and diplomatic and

Has good a communication skill, both oral and written.

Has previous software development experience, too.

 

Good test engineers have a "test to break" attitude, they take the point of view of the customer, have a strong desire for quality and an attention to detail. Tact and diplomacy are useful in maintaining a cooperative relationship with developers and an ability to communicate with both technical and non-technical people. Previous software development experience is also helpful as it provides a deeper understanding of the software development process, gives the test engineer an appreciation for the developers' point of view and reduces the learning curve in automated test tool programming.

 

Q: What if there isn't enough time for thorough testing?

 

A: Since it's rarely possible to test every possible aspect of an application, every possible combination of events, every dependency, or everything that could go wrong, risk analysis is appropriate to most software development projects. Use risk analysis to determine where testing should be focused. This requires judgment skills, common sense and experience. The checklist should include answers to the following questions:

 

Which functionality is most important to the project's intended purpose?

Which functionality is most visible to the user?

Which functionality has the largest safety impact?

Which functionality has the largest financial impact on users?

Which aspects of the application are most important to the customer?

Which aspects of the application can be tested early in the development cycle?

Which parts of the code are most complex and thus most subject to errors?

Which parts of the application were developed in rush or panic mode?

Which aspects of similar/related previous projects caused problems?

Which aspects of similar/related previous projects had large maintenance expenses?

Which parts of the requirements and design are unclear or poorly thought out?

What do the developers think are the highest-risk aspects of the application?

What kinds of problems would cause the worst publicity?

What kinds of problems would cause the most customer service complaints?

What kinds of tests could easily cover multiple functionalities?

Which tests will have the best high-risk-coverage to time-required ratio?

 

Q: What can be done if requirements are changing continuously?

 

A: Work with management early on to understand how requirements might change, so that alternate test plans and strategies can be worked out in advance. It is helpful if the application's initial design allows for some adaptability, so that later changes do not require redoing the application from scratch. Additionally, try to... Ensure the code is well commented and well documented; this makes changes easier for the developers.  Use rapid prototyping whenever possible; this will help customers feel sure of their requirements and minimize changes. In the project's initial schedule, allow for some extra time to commensurate with probable changes. Move new requirements to a 'Phase 2' version of an application and use the original requirements for the 'Phase 1' version.  Negotiate to allow only easily implemented new requirements into the project; move more difficult, new requirements into future versions of the application. Ensure customers and management understand scheduling impacts, inherent risks and costs of significant requirements changes. Then let management or the customers decide if the changes are warranted; after all, that's their job. Balance the effort put into setting up automated testing with the expected effort required to redo them to deal with changes. Design some flexibility into automated test scripts; Focus initial automated testing on application aspects that are most likely to remain unchanged; Devote appropriate effort to risk analysis of changes, in order to minimize regression-testing needs; Design some flexibility into test cases; this is not easily done; the best bet is to minimize the detail in the test cases, or set up only higher-level generic-type test plans; Focus less on detailed test plans and test cases and more on ad-hoc testing with an understanding of the added risk this entails.

 

Q: What if the application has functionality that wasn't in the requirements?

 

A: It may take serious effort to determine if an application has significant unexpected or hidden functionality, which it would indicate deeper problems in the software development process. If the functionality isn't necessary to the purpose of the application, it should be removed, as it may have unknown impacts or dependencies that were not taken into account by the designer or the customer. If not removed, design information will be needed to determine added testing needs or regression testing needs. Management should be made aware of any significant added risks as a result of the unexpected functionality. If the functionality only affects areas, such as minor improvements in the user interface, it may not be a significant risk.

Q: How can software QA processes be implemented without stifling productivity?

 

A: Implement QA processes slowly over time. Use consensus to reach agreement on processes and adjust and experiment as an organization grows and matures. Productivity will be improved instead of stifled. Problem prevention will lessen the need  for problem detection. Panics and burnout will decrease and there will be improved focus and less wasted effort. At the same time, attempts should be made to keep processes simple and efficient, minimize paperwork, promote computer-based processes and automated tracking and reporting, minimize time required in meetings and promote training as part of the QA process. However, no one, especially talented technical types, like bureaucracy and in the short run things may slow down a bit. A typical scenario would be that more days of planning and development will be needed, but less time will be required for late-night bug fixing and calming of irate customers.

 

Q: What if the project isn't big enough to justify extensive testing?

 

A: Consider the impact of project errors, not the size of the project. However, if extensive testing is still not justified, risk analysis is again needed and the considerations listed under "What if there isn't enough time for thorough testing?" do apply. The test engineer then should do "ad hoc" testing, or write up a limited test plan based on the risk analysis.

Q: How do you create a test strategy?

 

A: The test strategy is a formal description of how a software product will be tested. A test strategy is developed for all levels of testing, as required. The test team analyzes the requirements, writes the test strategy and reviews the plan with the project team. The test plan may include test cases, conditions, the test environment, a list of related tasks, pass/fail criteria and risk assessment.

 

Inputs for this process:

A description of the required hardware and software components, including test tools. This information comes from the test environment, including test tool data.

A description of roles and responsibilities of the resources required for the test and schedule constraints. This information comes from man-hours and schedules.

Testing methodology. This is based on known standards. Functional and technical requirements of the application. This information comes from requirements, change request, technical and functional design documents.  Requirements that the system can not provide, e.g. system limitations.

 

Outputs for this process:

An approved and signed off test strategy document, test plan, including test cases.

Testing issues requiring resolution. Usually this requires additional negotiation at the project management level.

 

Q: What is sanity testing?

 

A: Sanity testing is a cursory testing; it is performed whenever a cursory testing is sufficient to prove the application is functioning according to specifications. This level of testing is a subset of regression testing. It normally includes a set of core tests of basic GUI functionality to demonstrate connectivity to the database, application servers, printers, etc.

 

Q: What is end-to-end testing?

 

A: End-to-end testing is similar to system testing, the *macro* end of the test scale; it is the testing a complete application in a situation that mimics real life use, such as interacting with a database, using network communication, or interacting with other hardware, application, or system.

Q: Why do you recommended that we test during the design phase?

 

A: Because testing during the design phase can prevent defects later on. I recommend we verify three things...

Verify the design is good, efficient, compact, testable and maintainable.

Verify the design meets the requirements and is complete (specifies all relationships between modules, how to pass data, what happens in exceptional circumstances, starting state of each module and how to guarantee the state of each module).  Verify the design incorporates enough memory, I/O devices and quick enough runtime for the final product.

 

Q: How is testing affected by object-oriented designs?

 

A: A well-engineered object-oriented design can make it easier to trace from code to internal design to functional design to requirements. While there will be little affect on black box testing (where an understanding of the internal design of the application is unnecessary), white-box testing can be oriented to the application's objects. If the application was well designed this can simplify test design.

 


Feedback

No comments posted yet.


Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: