Testing & Refining the database

Testing & Refining the database
Unit 2 - Creating Systems to Manage Information
1 / 21
volgende
Slide 1: Tekstslide
ComputingFurther Education (Key Stage 5)

In deze les zitten 21 slides, met interactieve quizzen en tekstslides.

time-iconLesduur is: 60 min

Onderdelen in deze les

Testing & Refining the database
Unit 2 - Creating Systems to Manage Information

Slide 1 - Tekstslide

By the end of todays lesson you should be able to:

1. Identify the steps involved in testing a database.
2. Execute strategies to test and refine a database effectively.
3. Evaluate the effectiveness of a database through testing.

Slide 2 - Tekstslide

Why do you think we should test databases?

Slide 3 - Open vraag

What is Database Testing?

Slide 4 - Tekstslide

Types of Tests
  Normal – This is data which can be considered the ordinary/typical (normal) type of data you would expect to be input to the field and that should be accepted.

Username: john_doe
Password: Password123!
Email: john.doe@example.com
Date of Birth: 15/05/1990
Phone Number: +441234567890

Slide 5 - Tekstslide

Types of Tests
Erroneous – This is data that is incorrect for this field (e.g. a text value in a number field) and should be rejected with a suitable error message.


Username: john@doe (contains invalid character @)
Password: pass (too short, does not meet complexity requirements)
Email: john.doe@com (invalid email format)
Date of Birth: 25/12/2025 (future date)
Phone Number: 12345 (too short, invalid format)

Slide 6 - Tekstslide

Types of Tests
Extreme test data includes values that are at the boundaries of acceptable input ranges or beyond, to test the application’s limits.

Username: a_very_long_username_exceeding_the_maximum_length_limit
Password: P@ssw0rd!P@ssw0rd!P@ssw0rd!P@ssw0rd!P@ssw0rd! (extremely long password)
Email: a_very_long_email_address_exceeding_the_maximum_length_limit@example.com
Date of Birth: 01/01/1900 (very old date)
Phone Number: +4412345678901234567890 (exceedingly long phone number)


Slide 7 - Tekstslide

Example Test Data

Slide 8 - Tekstslide

Common Database Errors
A common error in a database is when a field can be left blank.
Another common error is data that is in the wrong format.
Sometimes we have data in a database that is outside of the range we are looking for

Slide 9 - Tekstslide

Select the option that is not considered normal test data:
A
Brown
B
Blue
C
Red
D
Small

Slide 10 - Quizvraag

_______ test data includes values that are at the boundaries of acceptable input ranges or beyond, to test the application’s limits.
A
Extreme
B
Normal
C
Erroneous
D
Small

Slide 11 - Quizvraag

This is data which can be considered the ordinary/typical type of data you would expect to be input to the field and that should be accepted.

A
Extreme
B
Normal
C
Erroneous
D
Small

Slide 12 - Quizvraag

Which option would be considered extreme for a username field?
A
Sam123
B
MacSam
C
Samisthemostamazingteachereverandshouldalwaysteachus2
D
samtheman4

Slide 13 - Quizvraag

Demonstration

Slide 14 - Tekstslide

Class Activity – Jan22 Database
Help
You can find the database in the shared folder under Testing folder. It is called Jan22_PartA

Slide 15 - Tekstslide

Implementing Fixes
Student Surname
  

Subject Level

Slide 16 - Tekstslide

Implementing Fixes
Student Surname – IS NOT NULL

Subject Level – Between 1 and 3

Slide 17 - Tekstslide

You should now be able to:

1. Identify the steps involved in testing a database.
2. Execute strategies to test and refine a database effectively.
3. Evaluate the effectiveness of a database through testing.

Slide 18 - Tekstslide

What was one thing you learnt from todays lesson?

Slide 19 - Woordweb

What was one thing you found challenging in todays lesson?

Slide 20 - Woordweb

On a scale from 1 to 10 (1 being really bad and 10 being awesome), did you enjoy todays lesson?
110

Slide 21 - Poll