Download presentation
Presentation is loading. Please wait.
Published byRoderick Greer Modified over 8 years ago
1
RANDOM TESTING & PROTOTYPING Presented By: Presented By: Vipul Rastogi M.Tech (S.E.) SRMSCET Presented To: Dr. Himanshu Hora Chief Proctor SRMSCET
2
Outline PHASE- 1 Random Testing Random Testing RT techniques. Time to use RT. Applications of RT. Pros & Cons RT Tools PHASE- 2 Prototyping Define Prototyping Need of Prototyping Prototyping Techniques Key Points Pros. & Cons. of prototyping Prototyping Tools Random Testing & Prototyping BY VIPUL RASTOGI 213/03/2015
3
PHASE – 1 RANDOM TESTING Random Testing & Prototyping BY VIPUL RASTOGI 313/03/2015
4
Random Testing Random testing is a black-box software testing technique where programs are tested by generating random, independent inputs. Results of the output are compared against software specifications to verify that the test output is pass or fail. Random Testing & Prototyping BY VIPUL RASTOGI 413/03/2015 Random testing gives us an advantage of easily estimating software reliability from test outcomes.
5
Random testing techniques. Random testing techniques. Random input data generation Random sequence of data input (sometimes called as stochastic testing) Random data selection from existing database Random Testing & Prototyping BY VIPUL RASTOGI 513/03/2015
6
Time to use RT Time to use RT If we have a lot time and we want to more reliability product. If we don’t have enought time to testing product, but we must to test it. We must consider the time needed to write a random test generator vs the time to write a set of directed tests(or generators). We doing random testing to ensure that our tests are sufficiently random, and they cover specifications. Random Testing & Prototyping BY VIPUL RASTOGI 613/03/2015
7
Applications of RT. RT techniques are applicable for any single project. They will change from project to project. Usually required for the current project testing techniques are described in the test plan. Different testing techniques can find different types of defects. Random Testing & Prototyping BY VIPUL RASTOGI 713/03/2015
8
Pros & Cons Random Testing & Prototyping BY VIPUL RASTOGI 8 Pros If the domain is well- structured, automatic generation can be used, allowing many more test cases to be run than if tests are manually generated. We can give surprisingly good result by using correct algorithm. Cons. They are not realistic Many of the tests are redundant and unrealistic You will spend more time analyzing results You cannot recreate the test if you do not record what data was used for testing There is no measure of risk 13/03/2015
9
RT Tools RT Tools Simulant Quick Check Randoop Yeti-TEST A Lightweight Tool Random Testing & Prototyping BY VIPUL RASTOGI 913/03/2015
10
PHASE- 2 PROTOTYPING Random Testing & Prototyping BY VIPUL RASTOGI 1013/03/2015
11
Define Prototyping IEEE defines prototyping as “ A type of development in which emphasis is placed on developing prototypes early in the development process to permit early feedback and analysis in support of the development process.” Random Testing & Prototyping BY VIPUL RASTOGI 1113/03/2015
12
Need of Prototyping To assess the set of requirements that makes a product successful in the market To test the feasibility without building the whole system. To make end-user involved in the design phase Enable us to explore the problem space with the stakeholders. As a requirement artifact to initially envision the system. As a design artifact that enables us to explore the solution space of your system. Random Testing & Prototyping BY VIPUL RASTOGI 1213/03/2015
13
Prototyping Techniques Throw away prototyping Evolutionary prototyping Operational prototyping Random Testing & Prototyping BY VIPUL RASTOGI 13 Throw-away prototyping is used to understand the system requirements. Evolutionary prototyping, the system is developed by evolving an initial version to the final version 13/03/2015 Operational prototyping used when requirements are either critical and understood or not critical and poorly understood
14
Key Points Rapid development of prototypes is essential. This may require leaving out functionality or relaxing non- functional constraints Prototyping techniques include the use of very high- level languages, database programming and prototype construction from reusable components Prototyping is essential for parts of the system such as the user interface which cannot be effectively pre- specified. Users must be involved in prototype evaluation Random Testing & Prototyping BY VIPUL RASTOGI 1413/03/2015
15
Pros. & Cons. Random Testing & Prototyping BY VIPUL RASTOGI 1513/03/2015 Pros. It makes the developers clear about the missing requirements. Lets the developers know what actually the users want. Reduces the loss by bringing the manufacturer to a conclusion weather the system which we are about to build is feasible or not rather than building the whole system and finding it. It brings the user to get involved in the system design. Cons. Developers may loose the focus on real purpose of prototype and comprise with the quality of system. New born ideas will be plundered at the initial stages Prototyping will not reveal the non functional requirements like robustness, safety etc.
16
Prototyping Tools Apper Siberian CMS InVision Hotgloo Proto.io PowerMockup Antetype Random Testing & Prototyping BY VIPUL RASTOGI 1613/03/2015
17
Random Testing & Prototyping BY VIPUL RASTOGI 1713/03/2015
18
Random Testing & Prototyping BY VIPUL RASTOGI 1813/03/2015
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.