SUnit
   HOME

TheInfoList



OR:

SUnit is an
automated testing In software testing, test automation is the use of software separate from the software being tested to control the execution of tests and the comparison of actual outcomes with predicted outcomes. Test automation can automate some repetitive bu ...
framework written by
Kent Beck Kent Beck (born 1961) is an American software engineer and the creator of extreme programming, a software development methodology that eschews rigid formal specification for a collaborative and iterative design process. Beck was one of the 17 o ...
in 1989; originally intended and often used for
unit testing Unit testing, component or module testing, is a form of software testing by which isolated source code is tested to validate expected behavior. Unit testing describes tests that are run at the unit-level to contrast testing at the Integration ...
. It supports testing
Smalltalk Smalltalk is a purely object oriented programming language (OOP) that was originally created in the 1970s for educational use, specifically for constructionist learning, but later found use in business. It was created at Xerox PARC by Learni ...
code via test code also written in Smalltalk. SUnit was adapted for
Java Java is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea (a part of Pacific Ocean) to the north. With a population of 156.9 million people (including Madura) in mid 2024, proje ...
as
JUnit JUnit is a test automation framework for the Java programming language. JUnit is often used for unit testing, and is one of the xUnit frameworks. JUnit is linked as a JAR at compile-time. The latest version of the framework, JUnit 5, resides ...
which was notably popular. Subsequently, adaptations were created for many other languages; many also popular. Frameworks with similar design are labeled
xUnit xUnit is a label used for an automated testing software framework that shares significant structure and functionality that is traceable to a common progenitor SUnit. The SUnit framework was ported to Java by Kent Beck and Erich Gamma as JUn ...
.


History

SUnit was originally described by Beck in
Simple Smalltalk Testing: With Patterns
(1989), then published as chapter 30 "Simple Smalltalk Testing", in the book Kent Beck's Guide to Better Smalltalk by Kent Beck, Donald G. Firesmith (Editor) (Publisher: Cambridge University Press, Pub. Date: December 1998, , 408pp)


External links

* @ Camp Smalltalk
SUnit @ Ward Cunningham's Wiki
Extreme programming Unit testing frameworks Unit testing {{compu-prog-stub