[
https://issues.apache.org/jira/browse/GEODE-2206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15850507#comment-15850507
]
ASF GitHub Bot commented on GEODE-2206:
---------------------------------------
GitHub user galen-pivotal opened a pull request:
https://github.com/apache/geode/pull/383
GEODE-2206: Add junit-quickcheck to geode-core.
* Rewrite a data serialization test to use junit-quickcheck.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/galen-pivotal/incubator-geode
feature/GEODE-2206
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/geode/pull/383.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #383
----
commit 778f5802b6136637ef50f8ef506efb40021cc758
Author: Galen O'Sullivan <[email protected]>
Date: 2017-01-31T23:05:17Z
GEODE-2206: Add junit-quickcheck to geode-core.
* Rewrite a data serialization test to use junit-quickcheck.
----
> Add junit-quickcheck to Gradle test dependencies.
> -------------------------------------------------
>
> Key: GEODE-2206
> URL: https://issues.apache.org/jira/browse/GEODE-2206
> Project: Geode
> Issue Type: Improvement
> Reporter: Galen O'Sullivan
> Assignee: Galen O'Sullivan
>
> Unit tests allow us to test cases we know about and have thought of.
> Property-based testing allows us to test those, and some cases we haven't
> thought of -- you're essentially fuzzing a limited subset of the code.
> {{junit-quickcheck}} makes it easy to write "property-based" tests with
> generators for the builtin types. You can also constrain input or build
> custom generators for constrained data.
> I think this would be especially helpful for testing areas like PDX
> serialization, which should be able to accept any serializable object a user
> creates.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)