10Testing and Profiling

CERTIFICATION OBJECTIVES

Testing Applications with JUnit

Using the NetBeans Profiler

Image Two-Minute Drill

Q&A Self Test

This chapter delves into two important topics that that are too often overlooked: unit testing and profiling. Unit tests are used to verify the basic functionality of an application. Profiling is an operation like debugging, except instead of looking at current stack values and tracing execution flow, the profiler monitors performance and provides tools for identifying and measuring CPU and memory use.

To facilitate unit testing, NetBeans supports JUnit and includes wizards for creating new unit tests ...

Get NetBeans IDE Programmer Certified Expert Exam Guide (Exam 310-045) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.