/sane-gen

Providing scalacheck generators for common problems

Primary LanguageScalaMIT LicenseMIT

Currently not maintained anymore

Sane-Gen

Sane-gen is a library trying to make it easy to generate common data with scalachek generators.

Currently supported

  • Names
  • Emails
  • URLs
  • english texts
  • german texts
  • passwords
  • usernames

Additional helper functions

  • mix in own terms
  • mix in own terms with given frequency

Usage

You find all supported generators in import io.github.yannick_cw.SaneGen.

import io.github.yannick_cw.SaneGen


val maybeMail = SaneGen.email.sample
// Some(Email(Laverne#@aol.it))