Tuesday, August 16, 2011

Software Testing - Prototype Model for Developers

A prototype is an early sample or model built to test a concept or process or to act as a thing to be replicated or learned from. It has been taken from the greek word - prototypon meaning primitive form.
Prototyping model was developed to counter the limitations of waterfall model. The basic idea behind prototyping model is that instead of freezing the requirements before any design or coding can begin, a throwaway prototype is built to understand the requirements. This prototype is build based on currently known requirements.
The throwaway prototype undergoes design, coding, testing but each of these phases are not formal. The prototype is developed and delivered to client, client uses this prototype and gets the actual feel of the system.
Client interacts with the system and gets better understanding of the requirements of the desired system, this at last results in more stable requirements from clients.
Prototyping model is mostly used for projects where the requirements are not very clear from client. When a prototype is developed using known unclear requirements and given to customer he uses the prototype and gets the feel of the software system and then produces concrete requirements.
In prototyping model the focus of the development is to include those features which are not properly understood as prototype is anyway to be discarded. So the well known requirements are not implemented in the prototype.

Development Approach of Prototyping Model

Development approach for prototyping model is quick and dirty, main focus is on quick development rather than high quality prototype. Minimal documentation is done like Test Plan, Design Documents, Test Cases Documents are not prepared. Minimum testing is done as testing consumes major part of expenditure.

Prototype Models Types

Patch Up Prototype  : This type of Prototype Model encourages cooperation of different developers. Each developer will work on a specific part of the program. After everyone has done their part, the program will be integrated with each other resulting in a whole new program. Since everyone is working on a different field, Patch Up Prototype is a fast development model. If each developer is highly skilled, there is no need to overlap in a specific function of work. This type of software development model only needs a strong project manager who can monitor the development of the program. The manager will control the work flow and ensure there is no overlapping of functions among different developers.

Non-Operational Prototype  :  A non-operational prototype model is used when only a certain part of the program should be updated. Although it’s not a fully operational program, the specific part of the program will work or could be tested as planned. The main software or prototype is not affected at all as the dummy program is applied with the application. Each developer who is assigned with different stages will have to work with the dummy prototype. This prototype is usually implemented when certain problems in a specific part of the program arises. Since the software could be in a prototype mode for a very long time, changing and maintenance of specific parts is very important. Slowly it has become a smart way of creating software by introducing small functions of the software.

First of a Series Prototype  :  Known as a beta version, this Prototype Model could be very efficient if properly launched. In all beta versions, the software is launched and even introduced to the public for testing. It’s fully functional software but the aim of being in beta version is to as for feedbacks, suggestions or even practicing the firewall and security of the software. It could be very successful if the First of a Series Prototype is properly done. But if the program is half heartedly done, only aiming for additional concept, it will be susceptible to different hacks, ultimately backfiring and destroying the prototype.

Selected Features Prototype  :  This is another form of releasing a software in beta version. However, instead of giving the public the full version of the software in beta, only selected features or limited access to some important tools in the program is introduced. Selected Features Prototype is applied to software that are part of a bigger suite of programs. Those released are independent of the suite but the full version should integrate with other software. This is usually done to test the independent feature of the software.

Advantages 

  1. In prototyping model requirements are frozen at a later stage by which time they are likely to be stable.
  2. Client or end users already get experience with the prototype system. It is more likely that the requirements specified after prototype will be very close to actual requirements.
  3. Reduces risks associated with the projects.

Disadvantages

              1.  Since its being built out of the concept most of the models presented in the  
                   early stages are not complete.
              2.  Since the prototype changes from time to time its a nightmare to create a
                   document for this software.

 


No comments:

Post a Comment