Observe single test cases in your IDE.

It’s a powerful tool, extremely useful in examining code coverage.

As you are reviewing code, run single test cases and observe the code coverage within the IDE. Most modern IDEs can do this. The IDE shows which lines are and are not covered by the test case. On a multi-screen setup, you can have the tests in one window and the code in another. This is a fun way to review code and see what methods get called by each test.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: