QuizzifyTech

Bug library › Database testing

Database testing · Users table

User saved with a date of birth in 2031

P3 · MinorBeginnerUsers table

Want to find it yourself first? This page gives away the answer. Play this bug on a fake app screen and see if you can spot it in three tries.

Spot this bug

The clue

Check each birthday against today’s date.

Steps to reproduce

  1. Enter a future date of birth on sign-up
  2. Query the users table

Expected result

Sign-up rejects dates in the future

Actual result

date_of_birth = 2031-05-12 is saved

Why it matters

This is a minor (P3) bug. It does not stop anyone, but it looks careless and makes people trust the product less. It is usually fixed in a normal sprint.

Testing tip

Validate dates on both the form and the server. Test future dates, very old dates and 29 February.

How to find bugs like this

Database bugs show up when you look at the tables: duplicate rows, joins that double totals, deleted users still active, values cut short or saved in the wrong type. When you test, try these checks:

  • Run the query yourself and count the rows.
  • Look for duplicates that differ only in case or spaces.
  • Check deleted and archived records.
  • Compare stored values with what the user typed.

More Database testing bugs

See all 158 bugs