Generate text for testing

Any good-enough way to generate text for testing purposes? I’m building a GUI and I want to generate some crazy text to see if it can handle it. Should include new lines, tabs, commas, symbols, unicode, etc…

Lorem Ipsum

Nice one, but it doesn’t include any tabs, symbols, or unicode.

A quick search

It doesn’t have tabs or symbols but you can you can select different languages. For tabs replace random spaces with tabs and random characters with symbols from a list

Paulo

Cool, thanks for the help Paulo.

I guess I thought there would be some kind of package or function that generates n random characters from the vast universe of things a human might input into a (say) Gtk text box…

Not sure how comprehensive it is about various character categories, but maybe try https://github.com/codeneomatrix/Faker.jl

2 Likes

Wow, that’s an awesome package! I asked about unicode. Thanks!