Git Product home page Git Product logo

exceptionless.randomdata's Introduction

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

exceptionless.randomdata's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar ejsmith avatar niemyjski avatar squire40 avatar wgraham17 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

exceptionless.randomdata's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.