🧪Black-Box Testing
Also known as Black Box Testing, Black-Box Test, Behavioral Testing
Testing what a program does. You do not look at its code.
Think of it like
Think of it like testing a snack machine. You put in a coin, press a button and check what drops out.
Example
Lucy tests a login form. She tries a right password, a wrong one and an empty one, and checks each answer.
Why it matters
It tests the app the way users meet it, and it does not break when the code inside changes.
Definition
Common mistake
Key takeaways
- 1Code hidden. Only inputs and outputs count.
- 2Check the spec. Compare to what should happen.
- 3User's view. Tests it as users meet it.