Provides a strong typed .NET API for the Big List of Naughty Strings.
See Milestones for release notes.
Some example strings:
thm nfs sqTt wbltHdyd,, jzyrty bstkhdm 'n dnw. dh hn? lstr d, lTlq `l yw.
breASHiyt, baraA Aelohiym, Aet haSHamayim, vAet haAareTS
haytahtestlSfHt ltWHwl
munaqasha@u subuli istikhdami llWuGa@i fiy lnWuZumi lqay'ima@i wafiym yakhuSWa ltWaTbiyqatu lHsuwbiyWa@u,
To invoke the hive-mind representing chaos.
Invoking the feeling of c*1.000.000*haos.
The Nezperdian hive-*1.000.000*mind of chaos. *1.000.000*Zalgo.
He who *1.000.000*Waits Behind The Wall.
ZALGO
Oc~u<=>=/
assf(c).@!...ae
oe'(r)+Y="^op"'
!(tm)PSC/SSP*ao-
,,C*i~A-V?
AIII"OOOUAE
OE,,'%0VA"^O"'
`/EUR<>fifl++deg*,--+-
NaughtyStrings
https://nuget.org/packages/NaughtyStrings/
Usage
The entry type is a static class TheNaughtyStrings. It exposes all strings via TheNaughtyStrings.All and individual categories by name:
var emoji = TheNaughtyStrings.Emoji.Take(10);
snippet source | anchor
NaughtyStrings.Bogus
Extends Bogus to use Naughty Strings.
https://nuget.org/packages/NaughtyStrings.Bogus/
Usage
The entry extension method is Naughty(). It exposes all strings via .String() and individual categories by name:
.RuleFor(u => u.Property1, (f, u) => f.Naughty().String())
.RuleFor(u => u.Property2, (f, u) => f.Naughty().Emoji());
var target = faker.Generate();
Debug.WriteLine(target.Property1);
Debug.WriteLine(target.Property2);
snippet source | anchor
Usage in a test suite
The below example uses the MemberDataAttribute to consume all naughty strings from a helper class. See Creating parameterised tests and Working With InlineData, MemberData, ClassData for more information.
public void Run()
{
foreach (var naughtyString in TheNaughtyStrings.All)
{
Debug.WriteLine(naughtyString);
}
}
snippet source | anchor
Icon
Naughty designed by AomAm from The Noun Project.