Testing

Description

Mind Map on Testing, created by emma.stew on 05/12/2014.
emma.stew
Mind Map by emma.stew, updated more than 1 year ago
emma.stew
Created by emma.stew almost 11 years ago
15
1

Resource summary

Testing
  1. purpose - looking for possible presence of errors
    1. VALIDATION- does the system do what the users want?
      1. concerns the software product
        1. Dynamic testing
        2. VERFICIATION - are we following the design process?
          1. Ensure componenet or system is working to its spec
            1. Doesnt ensure correctness
              1. Uses static and dynamic
              2. Types of testing
                1. Modelling
                  1. Module integration and acceptance (validation) testing
                    1. static
                      1. modelling
                        1. investigate behaviour of an appropriate system model
                          1. applied in the early stges of SDLC
                            1. example tools - UML
                            2. reviews
                              1. inspection
                                1. step by step reading of software checked against 'check-list'
                                  1. techniques
                                    1. Boundary value analysis (BVA)
                                      1. to remove software errors occuring at parameter limits or boundaries
                                      2. Control flow analysis
                                        1. to detect poor and potentially incorrect program structures
                                        2. Program code analysis
                                          1. trace table
                                            1. trace through program statements
                                            2. symoblic execustion
                                              1. input variables of a program are assigned symbolic values rather than literal values
                                                1. to show the agreement between source code and its spec
                                                2. McCabe cyclomatic complexity
                                                  1. software metric that provides quantitative measure of the logical complexity of a program
                                              2. walkthroughs
                                                1. review of deliverables/products at the end of a life cycle stage
                                                  1. scrum meetings
                                                    1. short daily meetings for discussions
                                                  2. scenario (use case) testing
                                                    1. generally black box
                                                    2. control flow testing
                                                    3. dynamic
                                                      1. the program under test must be executable
                                                        1. the test case - the input data to run the program/ the expected output
                                                          1. The observation - the aspects of behaviour/means of observation
                                                            1. the analysis of results - the correctness of behaviour / adequacy
                                                              1. Black box dynamic testing techniques
                                                                1. Functional testing
                                                                  1. specific test cases defined to test each aspect using a BB approach
                                                                  2. Boundary value
                                                                    1. tests performated at extremes of each input and output range
                                                                    2. Equivalence partitioning
                                                                      1. group sets of input and output ranges that can be treated in the same way
                                                                      2. performance testing
                                                                        1. examines the system behaviour in terms of resource utilisation.
                                                                        2. random testing
                                                                          1. functional or structural testing of random sample of tests or input vectors
                                                                          2. error seeding
                                                                            1. introduce error, as a check on the testing process
                                                                            2. error guessing
                                                                              1. predict error conditions where test cases based on possible operations/situations
                                                                            3. White box dynamic testing
                                                                              1. Statement coverage
                                                                                1. aim - to create enough tests to ensure every statement is executed at least once
                                                                                2. decision coverage
                                                                                  1. aim - generate tests to execute each decision statement branch and module exit path
                                                                                  2. structural analysis (every control path)
                                                                                    1. tests the complete program's structure. Attempts to exercise every entry to exit control path
                                                                                    2. data value analysis
                                                                                      1. indentify numerical problems: entry of incorrect data type, overflow etc
                                                                                3. Levels of testing
                                                                                  1. Blackbox testing
                                                                                    1. - Test against the system functional spec
                                                                                      1. Can reveal errors in design
                                                                                        1. Generally less complex and costly
                                                                                          1. test coverage related to req and exceptions tested. related to behabiour hot code structure
                                                                                            1. used to confirm external spec
                                                                                            2. White box testing
                                                                                              1. Considers the internal code structure
                                                                                                1. can be complex or impractical for some programs
                                                                                                  1. has limited capability in detecting req and design errors
                                                                                                    1. Performs test adequacy, eg. by code path coverage
                                                                                                    2. Coverage
                                                                                                      1. Test adequacy
                                                                                                        1. Non functional req describing how thourough tests should be
                                                                                                          1. complete testing usually impossible
                                                                                                            1. used to specify
                                                                                                              1. when to stop testing
                                                                                                                1. a measure of testing
                                                                                                                  1. how to generate test values
                                                                                                                    1. spec based - black box
                                                                                                                      1. program based - white box
                                                                                                                      2. measure testing progress
                                                                                                                      3. Techniques
                                                                                                                        1. test coverage measurement. eg. lines, branch or path
                                                                                                                          1. Fault seeding
                                                                                                                            1. Scenario testing
                                                                                                                        2. Basis of testing is the TEST PLAN
                                                                                                                          1. details of the part of system being tested , objectives of testing
                                                                                                                            1. general testing strategy
                                                                                                                              1. hardware and software dependencies
                                                                                                                                1. date, location and individuals undertaking the testing
                                                                                                                                  1. for each test include
                                                                                                                                    1. details and purpose of test
                                                                                                                                      1. Test data input and expected output
                                                                                                                                        1. How the test data is prepared and submitted to the system
                                                                                                                                          1. How the outputs are to be captured
                                                                                                                                            1. How the results will be analysed
                                                                                                                                            2. the test plan forms an integral part of the SLC design process
                                                                                                                                              1. Record of testing
                                                                                                                                                1. doc layout
                                                                                                                                                  1. intro - summary from req spec
                                                                                                                                                    1. reqs identification - taken from req spec. identifies what to be tested
                                                                                                                                                      1. test plan / procedures.
                                                                                                                                                        1. test results
                                                                                                                                                          1. traceability matric - relate each req scenario to the test result evidence
                                                                                                                                                        2. Testability Principles
                                                                                                                                                          1. Operability
                                                                                                                                                            1. The better it works, the more efficiently it can be tested
                                                                                                                                                            2. observability
                                                                                                                                                              1. what you see it what you test
                                                                                                                                                              2. controlability
                                                                                                                                                                1. the better we can control the software the more testing can be automated
                                                                                                                                                                2. Decomposability
                                                                                                                                                                  1. by controlling the scope of testing. can more quickly isolate problems
                                                                                                                                                                  2. simplicity
                                                                                                                                                                    1. the less there is to test the more quick itll be done
                                                                                                                                                                    2. stability
                                                                                                                                                                      1. the fewer the changes the fewer disruptions to testing
                                                                                                                                                                      2. understandability
                                                                                                                                                                        1. the more info we have the smarter we will test
                                                                                                                                                                      Show full summary Hide full summary

                                                                                                                                                                      Similar

                                                                                                                                                                      Testing for ions
                                                                                                                                                                      Joshua Rees
                                                                                                                                                                      Chemistry Ion Testing Quiz
                                                                                                                                                                      Ben Botting
                                                                                                                                                                      Testing for ions
                                                                                                                                                                      Joshua Rees
                                                                                                                                                                      dimension tests
                                                                                                                                                                      dario.budimir
                                                                                                                                                                      Ultrasonic Testing Level I
                                                                                                                                                                      Rusty Shackleford
                                                                                                                                                                      Chapter 6 - CTFL ISTQB
                                                                                                                                                                      America LH
                                                                                                                                                                      Assessment in HE - Answers and explanations available at the end.
                                                                                                                                                                      Martin Compton
                                                                                                                                                                      Chapter 4 - CTFL ISTQB
                                                                                                                                                                      America LH
                                                                                                                                                                      Chapter 3 - CTFL ISTQB
                                                                                                                                                                      America LH
                                                                                                                                                                      Live Testing: Instrumentation, Units and Range
                                                                                                                                                                      Oliver Balay
                                                                                                                                                                      A quiz for testing purposes
                                                                                                                                                                      Hamdi Nsir