tests
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Boundary Value Analysis — "Age" field
|
||||
|
||||
| TC ID | Input value | Expected result | Boundary category |
|
||||
|---|---|---|---|
|
||||
| TC-01 | 17 | Error "must be between 18 and 99" | Below lower boundary |
|
||||
| TC-02 | 18 | Form accepted | Lower boundary |
|
||||
| TC-03 | 19 | Form accepted | Just above lower boundary |
|
||||
| TC-04 | 99 | Form accepted | Upper boundary |
|
||||
| TC-05 | 100 | Error "must be between 18 and 99" | Above upper boundary |
|
||||
| TC-06 | 0, -5 | Error | Invalid values |
|
||||
@@ -0,0 +1,9 @@
|
||||
# Equivalence Partitioning — "Email" field
|
||||
|
||||
| TC ID | Input value | Class | Expected result |
|
||||
|---|---|---|---|
|
||||
| TC-07 | `user@mail.com` | Valid, complete address | Accepted |
|
||||
| TC-08 | `user@mail` | Invalid (no top-level domain) | Error |
|
||||
| TC-09 | `usermail.com` | Invalid (no @) | Error |
|
||||
| TC-10 | empty string | Invalid (required field) | Error |
|
||||
| TC-11 | `user+test@mail.com` | Valid (subaddressing) | Accepted |
|
||||
@@ -0,0 +1,7 @@
|
||||
# Functional Checklist
|
||||
|
||||
| TC ID | Steps | Expected result |
|
||||
|---|---|---|
|
||||
| TC-17 | Fill in everything correctly, leave the "I agree to the terms" checkbox **unchecked**, submit | The form should show the error "You must accept the terms of service" |
|
||||
| TC-18 | Enter a 2-character username, submit | Validation error (min. 3 characters) |
|
||||
| TC-19 | Enter a password of exactly 8 characters with a digit | Form accepted |
|
||||
@@ -0,0 +1,9 @@
|
||||
# Pairwise Testing — Password × Confirm Password × Age combinations
|
||||
|
||||
| TC ID | Password | Confirm password | Age | Expected result |
|
||||
|---|---|---|---|---|
|
||||
| TC-12 | `Secret12` | `Secret12` | 25 | Success |
|
||||
| TC-13 | `Secret12` | `secret12` | 25 | Error "passwords do not match" |
|
||||
| TC-14 | `abc` (short, no digit) | `abc` | 25 | Password error |
|
||||
| TC-15 | `Secret12` | `Secret12` | 17 | Age error |
|
||||
| TC-16 | `abc123` (6 chars) | `abc123` | 25 | Error (per the "min 8 characters" requirement) |
|
||||
Reference in New Issue
Block a user