I have a question regarding negative testing. As I know, there can be negative testing in system testing. e.g. input some invalid data to the fields, and click submit, see whether this will break the system. This is what I understand called negative testing.
however, can there be any negative testing in integration testing? E.g. try to send invalid data from system A to system B, and test whether B can handle it properly.
Can I say this is also negative testing????
In general, when we mentioned "negative testing", Does it mean it can happen in system testing, and integration testing.
bobi3, negative integration testing is required if you want to ensure general reliability of your system. Think in the terms of impact and probability. What is the probability of risk that one of your modules passes data beyong expected range to another module. And what impact is going to be if this module is not going to process this data correctly? Is a whole system going to crash? Another point, which you might think if it is possible that some modules are going to be reused in future development or other systems.
Based on those two points you decide if the negative testing must be carried on the integration level and how extensieve it must be.