whatyouhide / whatyouhide/stream_data

Collect and print test data statistics

Open
#42 19 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Kind:Discussion Kind:Feature Request
Dominant language
Elixir
Stars
947
Forks
75
Avg merge
1h 17m
Merged PRs (30d)
1

Description

In QuickCheck and PropEr, you can add functions to a property which collect statistical data about the generated data or add labels for classification of generated data. These information are printed on the screen after executing a property. They help to asses the quality of the generator and are useful to analyse whether relevant test cases/branches are executed with the generated data.

At least in PropEr, this is a feature requiring support of the property execution function since the results of a property could contain the statistical data. To calculate the statistics the result of a property must be fed into accumulation functions. The accumulator is printed after executing the property.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the property execution function and reading how property results are handled; determine where generated-data statistics and labels can be accumulated. Done means collected statistics are printed after property execution, with coverage of the relevant result paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.