Skip to content

Commit

Permalink
Added domains to prop test list
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Feb 2, 2021
1 parent 272b753 commit 5861bad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion documentation/docs/proptest/genslist.md
Expand Up @@ -43,8 +43,9 @@ Most generators are available on all platforms. Some are JVM specific.
| -------- | ----------- | --- | --- | ------ |
| `Arb.string(range)` | Generates random printable strings with a randomly chosen size from the given range. If rangei s not specified then (0..100) is used. The edgecases include empty string, a blank string and a unicode string. ||||
| `Exhaustive.azstring(range)` | Returns all A-Z strings in the given range. For example if range was 1..2 then a, b, c, ...., yz, zz would be included. ||||
| `Arb.email(userRange, domainRange)` | Generates random emails where the username and domain are random strings with the size determined by the range parameters. ||||
| `Arb.email(localPartGen, domainGen)` | Generates random emails where the local part and domain part are random strings generated by the given generators. A default value is provided for both. ||||
| `Arb.uuid(type)` | Generates random UUIDs of the given type || | |
| `Arb.domain(tlds, labelArb)` | Generates random domains with a random tld (defaults to any of the top 120 TLDs) and a label generator, which generates domain parts. ||||

| Builders | Description | JVM | JS | Native |
| -------- | ----------- | --- | --- | ------ |
Expand Down

0 comments on commit 5861bad

Please sign in to comment.