Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

dycw/hypothesis-faker

Repository files navigation

PyPI version

hypothesis-faker

faker providers exported as hypothesis strategies.

Introduction

hypothesis is great, but sometime you need domain-specific data outside of the standard hypothesis extras. This is where faker shines -- many domains have been carved out and explored. This package exports the faker providers as hypothesis strategies.

This is done by building a simple cache of faker objects from which hypothesis will sample from. The cache is initially seeded and periodically expanded (to ensure new samples flow through), whilst kept under a limited size (to avoid unbounded file sizes).

Installation

pip install hypothesis-faker

Available strategies

Please refer to the package root.

About

Some faker providers ported to hypothesis strategies

Resources

License

Stars

Watchers

Forks

Languages