Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Always response params = id, first_name, second_name, birth_place, merged_ids

n/n Test Case
Preparatory Steps
Test Case Description
Test Case Inputs
Expected Result - found persons
Response params:
DR1Create person - P1Search by person's tax_id and phone.number
  • first name - nonperson( not by metaphone)
  • last name -nonperson( not by metaphone)
  • birth_date -nonperson
  • tax_id - P1
  • phone_number -P1

find one person

id

  • tax_id 
  • phone.number 
  • merged_ids
  • first name
  • last name 
  • second_name
  • birth_place
    • - nonperson( not by metaphone)
    • last name - P1 by metaphone or equal P1
    • birth_date -nonperson
    • tax_id - P1
    • phone_number -P1
    • tax_id 
    • phone.number 
    • merged_ids
    • last_name
    DR2Create person - P1Search by person's tax_id and last_name
    • first name - nonperson( not by metaphone)
    • last name - P1 by metaphone or equal P1
    • birth_date -nonperson
    • tax_id - P1
    find one person
    id
  • first name
    • last name 
  • second_name
  • birth_place
    • tax_id 
    merged_ids
    DR3Create person - P1Search by person's birth_certificate and phone.number
    • first name - nonperson( not by metaphone)
    • last name -nonperson( not by metaphone)
    • birth_date -nonperson
    • birth_certificate - P1
    • phone_number - P1

    find one person

    id
    • birth_certificate 
    • phone.number
    • first name - nonperson( not by metaphone)
    • last
    name 
  • second_name
  • birth_place
    • name - P1 by metaphone or equal P1
    • birth_date -nonperson
    • birth_certificate - P1
    • phone_number - P1
    • birth_certificate 
    • phone.number
    merged
    • last_
    ids
    • name
    DR4Create person - P1Search by person's birth_certificate and last_name
    • first name - nonperson( not by metaphone)
    • last name -P1 by metaphone or equal P1
    • birth_date -nonperson
    • birth_certificate - P1
    find one person
  • id
  • first name
    • last name 
    second_name
    • birth_
    placebirth_
    • certificate
    merged_idsDR6Create person - P1Search by person's birth_certificate and last_name
    DR5Create person - P1Search by person's last_name and phone.number
    • first name - nonperson( not by metaphone)
    • last name - P1 by metaphone or equal P1
    • birth_date -nonperson
    • phone_number - P1

    find one person

    • id
    • first name
    • last name 
    • second_name
    • birth_place
    • phone.number 
    • merged_ids
    • last name 
    • birth_place
    • phone.number 
    DR6Create person - P1Search by person's birth_certificate, first_name and last_name
    • first name - P1 by metaphone or equal P1
    • last name - P1 by metaphone or equal P1
    • birth_date P1
    find one person
    • first_name
    • last name 
    • birth_date
    DR7

    Create persons - P1, P2

    P1.tax_id = P2.tax_id

    P1.phone_number = P2.phone_number

    Search by person's tax_id and phone.number
    • first name - P1, != P2
    • last name - P1 and != P2
    • birth_date -nonperson
    • tax_id - P1,P2
    • phone_number -P1,P2

    find two person

    • P1.first name
    • P1.last_name
    • tax_id 
    • phone.number 


    • P2.first_name
    • tax_id
    • phone.number
    DR8

    Create persons -  P1, P2, P3, P4

    P1.tax_id = P3.tax_id, != P2,P4

    P1.phone_number = P3.phone_number, != P2,P4

    P1.birth_certificate = P2.birth_certificate, !=P3,P4

    P1.birth_date = P4.birth_date, != P2,P3

    P1.first_name = P4.first_name, != P2,P3

    P1.last_name = P4.last_name, by megaphone P2, !=P3


    Search by all clusters
    • first name - P1
    • last name - P1 
    • birth_date - P1
    • birth_certificate - P1
    • tax_id - P1
    • phone_number - P1
    find four person
    • P1.first_name
    • P1.last_name
    • P1. birth_date
    • P1.birth_certificate
    • P1.tax_id
    • P1.phone_number


    • P3.first_name (not P1)
    • P3.tax_id
    • P3.phone_number
    • P2.first_name (not P1)
    • P2.last_name (not P1)
    • P2.birth_certificate
    • P4.first_name
    • P4.last_name 
    • P4.birth_date
    DR9

    Create persons -  P1, P2, P3

    P1.tax_id = P3.tax_id, != P2

    P1.birth_date  != P2,P3

    P1.first_name = P2.first_name, != P3

    P1.last_name = P2.last_name, by metaphone P3


    Search by all clusters
    • first name - P1
    • last name -
    P1
    •  P1 
    • birth_date - P1
    • tax_id - P1
    find
    one person
  • id
  • first name
  • last name 
  • second_name
  • birth_place
  • merged_ids
    two persons
    • P1.first_name
    • P1.last_name
    • P1. birth_date
    • P1.tax_id
    • P3.first_name (not P1)
    • P3.last_name (not P1)
    • P3.tax_id
    DR10

    Create persons -  P1, P2

    P1.birth_certificate != P2.birth_certificate, 

    P1.birth_date = P2.birth_date

    P1.first_name = by metaphone P2.first_name

    P1.last_name = P2.last_name

    Search by all clusters
    • first name - P1
    • last name - P1 
    • birth_date - P1
    • birth_certificate - P1
    find two persons
    • P1.first_name
    • P1.last_name
    • P1. birth_date
    • P1.birth_certificate
    • P2.first_name(not P1)
    • P2.last_name 
    • P2.birth_date