"Fuzzing" In Python Can PREVENT Your Functions From FAILING
11,038
Published 2023-01-13
▶ Become job-ready with Python:
www.indently.io/
▶ Follow me on Instagram:
www.instagram.com/indentlyreels
All Comments (17)
-
great work
-
Thanks!
-
Good shit! 😀
-
Although it looks interesting approach, would it be better to use something like Hypothesis librarym that not only searches for inputs that may fail and provides that data, but also have some more tricks?
-
Good stuff and good example as it very simple and not opinioned so to show the concept. But would be nice if you show a real life scenario where to use i. For instance I dont think do this makes sense everywhere but only in some places /block of codes, but where it does yea , could save in apfront huge amunt of money to a company!
-
Hi I have a question, when you write: text:str="hello world" What does the ":" mean? Thanks in advance !
-
Thanks but how do type hints work ?
-
Correct me if Im wrong, but this concept doesnt seem very useful in practice because of its (possibly infinite) runtime (unless stop condition) and resource consumption. Testing functions with random inputs doesnt seem very systematic, since the tests will pass once and fail next time. If the inputs were not random, then maybe one is better of using some library for that, e.g. hypothesis.
-
Isn't better to just use ''.join(random.choices(characters, k=length)) ?
-
Why are you using an int as a boolean value?
-
next level bro 🤟🏾🤟🏾
-
got enumerate?
-
Great video! Also, why are you STILL CHANGING THE PROFILE PICTURE? (by now most youtube channels would have stuck to a single icon)
-
Hi, what editor is that?
-
My corpse will be preserved in the cold my corpse will be preserved in the cold my corpse will be preserved in the cold my corpse will be preserved in the cold
-
Well made! Great video. The historical reasons why this technique was invented is quite interesting as well. https://en.wikipedia.org/wiki/Fuzzing#History