beanequalschecker online with Winfy

We have hosted the application beanequalschecker in order to run this application in our online workstations with Wine or directly.


Quick description about beanequalschecker:

Java library can be used in JUnit testcases for java bean classes coverage.
Suitable for check methods: "equals", "hashCode", getters and setters.
Similar with "https: //sourceforge.net/projects/meanbean".

Base usage:
BeanEqualsChecker checker = new BeanEqualsChecker();
checker.testEquals(MineBean.class);

For constructor with parameters, factory can be used:
checker.testEquals(MineBeanWithConstructor.class, new EqualBeanFactory<MineBeanWithConstructor>() {
@Override
public MineBeanWithConstructor create() {
return new MineBeanWithConstructor(1,"");
}
});
Custom validators, primitive generators can be added "BeanEqualsConfiguration".

Also can be used for instantiate beans and fill fields with random values, look at class "ObjectGenerator".
Compiled under JDK 1.6
Codebase is small, please look sources for details.
Separate validators also can be used, for ex. GetterSetterValidator.

Audience: Developers.

Programming Language: Java.

.

©2024. Winfy. All Rights Reserved.

By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.