dyrector-io / dyrectorio

dyrector.io is a self-hosted continuous delivery & deployment platform with version management.
https://dyrectorio.com
Apache License 2.0
1.17k stars 91 forks source link

Add fuzz testing to golang components #786

Open nandor-magyar opened 11 months ago

nandor-magyar commented 11 months ago

There are specific functions that are good candidates for fuzzing tests.

Fuzzing in general is good way to discover unexpected pathways in functions.

Some material to get started with fuzzing: https://blog.jetbrains.com/go/2022/12/14/understanding-fuzz-testing-in-go/ https://www.youtube.com/watch?v=7KWPiRq3ZYI

nandor-magyar commented 9 months ago

I've started creating issues for exact files and cases, I'll leave this issue open for a while as a thread for suggestions where fuzzing could be applied.

polaroi8d commented 9 months ago

Anyone can check our code coverage here to identify areas for improvement. You can find the code coverage report at: https://app.codecov.io/gh/polaroi8d/dyrectorio/tree/develop/golang

Dkingofcode commented 9 months ago

Can i work on this issue, i am new to golang by the way, so it might take time for me to finish,