Fuzz testing: research existing KMP/Kotlin ecosystem tooling
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Quiet
- Domain
- ai, developer-experience, machine-learning, testing, testing-qa, tooling
Research direction
This is research for parent #981, not an implementation ticket. Start from the listed candidates (Jazzer, Jazzer.js, kotest property testing, JUnit/kotlin.test generators) and check which run on KMP source sets versus jvmTest only. Note how each reports coverage (JaCoCo-style, Gradle/CI wiring) and how other Kotlin/JVM OSS projects time-box fuzz jobs, persist corpora, and report crashes. Done is a short comparison comment or doc page so #981 can pick tools; do not implement fuzzing here. Companion #982 can run in parallel.
Written by the indexing model from the issue text.
Description
Sub-issue of #981 ("Enhance testing by adding fuzzing") — the R: RESEARCH phase for that
proposal. Survey what already exists in the Kotlin/KMP ecosystem before designing anything custom.
Goal
Answer "what can we reuse" before #981 gets to a design/implementation plan.
Tasks
- Fuzzing engines/harnesses for Kotlin/JVM: Jazzer
(JVM libFuzzer via coverage-guided bytecode instrumentation, the most mature option),
Jazzer.js if a JS/Wasm-side target
ever makes sense,kotlinxproperty-based testing options
(kotest property testing),
and plain JUnit/kotlin.test+ custom generators as a baseline comparison. - KMP-specific constraints: which of the above actually work across KMP source sets vs.
JVM-only — most fuzzing engines are JVM-bytecode-based (Jazzer) or Node-based (Jazzer.js),
so figure out realistic target-set scope (likelyjvmTestonly, at least initially) rather
than assuming multiplatform fuzzing is feasible. - Coverage measurement: how each candidate reports/measures coverage (Jazzer integrates
with JaCoCo-style coverage; check what's practical to wire into this repo's existing
Gradle/CI setup), and whether coverage-guided fuzzing (vs. blind random generation) is
achievable here. - CI integration patterns: how other Kotlin/JVM OSS projects run fuzzing in CI — as a
time-boxed job (e.g. N minutes/seeds per run, not exhaustive), corpus persistence between
runs (cached seed corpus so regressions aren't re-discovered from scratch), and how crashes
get reported/triaged (e.g. auto-filed issues vs. failing the build). - Reporting/eval: what output format(s) these tools produce (crash reproducers, minimized
inputs, coverage deltas) and whether any of it is consumable by this repo's existing docs/
Antora pipeline or needs a bespoke summary step. - OSS-Fuzz feasibility: whether SKaiNET could realistically be onboarded to
OSS-Fuzz (free continuous fuzzing for open-source
projects) given it already has Jazzer-based JVM project examples, as a longer-term option
beyond local/CI-only fuzzing.
Output
A short comparison write-up (as a comment on this issue, or a doc page) — not a recommendation
that's already implemented, just enough for #981 to make an informed tool choice.
Related
- Parent: #981
- Companion sub-issue (repo-state analysis, can run in parallel): #982
- Dominant language
- Kotlin
- Stars
- 52
- Forks
- 15
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 36
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SKaiNET-developers/SKaiNET
-
coding good first issue size:xs skill:kotlin-core sub-issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
SKaiNET-developers/SKaiNET#1323 ·
Maintainers usually reply within 1 day
-
coding good first issue platform size:xs skill:js sub-issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SKaiNET-developers/SKaiNET#1232 ·
Maintainers usually reply within 1 day
-
skeep tracking
Difficulty 5/5 Over a week Newbie friendliness 15/100
SKaiNET-developers/SKaiNET#1331 ·
Maintainers usually reply within 1 day
-
assessment size:s skill:review sub-issue
Difficulty 4/5 1-2 days Newbie friendliness 18/100
SKaiNET-developers/SKaiNET#1330 ·
Maintainers usually reply within 1 day
-
documentation good first issue size:s skill:docs sub-issue
Difficulty 3/5 1-2 days Newbie friendliness 78/100
SKaiNET-developers/SKaiNET#1329 ·
Maintainers usually reply within 1 day
All issues in SKaiNET-developers/SKaiNET
Similar issues
-
bug need-device
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
ramesh130/superplayer#495 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
maxrave-dev/SimpMusic#2649 ·
Maintainers usually reply within 2 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
PimpinPumpkin/Vela#778 ·
Maintainers usually reply within 1 day
-
M1 manhwa listOpenBug Domain changed
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
keiyoushi/extensions-source#19882 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 3 days