O'Reilly logo

The Definitive Guide to NetBeans™ Platform 7 by Heiko Böck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  42

Testing NetBeans Platform Applications

Two different kinds of tests can be identified for implementing and running tests with NetBeans Platform applications: unit tests and functional tests. This chapter will address both kinds of tests and the support NetBeans provides for them.

Unit Tests

Unit tests for NetBeans Platform applications are implemented based on the popular test framework JUnit. NetBeans provides an extension of JUnit with the library NB JUnit. This library provides numerous helper classes, which make testing classes and methods within the NetBeans Platform a lot easier.

Caution JUnit is no longer part of the NetBeans IDE. Now, at installation you will be asked whether you want to install JUnit or not. The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required