Giter Club home page Giter Club logo

stub-data-generator's Introduction

Smart Stub Generator (a.k.a. The Font of Infinite Nonsense)

Maven Central

smart-stub-generator is a tool to create data for testing. It is intended for use within HMRC to help the 'stub' services โ€” microservices that mimic the interfaces of production backend systems.

The data the generator produces is intended to be plausible but fake eliminating the need to either manually craft test records or take real records and anonymize them. For example when generating names, the names will look real rather than random strings.

The library is built for use within Scala Play 2.5 application controllers, but can be used as easily on the REPL or backed by a RDBMS.

SBT Project Setup

1. Add the following to build.sbt:

addSbtPlugin("uk.gov.hmrc" %% "stub-data-generator" % "X.X.X")

Documentation

  1. Using ScalaCheck to generate data
  2. Procedurally generating data
  3. Composing data
  4. Enumerations and Patterns
  5. Mutable Data
  6. Simple Usage

stub-data-generator's People

Contributors

hmrclt avatar andyhwchung avatar adwelly avatar mattrobertsky avatar nkaraolis avatar

Stargazers

Artur Opala avatar  avatar

Watchers

James Cloos avatar Stephen K avatar

Forkers

lutnos

stub-data-generator'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.