mesa / mesa/mesa-frames

Test-Driven Development Using `hypothesis` and `deal`

Open
#20 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ci feature
Dominant language
Python
Stars
42
Forks
18
Avg merge
1m
Merged PRs (30d)
1

Description

[`hypothesis`](https://hypothesis.readthedocs.io/en/latest/) is a property-based testing library that generates test cases automatically, covering a wide range of input scenarios. This approach helps uncover edge cases and unexpected behaviors that might be missed with manually written tests.

[`deal`](https://github.com/life4/deal) is a contract-based programming library that enforces a [Design by contract (DbC)](https://en.wikipedia.org/wiki/Design_by_contract) approach for functions, specifying preconditions, postconditions, and invariants. This ensures that functions behave as expected, making the codebase more robust and predictable. Additionally, Deal has an experimental feature for formal verification, which provides mathematical proof of code correctness, further enhancing reliability.

Contributor guide

Open the contributing guide

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

The issue does not name any files, tests, or entry points in mesa-frames. First inspect the existing test layout and project dependencies, then define which code should use hypothesis and deal; done should include an agreed scope and corresponding property-based or contract tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.