Hi,
WHile creating test, should we write test code for pass and also fail scenario?
For example, If my class must not accept ZERO value for fieldA. I write test to check is the rule passed. Should I write test for scenario the test should fail?
Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...