Skip to content

12th January 2012: The Mean Bean User Guide is now available as a downloadable PDF!

1st January 2012: Happy New Year! We've got some great features heading your way, an article due to be published in the January edition of Open Source Journal and we have a feeling that 2012 is going to be a great year!

Welcome

What is it?

Mean Bean is an open source Java test library that helps you rapidly and reliably test fundamental objects within your software system, namely your domain and data objects. Mean Bean:

  1. Tests that the getter and setter method pairs of a JavaBean/POJO function correctly.
  2. Verifies that the equals and hashCode methods of a class comply with the Equals Contract and HashCode Contract respectively.
  3. Verifies property significance in object equality.

Why should I use it?

Mean Bean helps you rapidly and reliably test fundamental objects within your project, namely your domain and data objects.
With just a single line of code, you can be confident that your beans are well behaved…

new BeanTester().testBean(MyDomainObject.class);

Unconvinced? Refer to Why to follow the debate between Mean Bean and a harsh critic.

Where do I get it?

Mean Bean can be acquired from the Maven Central repo. Please refer to Download for instructions on how to get Mean Bean.

How do I use it?

Please refer to the Documentation for instructions on how to use the Mean Bean.

I need help!

Please refer to the Help section.

I want official support

Please refer to the Support section.

Happy testing!