14Apr2013 Junit–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: Share on Facebook (Opens in new window) Facebook Email a link to a friend (Opens in new window) Email Share on X (Opens in new window) X More Share on LinkedIn (Opens in new window) LinkedIn Print (Opens in new window) Print Share on Pinterest (Opens in new window) Pinterest Share on Tumblr (Opens in new window) Tumblr Like Loading...