/sameness

A testing library for checking if two methods act the same.

Primary LanguageKotlin

Sameness

Build Status

A library created for the sole purpose of determining if the method you refactored is still the same as the method you refactored it from.

Usage

@Property
public void testGetStartOfDay(
		Date date
) throws Exception {
	checker.check("getStartOfDay", newArrayList(
			arg(date)
	), Date.class);
}
@property
public void testGetStartOfDay(
		Date date
) throws Exception {
	checker.check("getStartOfDay", newArrayList(
			arg(date, Date.class)
	), simpleEquatator(Date.class));
}

etc.