O'Reilly logo

Agile Java™: Crafting Code with Test-Driven Development by Jeff Langr

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

Lesson 1. Getting Started

Most of the lessons in the first half of Agile Java involve the development of various pieces of a student information system. You will not build a complete system, but you will work on various subsystems that might be part of a complete system.

The student information system involves many different aspects of running a school or university: registration, grades, course scheduling, billing, records, and so on.

In Lesson 1, you will:

• create a simple Java class

• create a test class that exercises the Java class

• use the JUnit framework

• learn about constructors

• refactor the code that you write

This lesson is very detail oriented. I will explicitly describe the steps you should take in doing test-driven development. ...

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