exceptionless - Exceptionless.RandomData 1.1.54-pre

Exceptionless RandomData Generator

PM> Install-Package Exceptionless.RandomData -Version 1.1.54-pre -Source https://www.myget.org/F/exceptionless/api/v3/index.json

Copy to clipboard

> nuget.exe install Exceptionless.RandomData -Version 1.1.54-pre -Source https://www.myget.org/F/exceptionless/api/v3/index.json

Copy to clipboard

> dotnet add package Exceptionless.RandomData --version 1.1.54-pre --source https://www.myget.org/F/exceptionless/api/v3/index.json

Copy to clipboard
<PackageReference Include="Exceptionless.RandomData" Version="1.1.54-pre" />
Copy to clipboard
source https://www.myget.org/F/exceptionless/api/v3/index.json

nuget Exceptionless.RandomData  ~> 1.1.54-pre
Copy to clipboard

> choco install Exceptionless.RandomData --version 1.1.54-pre --source https://www.myget.org/F/exceptionless/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "exceptionless" -SourceLocation "https://www.myget.org/F/exceptionless/api/v2"
Install-Module -Name "Exceptionless.RandomData" -RequiredVersion "1.1.54-pre" -Repository "exceptionless" -AllowPreRelease
Copy to clipboard

Exceptionless.RandomData

Build status NuGet Version Discord Donate

Utility class to easily generate random data. This makes generating good unit test data a breeze!

Getting Started (Development)

This package can be installed via the NuGet package manager. If you need help, please contact us via in-app support or open an issue. We’re always here to help if you have any questions!

  1. You will need to have Visual Studio Code installed.
  2. Open the root folder.

Using RandomData

Below is a small sample of what you can do, so check it out!

private int[] _numbers = new[] { 1, 2, 3, 4, 5 };

private enum _days {
    Monday,
    Tuesday
}

int value = RandomData.GetInt(1, 5);
// or
value = _numbers.Random();

var day = RandomData.GetEnum<_days>();

Thanks to all the people who have contributed

contributors

  • .NETStandard 2.0
  • .NETStandard 2.0: 2.0.0.0

Owners

Eric Smith

Authors

bniemyjski, ejsmith

Project URL

https://github.com/exceptionless/Exceptionless.RandomData

License

Apache-2.0

Info

0 total downloads
0 downloads for version 1.1.54-pre
Download (11.01 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.1.64-pre 12.81 KB Wed, 05 Feb 2020 08:43:46 GMT 0
1.1.63-pre 12.8 KB Fri, 17 Jan 2020 14:19:38 GMT 0
1.1.62-pre 11.01 KB Fri, 17 Jan 2020 14:18:37 GMT 0
1.1.61-pre 11.01 KB Fri, 17 Jan 2020 14:16:59 GMT 0
1.1.60-pre 11.01 KB Fri, 17 Jan 2020 14:16:00 GMT 0
1.1.59-pre 11.02 KB Fri, 17 Jan 2020 13:51:53 GMT 0
1.1.58-pre 11.01 KB Fri, 17 Jan 2020 13:50:00 GMT 0
1.1.57-pre 11.01 KB Fri, 17 Jan 2020 13:48:57 GMT 0
1.1.56-pre 11.01 KB Fri, 17 Jan 2020 13:45:57 GMT 0
1.1.55-pre 11.02 KB Fri, 17 Jan 2020 13:44:40 GMT 0
1.1.54-pre 11.01 KB Fri, 17 Jan 2020 13:43:41 GMT 0
1.1.53-pre 11.01 KB Fri, 17 Jan 2020 13:42:41 GMT 0
1.1.52-pre 11.01 KB Thu, 16 Jan 2020 19:33:09 GMT 0
1.1.51-pre 11.01 KB Thu, 16 Jan 2020 19:07:15 GMT 0
1.1.50-pre 12.8 KB Thu, 16 Jan 2020 19:02:03 GMT 0
1.1.49-pre 11.01 KB Thu, 16 Jan 2020 18:37:14 GMT 0
1.1.48-pre 11.01 KB Thu, 16 Jan 2020 18:34:17 GMT 0
1.1.47 10.96 KB Wed, 16 Aug 2017 14:02:27 GMT 0
1.1.46-pre 10.97 KB Wed, 16 Aug 2017 14:00:17 GMT 0
1.1.44-pre 10.93 KB Wed, 16 Aug 2017 06:16:45 GMT 0
1.1.42-pre 10.92 KB Wed, 16 Aug 2017 05:14:36 GMT 0