https://github.com/mikebairdrocks/fluky
[floo-kee]: obtained by chance rather than skill.
https://github.com/mikebairdrocks/fluky
data framework mock netcore netstandard nuget random vscode
Last synced: 6 months ago
JSON representation
[floo-kee]: obtained by chance rather than skill.
- Host: GitHub
- URL: https://github.com/mikebairdrocks/fluky
- Owner: MikeBairdRocks
- License: mit
- Created: 2015-08-15T13:50:27.000Z (over 10 years ago)
- Default Branch: develop
- Last Pushed: 2021-06-22T20:54:23.000Z (almost 5 years ago)
- Last Synced: 2025-08-10T19:59:33.809Z (8 months ago)
- Topics: data, framework, mock, netcore, netstandard, nuget, random, vscode
- Language: C#
- Homepage: https://mikebairdrocks.github.io/Fluky/
- Size: 1.07 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README

[](https://ci.appveyor.com/project/michaeljbaird/fluky)
[](https://www.nuget.org/packages/Fluky)
[](https://www.nuget.org/packages/Fluky)
Fluky - A Random Framework
=====
Fluky is a framework to generate random strings, numbers, names, etc. to help reduce some of the monotony particularly while writing automated tests or anywhere else you need anything random data.
Features
-----
Fluky is a [NuGet library](https://www.nuget.org/packages/Fluky) that you can add in to your project that will allow you to generate random things using the `Randomizer` class.
Examples
-----
```csharp
var random = new Randomizer();
var firstName = random.FirstName(GenderType.Female); // Catherine
var lastName = random.LastName(); // Jones
var name = random.Name(); // Bruce Romero
var character = random.Character(symbols: false, alpha: true); // '5'
var paragraphs = random.Paragraph(3); // Ke otle je cewi ok ta feca ha hizo im se wade afna akfa. Fi ra he pe iwpa wi fo wo ca kepo ri ispa raej og hofa rola. Vake voha jira li nido jo ka mi iv me rohi be immo ve ilor tasi.
var date = random.Date(minYear: 1950); // 2/18/1983
var age = random.Age(AgeType.Adult); // 33
var number = random.Decimal(1, 20, fix: 20); // 15.02490243037460000000M
var roll = random.Rpg("3d20", sum: true); // 35
var dice = random.Dice(DiceType.D30); // 12
var address = random.Address(shortStreetSuffix: true); // 371 Fafo Tpke
```