JUnit Testing Framework

Overview

Qualified supports writing tests for Groovy using JUnit 4.

Quick Start

class Adder {
  static def add(a, b) { a + b }
}
import org.junit.Test

class TestAdd {
  @Test
  void addTest() {
    assert Adder.add(1, 1) == 2
  }
}

Learn More

You can learn more on the JUnit website.