In software engineering practice, construction practice includes coding and testing tasks and principles. Testing is a process of finding out an error. A good testing technique is one which gives the maximum probability of finding out an error. The main objective of testers is to design tests that uncover different classes of errors with minimum amount of effort and time.
Some testing principles include:
- From a customer point of view, severe defects are one that cause failure of the program so all the tests that are defined should meet the requirements of the customer.
- Planning of tests should be done long before testing begins. When the design model is made, test cases cab be defined at that very point. Tests can be planned before any code has been generated.
- Generally, individual components are tested first and then the focus is shifted to integrated components and finally the entire system.
- It is not possible to execute different combination of paths during testing. This means that exhaustive testing is not possible.
In a broader software design context, we begin "in the large" by focusing on software architecture and end "in the small" focusing on components. In testing, the focus is reversed.
Friday, July 15, 2011
What are Construction Practices in Software Engineering Practice? - Part 2 : Testing Principles
Posted by
Sunflower
at
7/15/2011 01:28:00 PM
0
comments
Labels: Architecture, Code, Concepts, Construction Practices, Errors, Practices, Preparation, Principles, Software, Software Engineering Practice, Test cases, Testing Principles, Tests, Understandability
![]() | Subscribe by Email |
|
Thursday, July 14, 2011
What are Construction Practices in Software Engineering Practice? - Part 1
In software engineering practice, construction practice includes coding and testing tasks and principles. Coding involves direct creation of source code, automatic generation of source code and automatic generation of executable code using fourth generation programming languages.
CODING PRINCIPLES
Coding principles include preparation principles, coding principles, validation principles.
Preparation principles include:
- good understanding of the problem is necessary.
- good understanding of design principles and concepts.
- choose the right programming language and environment.
- unit tests that are applied once the component you code is completed.
Coding principles include:
- choose data structures.
- constrain algorithms.
- choose software architecture and interfaces.
- nested loops should be simple and easily testable.
- conditional logic should be simple.
- variable names should be meaningful.
- code should be self documenting.
Validation principles include:
- a code walk-through is conducted.
- unit tests are performed.
- code re-factoring is done.
Posted by
Sunflower
at
7/14/2011 07:52:00 PM
0
comments
Labels: Architecture, Code, Coding, Concepts, Construction Practices, Practices, Preparation, Principles, Software, Software Engineering Practice, Understandability, Validation
![]() | Subscribe by Email |
|