Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Black & White Box testing

27,095 views

Published on

Black & White Box testing

  • D0WNL0AD FULL ▶ ▶ ▶ ▶ http://1lite.top/9bd02 ◀ ◀ ◀ ◀
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • D0WNL0AD FULL ▶ ▶ ▶ ▶ http://1lite.top/9bd02 ◀ ◀ ◀ ◀
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Did you try ⇒ www.HelpWriting.net ⇐?. They know how to do an amazing essay, research papers or dissertations.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THE BOOK INTO AVAILABLE FORMAT (New Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://redirect.is/fyxsb0u } ......................................................................................................................... Download Full EPUB Ebook here { https://redirect.is/fyxsb0u } ......................................................................................................................... Download Full doc Ebook here { https://redirect.is/fyxsb0u } ......................................................................................................................... Download PDF EBOOK here { https://redirect.is/fyxsb0u } ......................................................................................................................... Download EPUB Ebook here { https://redirect.is/fyxsb0u } ......................................................................................................................... Download doc Ebook here { https://redirect.is/fyxsb0u } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THE can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THE is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBOOK .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookBOOK, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, EBOOK, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THE Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THE the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THE Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Hello! I have searched hard to find a reliable and best research paper writing service and finally i got a good option for my needs as ⇒ www.WritePaper.info ⇐
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Black & White Box testing

  1. 1. Prepared by :1.Mohammed Siddig Ahmed.2.Mohammed Zeinelabdeen.3.Omer Salih Dawood.
  2. 2. Testing Overview and Black-BoxTesting Techniques
  3. 3.  Introduction to Testing. Verification and validation. Black-box testing & White-box testing. Types of testing that involve both black- and white-box techniques. Strategies for writing test cases. Using a template for writing repeatable, defined test cases. 3
  4. 4.  Software testing is the process of analyzing a software item to detect the differences between existing and required conditions (that is, bugs) and to evaluate the features of the software item. 4
  5. 5.  Verification is the process of evaluating a system or component to determine whether the products of a given development phase satisfy the conditions imposed at the start of that phase. Validation is the process of evaluating a system or component during or at the end of the development process to determine whether it satisfies specified requirements. Verification: Are we building the product right? Validation : Are we building the right product? 5
  6. 6.  Standard or specification to measure or identify correct results from incorrect results must define some terms: • Mistake . • Fault [or Defect] . • Failure . • Error . • Specification. 6
  7. 7.  In software development, there are costs associated with testing our programs. Quality is much more important for safety- or mission critical software e.g. aviation software. Goal of testing covering many defects as possible with a little testing. 7
  8. 8.  There are two basic classes of software testing definitions below: • Black box testing (also called functional testing) is testing that ignores the internal mechanism of a system or component and focuses solely on the outputs generated in response to selected inputs and execution conditions. • White box testing (also called structural testing and glass box testing) is testing that takes into account the internal mechanism of a system or component. 8
  9. 9. 1. Unit Testing Opacity: White box testing. Specification: Low-level design and/or code structure. (Unit testing is the testing of individual hardware or software units or groups of related units).2. Integration testing Opacity: Black- and white-box testing. Specification: Low- and high-level design. (Integration test is testing in which software components, hardware components, or both are combined and tested to evaluate the interaction between them). 9
  10. 10. 3. Functional and system testing Opacity: Black-box testing Specification: high-level design, requirements specification. ( Functional testing involves ensuring that the functionality specified in the requirement specification works,& System testing is testing conducted on a complete, integrated system to evaluate the system compliance with its specified requirements). • Stress testing • Performance testing • Usability testing 10
  11. 11. 4. Acceptance testing Opacity: Black-box testing Specification: requirements specification. (Acceptance testing is formal testing conducted to determine whether or not a system satisfies its acceptance criteria (the criteria the system must satisfy to be accepted by a customer) and to enable the customer to determine whether or not to accept the system). 11
  12. 12. 5. Regression testing Opacity: Black- and white-box testing Specification: Any changed documentation, high-level design (Regression testing is selective retesting of a system or component to verify that modifications have not caused unintended effects and that the system or component still complies with its specified Requirements). – A subset of the regression test cases can be set aside as smoke tests. 12
  13. 13. 6. Beta testing Opacity: Black-box testing. Specification: None. The advantages of beta test: • Identification of unexpected errors • A wider population search for errors • Low costs The disadvantages • Lack of systematic testing • Low quality error reports • Much effort is necessary to examine error reports 13
  14. 14. 14
  15. 15.  ( Document describing the scope, approach, resources, and schedule of intended test activities. It identifies test items, the features to be tested, the testing tasks, who will do each task, and any risks requiring contingency plans). Test case ( set of test inputs, execution conditions, and expected results developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement). 15
  16. 16.  The earlier testing is planned at all levels, the better. Very important to consider test planning and test execution as iterative processes. It is best to begin to write functional and system test cases. When requirements change, revise the test cases. When code changes, run the test cases again. All in all, testing should be considered an iterative and essential part of the entire development process. 16
  17. 17.  Called : – functional testing – behavioral testing focuses on: – whether or not a program does what it is supposed to do based on its functional requirements. 17
  18. 18. 1. incorrect or missing functionality.2. interface errors .3. errors in data structures used by interfaces.4. behavior or performance errors.5. initialization and termination errors.But: no amount of testing can demonstrate the absence of errors. 18
  19. 19.  blackbox tester is not the programmer of the code (it is best). Programmer: – If the program does what they programmed it to do?. Needed: – If The program does what the customer wants it to do?. 19
  20. 20.  Focus on input and output of the software without regard to the internal code of the program 20
  21. 21. 1. test case a unique identifier.2. describe the set of steps and/or input for the particular condition.3. the expected results for an input/output oracle.4. the actual results. 21
  22. 22. 22
  23. 23.  Why test Strategies?:- – test every possible thing (Cost). – find many defects in few test cases . – avoid writing redundant test cases. – design the simplest test cases . 23
  24. 24. 1. Tests of Customer Requirements.2. Equivalence Partitioning.3. Boundary Value Analysis.4. Decision Table Testing.5. Failure (“Dirty”) Test Cases. 24
  25. 25.  Black box test cases are based on customer requirements Have two paths: – success path. – failure path. risky requirements should tested first. 25
  26. 26.  don’t want to write several test cases that test the same aspect of our program(cost). A good test case uncovers a different class of errors. Equivalence partitioning is used to reduce the number of test cases t. divides the input of a program into classes 26
  27. 27.  For each of these classes :- – the set of data should be treated the same by the module under test . – And should produce the same answer. 27
  28. 28.  “ Bugs lurk in corners and congregate at boundaries ” Boris Beizer need to focus testing at the boundaries. Boundary value:- – a data value that corresponds to a minimum or maximum input, internal, or output value specified for a system or component. 28
  29. 29.  When creating BVA test cases, consider the following : – If input conditions have a range from a to b (such as a=100 to b=300), create test cases: – immediately below a (99) – at a (100) – immediately above a (101) – immediately below b (299) – at b (300) – immediately above b (301) 29
  30. 30.  If input conditions specify a number of values that are allowed, test these limits. 30
  31. 31.  record complex business rules that must be implemented in the program, and therefore tested. conditions represent possible input. actions are the events that should trigger. Each column in the table is a unique combination of input conditions that result in triggering the action(s) associated with the rule. 31
  32. 32. 32
  33. 33.  every possible thing a user could possibly do with your system to demolish the software. 33

×