Fork me on GitHub

EqualsVerifier integration

Powerunit is compatible with the EqualsVerifier framework. Here is an example of usage.


It is possible to use the pom from the Hello World sample ; Then add the dependency to EqualsVerifier :



The EqualsVerifier features can be used as with others frameworks ; For instance :

package ch.powerunit.demo;

import ch.powerunit.Test;
import ch.powerunit.TestRule;
import ch.powerunit.TestSuite;
import nl.jqno.equalsverifier.EqualsVerifier;

public class MyBeanTest implements TestSuite {

  public void testEquals() {