Found a bug in the jsonwebtoken
library thanks to fast-check
!
#4555
ej-shafran
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Whaou, so great 🤩 Please feel free to advertise it on this page of the official documentation: https://fast-check.dev/docs/introduction/track-record/. Such bugs on such commonly used blocks of the ecosystem are highly valuable and clearly underline the value of property based testing outside of testing alone. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The property tests I added to a library I'm maintaining would crash every once in a while in an unexplained manner. I wasn't sure whether the error was my fault or not, but writing a simple property-based test with
fast-check
forjsonwebtoken
revealed the problem!You can see more in this issue.
Beta Was this translation helpful? Give feedback.
All reactions