{"id":20693132,"url":"https://github.com/jeshan/hypothesis-test-python-versions","last_synced_at":"2026-04-18T21:04:01.289Z","repository":{"id":52696003,"uuid":"261229450","full_name":"jeshan/hypothesis-test-python-versions","owner":"jeshan","description":"Test your python script in various (select) Python versions (Hypothesis example)","archived":false,"fork":false,"pushed_at":"2021-04-20T19:55:07.000Z","size":80,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-08T08:45:16.675Z","etag":null,"topics":["hypothesis","property-based-testing","pytest"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeshan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-04T15:53:31.000Z","updated_at":"2020-05-04T15:54:21.000Z","dependencies_parsed_at":"2022-08-22T06:41:05.622Z","dependency_job_id":null,"html_url":"https://github.com/jeshan/hypothesis-test-python-versions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeshan%2Fhypothesis-test-python-versions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeshan%2Fhypothesis-test-python-versions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeshan%2Fhypothesis-test-python-versions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeshan%2Fhypothesis-test-python-versions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeshan","download_url":"https://codeload.github.com/jeshan/hypothesis-test-python-versions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242956546,"owners_count":20212454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hypothesis","property-based-testing","pytest"],"created_at":"2024-11-16T23:25:29.588Z","updated_at":"2026-04-18T21:03:56.243Z","avatar_url":"https://github.com/jeshan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hypothesis-test-python-versions (Hypothesis example)\n\nThis project demonstrates how to confirm a program runs on Python versions that you expect using the Hypothesis library.\n\n## Why\nThis won't inherently serve as a practical use case. It's to demonstrate stateful testing with Hypothesis. Having the ability to run tests against **any command** , whether target program is written in Python or not is a very powerful feature. Stateful testing works as long as you can observe a pass or a failure in Python.\n\n\n## Requirements\n\nThis demo needs Docker, Hypothesis and pytest installed. Using [pipenv](https://github.com/pypa/pipenv), run `pipenv run pytest`\n\n## What it does\nIt runs the `demoapp.py` script against different versions of Python in Docker. This is basically a sanity check to confirm the script runs successfully. You should then see a failing case with 3.5 (because demo uses [f-strings](https://www.python.org/dev/peps/pep-0498/) which works on 3.6+ only):\n\n![](screenshot.png)\n\n\n# Copyright\n2020 Jeshan G. BABOOA\n\nCode is released under the simplified BSD licence. See [LICENCE](LICENCE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeshan%2Fhypothesis-test-python-versions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeshan%2Fhypothesis-test-python-versions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeshan%2Fhypothesis-test-python-versions/lists"}