O'Reilly logo

NetBeans IDE 8 Cookbook by Rhawi Dantas, David Salter

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

Chapter 10. NetBeans Testing and Profiling

In this chapter, we will cover the following recipes:

  • Installing JUnit support into NetBeans
  • Creating a JUnit test for an existing class
  • Creating a JUnit test
  • Creating a JUnit test suite
  • Running tests
  • Creating a TestNG test and test suite
  • Profiling an application

Introduction

In recent years, writing tests for applications has become a much more widely used practice. In many ways, this is due to the rise of open source software and the need to prove that software will function as expected.

In software development, there are now many different unit testing frameworks, many of which are based upon the xUnit architecture. This architecture, originally defined by Kent Beck in the late 1990s, defines a basic set of ...

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