Programming Testing

Software testing l.jpg
1 / 22
0
0
1317 days ago, 542 views
PowerPoint PPT Presentation
Programming Testing. Testing over the whole programming improvement lifecyle. Programming test engineer. Programming test architect is an expert who is responsible for one or more specialized test exercises, including outlining test inputs delivering experiment values running test scripts

Presentation Transcript

Slide 1

Programming Testing over the whole programming advancement lifecyle

Slide 2

Software test build Software test designer is an expert who is responsible for at least one specialized test exercises, including outlining test inputs delivering experiment values running test scripts dissecting comes about announcing results to engineers and supervisors By Ammann and Offutt, 2008

Slide 3

Software test chief Test director is accountable for at least one test engineers. They set test strategies and procedures screens the procedures connect with different directors on the venture help the specialists do their assignments By Ammann and Offutt, 2008

Slide 4

Activities of a product test build Design tests by making test prerequisites necessities are changed into real values and scripts prepared for execution executable test are keep running against the product the outcomes are assessed to figure out whether the tests discover a blame Powerful instrument: formal scope paradigm Provides test engineers approaches to choose what test contributions to use amid testing to such an extent that most extreme conceivable flaws can be discovered Also gives halting standards By Ammann and Offutt, 2008

Slide 5

The psyche of an analyzer Four various types of speculation appeared by a decent analyzer (by Kaner et. al) Technical considering: capacity to model innovation and comprehend circumstances and end results Creative considering: capacity to produce thoughts and see potential outcomes Critical considering: capacity to assess thoughts and make inductions Practical considering: capacity to place thoughts into practice A case of these sorts of speculation is found in a tale called "The King's Challenge" By Everett and McLeod Jr., 2007 and Kaner et. al, 2002

Slide 6

