# Thread: Evaluate credit card number

1. ## Evaluate credit card number

Which will be best method to evaluate credit card number? Boundary value analysis and Equivalence partitioning? condition credit card number will be 16 digits in length

2. ## Re: Evaluate credit card number

I would suggest a combination of both Boundary value analysis as well as Equivalence Class partitioning. Reason -

Using BV Analysis, you can confim that the specified Credit Card Length is matched. Try with Boundary condtions of 15,17.

Equivalence Partitioning would be required to create subsets of data like -
Numeric, AlphaNumeric, Alphabetic and Special Characters.

This would enable us to validate that a Credit Card number is Numeric only.

Cheers.....

Bizzzzzare

3. ## Re: Evaluate credit card number

Both the Boundary Value Analysis and Equivalence partitioning should be done for validating the length of the credit number. Using BAV we can the length of the digit on the boundary and by equivalence partitioning we can divide the card number into subsets and validate.

4. ## Re: Evaluate credit card number

Boundary value determines the length of the digits while equivalence partitioning will partition the digits into equally numbered groups for validation.

5. ## Re: Evaluate credit card number

Which will be best method to evaluate credit card number? Boundary value analysis and Equivalence partitioning? condition credit card number will be 16 digits in length
Boundary value analysis is best in this scenario.

6. ## Re: Evaluate credit card number

Which will be best method to evaluate credit card number? Boundary value analysis and Equivalence partitioning? condition credit card number will be 16 digits in length
Boundary Value Analysis

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•