TestOptimal Wiki

Model-Based Testing (MBT)

User Tools

Site Tools


Data Generation Plugin

Data Generation plugin offers a collection of MScript functions to generate test data dynamically during model execution.

It ranges from random number generation to text generation with patterns and specific data type like street addresses.

MScript Functions

Number Generation

You can generate a random number within a specified range or statistical distribution:

  • within specified range
  • Normal (Gaussian) distribution
  • Binomial distribution
  • Exponential distribution
  • Gamma distribution
  • Poisson distribution

Text Generation

  • Random text by specified pattern
  • Random text of specified length
  • Random word within specified word length

Random Selection

  • From a list
  • From a dataset

Specific Data Type

  • Phone #
  • Zip code
  • Street address
  • US States
datagenplugin.txt · Last modified: 2017/10/29 17:38 by admin