Jump to content

Mauve (test suite)

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by DannyS712 bot (talk | contribs) at 18:07, 11 May 2020 (Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Mauve
Operating systemJava virtual machine
TypeTest Suite
LicenseGNU General Public License
Websitewww.sourceware.org/mauve/

Mauve is a project to provide a free software test suite for the Java class libraries. Mauve is developed by the members of Kaffe, GNU Classpath, GCJ, and other projects. Unlike a similar project, JUnit, Mauve is designed to run on various experimental Java virtual machines, where some features may be still missing. Because of this, Mauve does not discover the testing method by name[clarification needed], as JUnit does. Mauve can also be used to test the user java application, not just the core class library. Mauve is released under GNU General Public License.

Example

[edit]

The "Hello world" example in Mauve:

// Tags: JDK1.4
public class HelloWorld implements Testlet {
  // Test if 3 * 2 = 6
  public void test(TestHarness harness) {
    harness.check(3 * 2, 6, "Multiplication failed.");    
  }
}

See also

[edit]

Technology Compatibility Kit

[edit]