Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Hypothesis for testing #191

Merged
merged 2 commits into from
Feb 5, 2017

Conversation

untitaker
Copy link
Contributor

This reveals a failure: The character \u2028 in a value is silently discarded. A quick
look at the iCalendar RFC didn't make it obvious that this character wouldn't
be allowed.

@untitaker untitaker force-pushed the hypothesis-fuzzing branch 2 times, most recently from 2446de7 to 583ee65 Compare March 10, 2016 19:54
@untitaker
Copy link
Contributor Author

This validator based on ical4j seems to explicitly reject that character during parsing: http://severinghaus.org/projects/icv/

While this one isn't bothered at all: http://icalendar.org/component/com_icalvalidator/Itemid,150/view,validator/

@untitaker untitaker force-pushed the hypothesis-fuzzing branch 6 times, most recently from dc13bd5 to 5c02e01 Compare January 29, 2017 13:33
@untitaker
Copy link
Contributor Author

I've read the RFC again and it appears that the unicode line separator must not be treated as one. I fixed that bug, so this PR is now ready for review.

@untitaker untitaker merged commit 87f374d into collective:master Feb 5, 2017
@untitaker untitaker deleted the hypothesis-fuzzing branch February 5, 2017 20:36
UniversalSuperBox added a commit that referenced this pull request Nov 12, 2019
The fuzzing configuration introduced by
#191 *did* find a novel
issue in its first run. However, it is unable to run on travis-ci due to
taking too long without output. I tried running it locally to make sure
it wasn't Travis being Travis, and sure enough, on my i9-9880H, the
operation took well over 20 minutes before I stopped it.

Because of this, I've reduced the number of examples that Hypothesis
will run. This will catch fewer errors but help us get PRs back on track
mister-roboto pushed a commit to plone/buildout.coredev that referenced this pull request Nov 12, 2019
Branch: refs/heads/master
Date: 2019-11-12T10:47:14-06:00
Author: Dalton Durst (UniversalSuperBox) <d@ltondur.st>
Commit: collective/icalendar@b6f211d

Calm down fuzzing

The fuzzing configuration introduced by
collective/icalendar#191 *did* find a novel
issue in its first run. However, it is unable to run on travis-ci due to
taking too long without output. I tried running it locally to make sure
it wasn't Travis being Travis, and sure enough, on my i9-9880H, the
operation took well over 20 minutes before I stopped it.

Because of this, I've reduced the number of examples that Hypothesis
will run. This will catch fewer errors but help us get PRs back on track

Files changed:
M CHANGES.rst
M docs/credits.rst
M src/icalendar/tests/hypothesis/test_fuzzing.py
Repository: icalendar

Branch: refs/heads/master
Date: 2019-11-12T12:35:25-06:00
Author: Dalton Durst (UniversalSuperBox) <github@daltondur.st>
Commit: collective/icalendar@165b4e4

Merge pull request #296 from collective/less-fuzzing

Calm down fuzzing

Files changed:
M CHANGES.rst
M docs/credits.rst
M src/icalendar/tests/hypothesis/test_fuzzing.py
mister-roboto pushed a commit to plone/buildout.coredev that referenced this pull request Nov 12, 2019
Branch: refs/heads/master
Date: 2019-11-12T10:47:14-06:00
Author: Dalton Durst (UniversalSuperBox) <d@ltondur.st>
Commit: collective/icalendar@b6f211d

Calm down fuzzing

The fuzzing configuration introduced by
collective/icalendar#191 *did* find a novel
issue in its first run. However, it is unable to run on travis-ci due to
taking too long without output. I tried running it locally to make sure
it wasn't Travis being Travis, and sure enough, on my i9-9880H, the
operation took well over 20 minutes before I stopped it.

Because of this, I've reduced the number of examples that Hypothesis
will run. This will catch fewer errors but help us get PRs back on track

Files changed:
M CHANGES.rst
M docs/credits.rst
M src/icalendar/tests/hypothesis/test_fuzzing.py
Repository: icalendar

Branch: refs/heads/master
Date: 2019-11-12T12:35:25-06:00
Author: Dalton Durst (UniversalSuperBox) <github@daltondur.st>
Commit: collective/icalendar@165b4e4

Merge pull request #296 from collective/less-fuzzing

Calm down fuzzing

Files changed:
M CHANGES.rst
M docs/credits.rst
M src/icalendar/tests/hypothesis/test_fuzzing.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants