omaciel / fauxfactory

Generates random data for your tests.
Other
37 stars 26 forks source link

Make `gen_utf8` return optionally only BMP characters. #96

Closed omaciel closed 6 years ago

omaciel commented 6 years ago

The gen_utf8 string generator now accepts an optional smp boolean argument which would limit the characters generated to include Supplementary Multilingual Plane (SMP) characters (default) in addition to Basic Multilingual Plane (BMP) characters.

This will help with UI automation on Google Chrome since it cannot properly render SMP characters.

omaciel commented 6 years ago

Fixes #95

codecov[bot] commented 6 years ago

Codecov Report

Merging #96 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #96   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           9      9           
  Lines         452    453    +1     
=====================================
+ Hits          452    453    +1
Impacted Files Coverage Δ
fauxfactory/factories/strings.py 100% <100%> (ø) :arrow_up:
fauxfactory/helpers.py 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b291873...e28bed7. Read the comment docs.