Below you will find the requirements to identify the Account Diversity Grade of a user. Read the requirements carefully and identify what test users you need to setup in order to completely test and make sure all the below requirements are covered. (Note: you should identify the optimum (minimum) number of users needed to test all of the requirements)

Requirements:

A user can have different types of loan accounts. Now we grade a user’s Account Diversity based on two factors.

1) loanTypeCount

2) totalAccounts

loanTypeCount = the number of different (distinct) LoanType values for all accounts that the user has.

However do not include LoanType = Unknown & Collections but include all others

Applicable values for LoanType are ( Home Loan, Heloc, Credit Card, Car Loan, Collections, Unknown)

totalAccounts = total number of loan accounts user has (do not include LoanType = Unknown & Collections but include all others)

example-> if user has 3 credit cards and 2 home loans and 1 Collection account, then totalAccounts = 5 and loanTypeCount = 2)

The logic to determine accountDiversityGrade is the following:

If totalAccounts> 20 or loanTypeCount >= 4, accountDiversityGrade = A

Else if totalAccounts> 10 or loanTypeCount = 3, accountDiversityGrade = B

Else if totalAccounts>= 5 or loanTypeCount= 2, accountDiversityGrade = C

Else if totalAccounts > 0 or loanTypeCount = 1, accountDiversityGrade = D

Else accountDiversityGrade=null (n/a)

Respuesta :

The technique I used to test the requirement is equivalence partitioning.

Equivalence Partitioning-

Generic test data is considered where all the test data satisfies the conditions provided in the problem. Such that,

- ADGrade A --> TA=25 LC=5

- ADGrade B --> TA=20, LC=3

- ADGrade C --> TA=8 LC=2

- ADGrade D --> TA=2, LC=1

- ADGrade null (n/a)—> TA=0, LC=0

Where:

  • TA represents totalAccounts,
  • LC represents loanTypeCount,
  • ADGrade represents accountDiversityGrade

If we are to combine the test data collected above, we would obtain the entire set of test data.

With this in mind, the minimum number of users that are required for testing the requirement is 5.

Read more about requirement testing here:

https://brainly.com/question/16147055

#SPJ1

ACCESS MORE
EDU ACCESS