Software testing

1,188
-1

Published on

Published in: Technology
1 Comment
2 Likes
Statistics
Notes
  • basic topics of SDLC and unit testing
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
1,188
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
83
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

Software testing

  1. 1. Topics
  2. 2.  If a Software was developed depends on specific customer requirement then that software was called as Software project.  If a software was developed by company depends on overall requirements in the market called as Software product.
  3. 3.  Software Development Life Cycle is a process to develop a new software.  OLD SDLC Models 1. Waterfall Model 2. Prototype Model 3.Increamental model 4. Spiral Model 5.RAD(Rapid Application Development) Model
  4. 4.  When customer requirements are clear, organization can fallow waterfall model. This is also called as Liner sequential model. Because one step start with after completion previous step.  Waterfall model is the earliest SDLC approach that was used for software development.  Waterfall model start with software Bidding means that a proposal to develop a new software.
  5. 5. Support/maintenance Release Testing Coding Design Analysis Requirements Gathering Overall Plan Kickof Meeting Software Bidding
  6. 6. 1.Waterfall model is a easy model to Implement any size of project. 2.Waterfall model is sequential model due to this reason testing should run on every module. 3. This model causes low business cost because this model helps to find problems earlier, after finds problems is fixing complex and costly. 4. In this model documented every stage allowing people to understand easily.
  7. 7. 1. In waterfall model any requirement will change in the middle of the process this model can not be work. 2. In this model only one stage of testing is there that to conducted by developers. 3. This model is taking more time because of it is a sequential model, one step will be staring after completion previous step, so we want to wait up to completion of previous step.
  8. 8.  When customer requirements are not clear then many organizations are following this prototype model.  In prototype model when customer requirements are not clear that time Business Analyst(BA) can prepare prototype screens based on previous projects knowledge and showing customer site people to get clear requirements.  The process flow of Prototype model also same as Waterfall model but in requirement gathering stage added one extra step as shown below process.
  9. 9. Support/maintenance Release Testing Coding Design Analysis Requirements Gathering Overall Plan Kick of Meeting Software Bidding Developing prototype screens Showing to customer site people To get clear requirements
  10. 10.  Prototype model method is employed when very difficult to get exact requirements from the customer that time we are using this model.  In the above diagram requirement stage Business Analyst(BA) can prepare Prototype screens and showing to customer site people to get clear requirements.
  11. 11. 1. When prototype is shown to customer, he gets a proper clarity on requirements and he can suggest the modifications if needed. 2. Customers usually not good at specifying their requirements , or can tell not properly what they expect from software that time this is useful.
  12. 12. 1. Prototype model also having one stage of testing and that to conducted by developers. 2. Too many changes can disturb the software development process. 3. To much investment of client, is not always preferred by the developer.
  13. 13.  In incremental model multiple development stages takes place here. Cycles are divided into smaller and more easily managed iterations.  When customer requirements are huge organizations are follows incremental model to develop a new software.  Here software development will be done installment by installment.
  14. 14. SRG Analysis Design Coding Testing Release SRG Analysis Design Coding Testing Release SRG Analysis Design Coding Testing Release SRG Analysis Design Coding Testing Release Incremental Time SRG---Some requirements gathering
  15. 15.  Here huge requirements are dividing into small requirements and developing the software installment by installment.  When customer having huge requirement and needs quick delivery that time organizations are using incremental model. Advantages  This model allowing customer to change requirements and scope modification.  Generating working software quickly.  Easy to manage iterations.
  16. 16.  This model was developed by Berry Boehm.  When customer requirements are enhancing regularly the organizations are following Spiral model.  Here customer requirements changing regularly at the time development process.  This model is also incremental development process, here customer given the requirements based on satisfaction of the previous stage development process.
  17. 17. Requirement gathering Analysis Design Coding Testing Release Maintenance Needs Enhancement Requirement gathering Analysis Design Coding Testing Release Maintenance Needs Enhancement Requirement gathering Analysis Design Coding Testing Release Maintenance
  18. 18. • Spiral model is a combination of iteration development model process and linear sequential model. • In Spiral model the total software is spitted into sprints. • Spiral model develops the software module by module or sprint by sprint. Advantages • It is allowing customer to change their requirements at any stage of development. • Customer site people with get the software as early as possible if they need because software will develop module by module.
  19. 19.  It complex to use for small and low risk projects.  Large number of stages will require to complete the software, documentation will be complex.
  20. 20.  When customer requirements are similar to previous or old projects then organizations are following this RAD model.  This model needs minimal planning to develop this type of software's.  To develop new software by coping the code from old projects or products.
  21. 21. The above 5 SDLC models are having a single stage of testing and that to conducted by developers. Due to this reason organizations are going to use Advanced SDLC models to release a quality software to customer.
  22. 22.  This model define mapping in between multiple stages of development and multiple stages of Testing.  Fish model is using where manufacturing will take more loss organizations are using Fish model.  Ex: Racket launching.
  23. 23. PIN  Process Flow BRS Re view SRS Software IntegrationCodingDesign Re view Unit Testing Integration Testing Re view Accept ance Accept Ance testing Release Release Testing
  24. 24.  In Fish model every stage of testing is there.  In fish model Software testing stage will be continued with respect to software development stage.  Here BRS, SRS, Design documents verification will be done by authors means that who prepared that documents that people can responsible to review the documents.  Here Business Analyst can gathering the requirements and can prepare the BRS.  Here System Analyst can study the BRS and can prepare the SRS.  Technical Architect can prepare the HLD and LLds documents.
  25. 25.  Here developers can write code with respect to LLD’s and done unit testing and integration testing.  After software coding A separate testing team will test the software.  Customer site people will responsible for acceptance testing. Note:  Fish model is time consuming model and costly model .
  26. 26.  This model defines mapping in between software testing stages and software development stages.  V-model stands verification and validation.  Verification will done with respect to customer requirements and validation will done with respect to customer expectation.
  27. 27. BRS SRS Coding Verification Validation Review Review Review
  28. 28.  Here coding will done with respect to low level design and conducting Unit testing.  Integrating the unit tested programs and conducted integration testing with respect to HLD.  Here software testing will done with respect to SRS prepared by System Analyst.  Acceptance testing will done with respect to BRS prepared by Business Analyst.  In acceptance testing customer site people can involve and give feedback on software with respect to BRS called as acceptance testing.
  29. 29.  The testing activity is perform in the each phase of Software Testing Life Cycle phase.  V-model shows software development stage in left side and software testing stage in right side.  From above V-Model separate testing team is available for software testing stage only, Because software testing is bottle neck stage of development.
  30. 30.  Agile model stands for developers develop the deliverables and tester can test those deliverables at the same time stakeholders can accept those deliverables.  In Agile model after accepting the deliverable only start the next stage of testing.  In Agile model the software is developing module by module. Means that once completion of one module , that module can be delivered to customer for acceptance, if they accept that then start the next module.
  31. 31. Iteration -1 Iteration 0 Constructive Iteration Production Retirement
  32. 32. Agile Extreme: When customer requirements are not clear,Small and medium scale organizations are try to follow this Prototype V-model and large scale companies are following Prototype-Agile model, this is also called as Agile Extreme model. Agile Sprint: when customer requirements are huge small and medium scale companies are try to follow Incremental V-model and large scale companies are following Incremental- Agile model this is also called as Agile Sprint model.
  33. 33.  When customer requirements are Enhancing regularly small and medium scale companies are following Spiral-V-model and large scale companies are following Spiral – Agile model also called as Agile Scrum model.  In Agile scrum model the software is divided into sprints and developing the software sprint by sprint is called as Agile Scrum.

×