is there a way to write a test case for a negative scenario?
Testing for example a filter logic that use drop to discard unwanted logs...
I was very naively thinking that setting expected to null could be the way for a test case to be successful when: "0 message(s) did not match the expectations".
Hi,
is there a way to write a test case for a negative scenario? Testing for example a filter logic that use drop to discard unwanted logs...
I was very naively thinking that setting
expected
tonull
could be the way for a test case to be successful when: "0 message(s) did not match the expectations".Thanks & regards.