Skip to main content

Generates random data for your tests.

Project description

FauxFactory

Build Status Python Compatibility Current Version Download Statistics Test Coverage License

FauxFactory generates random data for your automated tests easily!

There are times when you’re writing tests for your application when you need to pass random, non-specific data to the areas you are testing. For these scenarios when all you need is a random string, numbers, dates, times, email address, IP, etc, then FauxFactory can help!

The full documentation is available on ReadTheDocs. It can also be generated locally:

pip install -r requirements-optional.txt
make docs-html

Authors

FauxFactory is written and maintained by Og Maciel and various contributors.

Development Lead

Contributors

Release History

2.0.1 (2014-09-30)

  • Added a default length of 10 to all string generator functions.

  • Display deprecation warnings if FauxFactory and any of its functions are used, instructing the user to use the newer functions instead.

2.0.0 (2014-09-23)

  • All generators are now stand-alone functions and can be imported directly from fauxfactory. For example, from fauxfactory import gen_date

  • Renamed all generator functions to use the prefix “gen_” instead of “generate_”. For example, generate_date is now gen_date.

  • Backwards compatibility with version 1.x.

  • Polished documentation.

1.0.1 (2014-09-18)

  • Updated generate_string to also accept html strings.

1.0.0 (2014-09-17)

  • Added new method generate_html

  • Added new makefile

0.3.1 (2014-07-10)

  • Check for sys.maxunicode when generating utf8 characters.

0.3.0 (2014-06-15)

  • FauxFactory is now Python 3 compatible

  • Added new method generate_utf8

0.2.1 (2014-05-09)

  • Fixed issue that prevented strings longer than the full length of LOREM_IPSUM_TEXT from being generated (Github Issue #16).

0.2.0 (2014-05-08)

  • Added new ‘Lorem Ipsum’ generator.

  • Changed license from LGPL3+ to Apache 2.0

0.1.3 (2014-04-16)

  • Updated character range for CJK generator to avoid generating ‘tofu’ characters.

  • Added Contributors section to README.

  • New documentation (@faustovaz)

Bugfixes:

  • Fixed generate_string function (@faustovaz)

0.1.2 (2014-03-19)

Bugfixes:

  • Generators for email, url and IP should return a unicode string.

0.1.1 (2014-03-17)

  • Fixed formatting of README for better display on Pypi.

0.1.0 (2014-03-17)

  • Initial Release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fauxfactory-2.0.1.tar.gz (24.7 kB view details)

Uploaded Source

File details

Details for the file fauxfactory-2.0.1.tar.gz.

File metadata

  • Download URL: fauxfactory-2.0.1.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fauxfactory-2.0.1.tar.gz
Algorithm Hash digest
SHA256 806ffbdd44a6d433c8548f20bef88a478100217d0d915f7bd72ae017c4bb0246
MD5 e860c2aae0e122838d03dbf3bbaf1897
BLAKE2b-256 c257072cf9a08342252f841b16bcf2f3e902ac52a2229e78652e85cb37d5d7b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page