O'Reilly logo

Mastering NetBeans by 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

Performing TDD within NetBeans

Now that we've seen all the different aspects of the development life cycle, let's pull it all together and give a brief demonstration of how to use these techniques to perform TDD within NetBeans.

TDD is a software development process where the developer writes a test for a piece of functionality before writing the functionality itself. The test will obviously fail at this point as the implementation has not been written. The next stage is to write just enough of the implementation to get the test to succeed. Subsequently, the developer needs to take stock of their code and refactor it to remove any unnecessary code.

Due to the way that tests initially fail, then are fixed and then refactored, the TDD cycle is often ...

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