Monday, May 3, 2021

Distinguish between error, defect, and failure

People make mistakes (errors), and they can lead to defects in documentation and software. At the same time, an error in one work product may lead to an error in another work product that related with the first work product.

A mistake in understanding the requirements can lead to a programming error and to a defect in the code. Execution of defective code can, but does not necessarily, lead to both software failure and to incorrect results.

It should be borne in mind that failures and incorrect results can, depending on many factors, occur often, rarely, or even never.

The main reasons for errors are:

- human nature (people make mistakes)

- lack of time

- lack of knowledge and experience of the staff

- errors in the exchange of information between participants

- complexity of the project, architecture, technologies, code, etc.

- insufficient knowledge of internal and external interfaces

- disadvantages of documentation on the used technologies.

Failures can be triggered by features and failures in the environment. The operation of the system can be affected by the effects of strong magnetic fields, radiation, various types of pollution, as well as changes in the configuration of the equipment.

Keep in mind that not all unexpected results are failures.

False positive and false negative results can occur when errors are made during testing, when incorrect data is used, when results are misinterpreted, due to problems in the test environment, and due to other similar factors.

No comments:

Post a Comment

Explain the relationships between software development activities and test activities in the software development lifecycle

Regardless of the development model, there are several principles of good testing: