Supriya Ghosh (Editor)

Cuppa (Java library)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Written in
  
Java

Type
  
Unit testing tool

Operating system
  
Cross-platform

License
  
Apache 2.0

Developer(s)
  
Joe Bandenburg, Phill Cunnington

Stable release
  
1.0.0 / March 22, 2016 (2016-03-22)

Cuppa is a behavior-driven development (BDD) unit testing framework for the Java programming language version 8. The framework uses features introduced in version 8 of the language, such as lambdas. It is inspired by Mocha.

Cuppa is linked as a JAR at compile-time; the framework resides under the package org.forgerock.cuppa.

Example of a Cuppa test class

A Cuppa test class is a Java object annotated with the @Test annotation.

References

Cuppa (Java library) Wikipedia