Ensure That You’ve Implemented All Your Tests

Ensure That You’ve Implemented All Your Tests

Eve been writing unit tests, and while you’re coding one test, you have ideas for another test? In order not to break your train of thought, leave a bookmark in your test, to make sure to come back and fix it. It will look like this:

public void testUseGoodTestNameHere() {    fail("Not implemented yet.");}

Leave the failure until you’ve implemented the test completely.


About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist