Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
Document Properties Marker
overridefalse
Short DescriptionProvides utility classes to make writing JUnit tests easier. 
Doctypesectionhide
Namesmartics Test Utils 
Parent
Parent Property
property-nameName
 
Subject
Name List
doctypesubject
propertySubject
 
Categories
Name List
doctypecategory
propertyCategories
 
Tags

Tag List
namesLibrary for Java
propertyTags

 
Iteration
Iteration
valuefilled
hide
Site URLhttp://smartics.eu/smartics-test-utils/hide
SiteSite 
Short Namesmartics test utilsTest Utilshide
Project Logo
hide
Small Project Logo

Image Added

hide
Library Logo
Display Property
property-nameProject Logo

Display Property
property-nameShort Name
hide, is-block
Small Library Logo

Display Property
property-nameSmall Project Logo

Display Property
property-nameShort Name

hide, is-block
LicenseAPL 2.0 
Status
Status
subtletrue
colourGreen
titleProduction
hide
Sort Key000310hide
Column

 

Display Property
property-nameProject Logo

Section
show-titlefalse
titleDescription

This project provides utility classes to make writing JUnit tests easier.

The utilities provided are built against JUnit version 4.8.2 and Hamcrest version 1.3.RC2.

 

Section
titleTheories

This project provides a some theories to test proper implementation of common methods like

  1. equals and hashCode: ObjectTheories
  2. toString: ObjectTheories (assuring that it raises no runtime exception)
  3. compareTo: CompareToTheory
  4. serializability: SerializationTheory
Section
titleUtilities

The utilities provided are currently very few.

  1. File utilities to locate file resources on the class path: FileTestUtils
  2. Calendar utilities creating dates: CalendarTestUtils
  3. Running private constructors for code coverage: LangTestUtils
Section
titleMatcher for Hamcrest

This library also provides some matchers for Hamcrest.

  1. Stream matcher: StreamsEqualContentAs
  2. Reader matcher: ReadsEqualContentAs
Section
hidetrue
titleProject Blog Articles

...