Negative Testing is a testing technique that examines how a system behaves under invalid or unexpected conditions. It involves providing incorrect inputs to identify potential vulnerabilities or weaknesses in the software.
Key aspects of negative testing:
- Focuses on error handling and system resilience.
- Tests how the application responds to invalid data.
- Helps uncover bugs that positive testing may miss.
- Ensures the system fails gracefully without crashing.
Common practices in negative testing include:
- Inputting out-of-range values.
- Submitting forms with incorrect data formats.
- Testing system responses to malicious inputs.
