14Apr2013Junit–How to write negative test case Posted in junit by Prem Aseem Jain It is important to test a happy path, but it is also very important to test and analyze the negative impact by writing the negative test cases. Refer the screen shot : Share this: Click to share on Facebook (Opens in new window) Facebook Click to email a link to a friend (Opens in new window) Email Click to share on X (Opens in new window) X More Click to share on LinkedIn (Opens in new window) LinkedIn Click to print (Opens in new window) Print Click to share on Pinterest (Opens in new window) Pinterest Click to share on Tumblr (Opens in new window) Tumblr Like Loading...