OUnit User's Guide
Prev |  | Next

# Chapter 1. What is Unit Testing?

A test-oriented methodology for software development is most effective whent tests are easy to create, change, and execute. The JUnit tool pioneerded for test-first development in Java. OUnit is an adaptation of JUnit to Ocaml, a general purpose functional programming language.

With OUnit, as with JUnit, you can easily create tests, name them, group them into suites, and execute them, with the framework checking the results automatically. Test specification in OUnit is even more concise and flexible than in JUnit, thanks to the nature of the Ocaml language, or the functional programming paradigm in general.

The next section helps you to get started using OUnit in simple ways.

Prev | Home | Next
OUnit User's Guide |  | Getting Started