GoConqr has a new look! Let us know what you think.

Mind map

DESIGN AND TESTING

Benjamin Ainsley English

Map content

DESIGN AND TESTING

  1. defensive design

    • Programmers try to protect their programs through defensive design. They try to: -Anticipate how users might misuse their programs. -Ensure their program code is well maintained. -Reduce the number of errors in the code through testing.
      • To make sure the inputs cannot be exploited, Data Validation and Input Sanitation.
        • input validation is: Checking if data meets certain criteria before passing it into the program. Input Sanitation is removing any unwanted characters before passing data through the program.
          • Input validation types: -Range Check. -Presence Check -Check data -Format Check -Look-up Table -Length Check.
  2. There are three different types of errors: -Syntax error -Run-time error -Logic error

    • A syntax error is an error with the grammer or spelling.
    • A Run-time error is an error that crashes whilst running.
    • A logic error is when the code runs but not in the way you expect.

Information

Description
Mind Map on DESIGN AND TESTING, created by Benjamin Ainsley on 12/02/2019.
Created by
Benjamin Ainsley · Feb 2019
Updated
Feb 12, 2019
Views
0
Rating

More on Robust Programming and Testing

Feedback

What is it about?

What do you think of the new look?

How do you like it?