3.1.12 Application Testing Flashcards
what is application testing?
using the application in controlled conditions to see how it works
how to accurately test a solution:
you must have a good, clear specification before you start the design phase of a project
what are the 3 reasons why the solution should be rigorously tested?
to make sure that:
- they meet the requirements outlined in the design
- the risk of failure due to bugs/ errors is reduced
- they work as expected
what is unit/modular testing?
first case of testing, where units (functions and procedures) of code are checked individually
who would normally carry out until testing?
developer or development team
what is normal data?
data values in the acceptable range
extreme data?
acceptable input data thats on the boundaries of the range
erroneous data?
data outside the normal input range
what is black box testing?
the tester ensures that the normal inputs produce the expected outputs.
tester doesn’t need understanding of the code
what is white box testing?
tester needs to make sure each line of code operates satisfactorily and check that all branches throughout the software work as expected
tester needs to be skilled in creating software code
what is a test plan?
a table of tests to be carried out with the data that will be used
what is dry run testing?
program is tested without using a computer and running it on paper using hand calculation
what is alpha testing?
carried out when the code is roughly ready. applied to off-the-shelf applications
what s beta testing?
a version of the application is released to limited user groups independent of the development team
what is verification?
testing whether the software performs against the criteria decided in advanced
what is validation?
check that an application has been written correctly against a specification that has been agreed with the customer
list 5 names that could head the columns of a test plan:
9incase they asked you to create a test plan)
- test number
- test title
- test data
- expected results
- actual results
advantages of unit testing {5}
- Problems are discovered early.
- Integration testing is easier.
- Acts as documentation of the system.
- Extremely accurate unit test coverage.
- The unit test itself is used to verify the design.
disadvantages of unit testing {5}
- Time consuming.
- Does not show absence of errors.
- Hard to set up realistic tests.
- errors can be missed.
- Need to have a review process for test case failures.
what is integration testing?
performed when all of the units are complete. This tests whether the units of code work together correctly.
what is system testing?
done without having to have any knowledge of the code itself. This tests that the entire system functions correctly