Skip to content

mendixlabs/mendix-fake-data-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Support Studio GitHub release GitHub issues

Fake Data Module for Mendix

Icon

Want to generate fake data in Mendix? The Fake Data Module for Mendix does this for you. It uses the popular Faker library.

screenshot

Java Actions

Dates

  • GenerateDateBetween - generate a date between two dates

Numbers

  • GenerateDecimalBetween - generate a decimal between two numbers
  • GenerateNumberBetween - generate an integer/long between two numbers
  • GenerateNumberDigits - generate an long number with an X amount of digits

Objects

The following Entities can be created:

  • App
  • Artist
  • Cat
  • Commerce
  • Name

Please have a look at the Domain Model in the module for all attributes that are set.

Strings

  • GenerateFakeString - generate a string from a predefined list of types, like hashes, quotes
  • GenerateQuote - generate a string that holds a quote from one of the predefined movies/characters
  • GenerateRandomColorHex - generate a color in HEX format
  • GenerateRandomRegexString - generate a string based on a Regex. More information can be found here: https://github.com/mifmif/Generex
  • GenerateRandomString - generate a string based on a mask. This mask will replace any ? with a letter and any # with a number.

Libraries used

  • Apache Commons Lang
    • Version 3.7
    • License: Apache 2.0
    • link
  • SnakeYAML
    • Version 1.30
    • License: Apache 2.0
    • link
  • JavaFaker
    • Version 1.0.2
    • License: Apache 2.0
    • link

Adding new Java Actions

You can create new Java Actions using the Faker library. See API docs.

License

Apache 2