You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bruno P. Kinoshita (Jira)" <ji...@apache.org> on 2022/04/25 02:47:00 UTC

[jira] [Created] (COLLECTIONS-811) Consider integration Guava testlib tests

Bruno P. Kinoshita created COLLECTIONS-811:
----------------------------------------------

             Summary: Consider integration Guava testlib tests
                 Key: COLLECTIONS-811
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-811
             Project: Commons Collections
          Issue Type: Test
            Reporter: Bruno P. Kinoshita


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).



--
This message was sent by Atlassian Jira
(v8.20.7#820007)