Popularity
0.8
Stable
Activity
0.7
-
16
2
1

Description

With this gem, you can easily generate strings supplying a very simple pattern. Even generate random words in English or Spanish. Also, you can validate if a text fulfills a specific pattern or even generate a string following a pattern and returning the wrong length, value... for testing your applications. Perfect to be used in test data factories.

Also you can use regular expressions (Regexp) to generate strings: /[a-z0-9]{2,5}\w+/.gen

To do even more take a look at nice_hash gem

Programming language: Ruby
License: MIT License
Tags: Testing     Fake Data     String     String Manipulation    

StringPattern alternatives and similar gems

Based on the "Fake Data" category.
Alternatively, view string_pattern alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of StringPattern or a related project?

Add another 'Fake Data' Gem