Details
-
Test
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.4
-
None
-
None
Description
In COLLECTIONS-802 an issue reported was found with the help of Google Guava testlib tests.
Maybe we could either have something similar (i.e. build ourselves?), use Google Guava's testlib, or find another similar solution. From what I understood, it uses a factory function to create an implementation of a collection interface (e.g. Map) and then runs a series of functional tests over the created object, failing tests if a contract is broken (e.g. iterating a map doesn't leave the next-object as null, as it was the case of the 802 issue).