The brain of an analyzer (cont'd) The King's Challenge (a tale) Once upon a period, a strong ruler needed to figure out which of his three court wizards was the most capable So he put the three court wizards in the château prison and announced whoever got away from his individual prison cell first was the most capable wizard in all the kingdom By Everett and McLeod Jr., 2007 and Kaner et. al, 2002

Slide 7

The psyche of an analyzer (cont'd) Here is the thing that each court wizards has done The primary wizard instantly began droning enchanted ballads to open his cell entryway The second wizard quickly began throwing little cleaned stones and bits of bone on the floor to figure out how he may open his cell entryway The third wizard sat down opposite his cell entryway and contemplated the circumstance for a moment. At that point, he got up, strolled over to the cell entryway and pulled on the entryway handle. The cell entryway swung open since it was shut yet not bolted Thus, the third wizard gotten away from his cell first and got to be distinctly known as the most capable wizard in all the kingdom What sorts of "analyzer" supposing did the third wizard practice in fathoming the lord's astound? By Everett and McLeod Jr., 2007 and Kaner et. al, 2002

Slide 8

The psyche of an analyzer (cont'd) Answer: Creative considering: capacity to produce thoughts and see conceivable outcomes Practical considering: capacity to place thoughts into practice By Everett and McLeod Jr., 2007 and Kaner et. al, 2002

Slide 9

Non-programming testing at the client level Buying an auto Use the car business to discover non-PC testing cases that can be identified with programming testing Motivation for testing an auto is to decide its quality or its usefulness before getting one As a client, you are not inspired by playing out every single conceivable sort of test since you accept that maker has done those tests for you Important to understand that you restrict your testing some way Limited test is alluded as "test drive" To better comprehend as far as possible , look at what you don't test took after by what you TEST By Everett and McLeod Jr., 2007

Slide 10

Non-programming testing at the client level Objectives of a Test Drive are NOT to break the auto Seek assurances and guarantees that auto producer has effectively demonstrated that auto is "unbreakable" under typical driving conditions for x thousand miles or y years (dependability) to enhance the auto's outline If you need configuration changes in the auto, essentially search for various model or diverse maker By Everett and McLeod Jr., 2007

Slide 11

Non-programming testing at the client level (cont'd) What you test is controlled by your transportation needs. The requirements get to be test drive targets Test destinations are the quantifiable developments in testing which show that the testing exercises have accomplished the coveted objectives Test drive goals are converted into testing approaches that approve whether the auto on the merchant's part meets your transportation targets By Everett and McLeod Jr., 2007

Slide 12

Non-programming testing at the client level (cont'd) Objectives of a Test Drive ARE to approve moderateness to approve engaging quality to approve solace to approve helpfulness to approve execution Each of these targets can be approved without attempting to break the auto or upgrade it. Each of these destinations are close to home and you have to organize them to in last your ultimate conclusion By Everett and McLeod Jr., 2007

Slide 13

Non-programming testing at the client level (cont'd) Testing approaches incorporate looking at the sticker cost and deal contract experimenting with radio, the aeration and cooling system, and the lights attempting increasing speed, ceasing, and cornering These testing methodologies are alluded to by basic phrasing in the testing business inspect = static testing (watch, read, survey without driving the auto) experiment with = utilitarian and auxiliary testing (work diverse components of the auto without driving the auto) attempt = execution testing (work distinctive elements of the auto by really driving the auto) By Everett and McLeod Jr., 2007

Slide 14

Non-programming testing at the engineer level Building an auto Testing targets of another auto to be constructed approve outline through scale models approve operation of models approve mass get together plans from models Starts with composed necessities, for example, Seats six Carries five suite cases Runs on customary gas Consumes gas at a rate of 35 miles for each gallon in parkway Has a top speed of 100 miles for every hour By Everett and McLeod Jr., 2007

Slide 15

Non-programming testing at the engineer level (cont'd) These prerequisites are the nonnegotiable plan and assembling limits set by gatherings other than the planners The maker is capable to fabricate another auto which fulfills every one of the prerequisites New necessities,  more justifiable test goals The auto plan analyzer is mindful to approve the ebb and flow condition of the new auto against its necessities If the new auto doesn't at first meet the prerequisites, then it's the architect, not the analyzer who must enhance the outline for full consistence After the plan changes are done, the analyzer needs to revalidate the reconsidered outline against the prerequisites Design, test, revise, retest cycle proceeds until the new auto meets its prerequisites and is finished before the auto is made Requirements are fundamental for testing approval at each phase of building up another auto By Everett and McLeod Jr., 2007

Slide 16

Non-programming testing at the engineer level (cont'd) Testing approaches utilized while fabricating new autos arrange the tests in light of prerequisites and plan determinations inspect diagrams and dirt models perform and dissect wind burrow tests perform and investigate wellbeing tests perform and approve model elements drive model and approve operations Specifications (blue prints or models) are the fashioner's translation of the necessities on how the plan can be made When particulars are approved against the necessities, all the consequent physical auto get together approval can be performed against the details By Everett and McLeod Jr., 2007

Slide 17

Non-programming testing at the designer level (cont'd) Similar to the test drive, the auto developer testing methodologies can be portrayed by basic testing wording analyze = static testing (watch, read, audit without driving the auto) perform = practical and basic testing (work diverse elements of the auto models, deride ups, and made auto subassemblies) drive = execution testing (work distinctive elements of the auto in the models) By Everett and McLeod Jr., 2007

Slide 18

Primary destinations of Testing target 1: Identify the size and wellsprings of improvement hazard reducible by testing Company readies a business case including expected advantages, expenses, and dangers If the venture is resolved to be awful on speculation, then the venture does not begin If the advantages exceed the cost and it's great degree of profitability, the advantages are contrasted with the dangers If the hazard is high however the probability of the hazard event is low, the venture is on If the hazard and the probability of the hazard event is high, the accompanying inquiries are asked: Can this hazard be lessened by testing? In the event that the hazard can be diminished, what amount can testing decrease it? In the event that the hazard variables are notable and quantifiable, it's conceivable that testing can decrease the likelihood of the hazard event By Everett and McLeod Jr., 2007

Slide 19

Primary goals of testing (cont'd) Testing target 2: Perform testing to diminish distinguished dangers Test arranging incorporates positive testing (things function as required) negative testing (things that break) Test arranging highlights the hazard zones to such an extent that the biggest conceivable rate of the test timetable and exertion (both positive and negative testing) are designated to lessen that hazard Testing does not totally dispose of the hazard since there are constantly a greater number of situations to test than the assigned time and assets to finish the tests By Everett and McLeod Jr., 2007

Slide 20

Primary destinations of testing (cont'd) Testing target 3: Know when testing is finished Since 100% testing is improbable, the te

SPONSORS