Kotest Extra Arbs
Introduces additional Arbs for general-purpose data generation.
If you are looking for a collection of Arbs for general-purpose data generation, such a collection exists.
NOTE
To use it, add `io.kotest.extensions:kotest-property-arbs:version` to your build.
| Arb | Details |
|---|---|
Arb.firstName() |
Generates arbitrary English or Hispanic first names. |
Arb.lastName() |
Generates arbitrary surnames based on U.S. census data. |
Arb.name() |
Generates arbitrary first and last names. |
Arb.stockExchanges() |
Generates arbitrary stock exchanges, for example New York Stock Exchange / NYSE / US. |
Arb.domain() |
Generates arbitrary domain names, for example www.wibble.co.uk. |
Arb.country() |
Generates arbitrary country objects, for example Botswana / BW / Africa. |
Arb.continent() |
Generates arbitrary continents from the list of seven continents. |
Arb.zipcode() |
Generates random ZIP codes from 01000 to 99999 without checking whether they exist. |
Arb.harryPotterCharacter() |
Generates arbitrary first and last names from the Harry Potter series. |
Arb.color() |
Generates arbitrary named colors, for example Midnight Blue. |
Arb.brand() |
Generates arbitrary brand names, for example Betty Crocker. |
Arb.products() |
Generates arbitrary Google product categories, for example Furniture > Office Furniture > Desks. |
Arb.vineyards() |
Generates arbitrary vineyard names, for example Château Montus Prestige. |
Arb.wineRegions() |
Generates arbitrary wine regions, for example Chassagne-Montrachet. |
Arb.wines() |
Combines several wine detail producers to return a complete wine object. |
Arb.wineReviews() |
Combines wine producers and adds a random review score and username. |
Arb.iceCreamFlavors() |
Generates arbitrary ice cream flavors such as Pistachio or Grape Escape. |
Arb.iceCreams() |
Generates random ice cream servings with one or more flavors, cone type, and size. |
Arb.tubeStation() |
Produces randomly selected London Underground stations. |
Arb.tubeJourney() |
Generates random journeys from randomly selected start and end tube stations. |
Arb.airport() |
Generates arbitrary real airports with IATA codes. |
Arb.airline() |
Generates arbitrary real airlines. |
Arb.airJourney() |
Generates random air journeys between two airports with an airline and time. |
Arb.cluedoSuspects() |
Generates Clue/Cluedo suspects, for example Professor Plum. |
Arb.cluedoWeapons() |
Generates Clue/Cluedo weapons, for example Lead piping. |
Arb.cluedoLocations() |
Generates Clue/Cluedo locations, for example Ballroom. |
Arb.cluedoAccusation() |
Generates Clue/Cluedo accusations, for example Mrs White / Billiards Room / Rope. |
Arb.monopolyProperty() |
Generates arbitrary U.S. Monopoly properties with rent, price, and color. |
Arb.chessPiece() |
Generates chess pieces with points. |
Arb.chessSquare() |
Generates chess squares with files A-H and ranks 1-8. |
Arb.chessMove() |
Generates chess moves from square to square, with a captured piece if present. No validation is performed to check whether the move is legal. |
Arb.transactions() |
Generates transactions with card number, card type, amount, and transaction type. |
Arb.cars() |
Generates arbitrary car manufacturers. |