google / google/atheris

Documentation on coverage incorrect

Open
#104 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
127
PR merge metrics
No merged PRs in 30d

Description

I was using proposed solution from [README](https://github.com/google/atheris#visualizing-python-code-coverage), trying to get coverage from existing corpora. But failed and keep experimenting with environment and other such things in containers, i was using.
But the problem was in `+1` directive in atheris_runs parameter, and causion not to use `$(ls corpus_dir | wc -l)`, cause it also should fail to generate coverage data. The thing is that for me it is completely the opposite, only `-atheris_runs=$(ls corpus_dir | wc -l)` generates coverage data, so i can generate reports.

I'm using python 3.11, atheris 3.0.0 and coverage 6.3.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.