{"id":37028969,"url":"https://github.com/kschuetz/gauntlet","last_synced_at":"2026-01-14T03:28:11.224Z","repository":{"id":57744239,"uuid":"232720662","full_name":"kschuetz/gauntlet","owner":"kschuetz","description":"Property-based testing for Java","archived":false,"fork":false,"pushed_at":"2022-10-03T22:55:36.000Z","size":1688,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T14:42:36.987Z","etag":null,"topics":["functional-programming","java","lambda","property-based-testing","testing"],"latest_commit_sha":null,"homepage":"https://kschuetz.github.io/gauntlet/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kschuetz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-09T04:15:36.000Z","updated_at":"2023-08-25T01:21:24.000Z","dependencies_parsed_at":"2022-08-30T10:51:35.583Z","dependency_job_id":null,"html_url":"https://github.com/kschuetz/gauntlet","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/kschuetz/gauntlet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kschuetz%2Fgauntlet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kschuetz%2Fgauntlet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kschuetz%2Fgauntlet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kschuetz%2Fgauntlet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kschuetz","download_url":"https://codeload.github.com/kschuetz/gauntlet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kschuetz%2Fgauntlet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["functional-programming","java","lambda","property-based-testing","testing"],"created_at":"2026-01-14T03:28:10.435Z","updated_at":"2026-01-14T03:28:11.209Z","avatar_url":"https://github.com/kschuetz.png","language":"Java","readme":"# gauntlet\n\n[![gauntlet](https://img.shields.io/maven-central/v/software.kes/gauntlet.svg)](http://search.maven.org/#search%7Cga%7C1%7Csoftware.kes.gauntlet)\n[![CircleCI](https://circleci.com/gh/kschuetz/gauntlet.svg?style=svg)](https://circleci.com/gh/kschuetz/gauntlet)\n\nWORK IN PROGRESS\n\n## \u003ca name=\"prop\"\u003e`Prop`\u003c/a\u003e\n\n## \u003ca name=\"arbitrary\"\u003e`Arbitrary`\u003c/a\u003e\n\n### \u003ca name=\"built-in-arbitraries\"\u003eBuilt-in Arbitraries\u003c/a\u003e\n\n#### Primitives and simple types\n\n|Type|Method|Description|\n|---|---|---|\n|`Integer`|`ints()`|any integer|              \n|`Integer`|`ints(IntRange range)`|integers within a given range|              \n|`Integer`|`intIndices(int bound)`|integers from 0..bound (exclusive), not affected by edge-case bias|              \n|`Integer`|`intNaturals()`|integers \u003e= 0|  \n|`Long`|`longs()`|any long|              \n|`Long`|`longs(LongRange range)`|longs within a given range|              \n|`Long`|`longIndices(int bound)`|longs from 0..bound (exclusive), not affected by edge-case bias|              \n|`Long`|`longNaturals()`|longs \u003e= 0| \n|`Short`|`shorts()`|any short|              \n|`Short`|`shorts(ShortRange range)`|shorts within a given range|              \n|`Short`|`shortsNaturals()`|shorts \u003e= 0|   \n|`Byte`|`bytes()`|any byte|              \n|`Byte`|`bytes(ByteRange range)`|bytes within a given range|          \n|`Boolean`|`booleans()`|any boolean|          \n|`Character`|`characters()`|any character|          \n|`Character`|`characters(CharRange range)`|characters within a given range|          \n|`Float`|`floats()`|any float|          \n|`Float`|`floats(FloatRange range)`|floats within a given range|          \n|`Float`|`floatFractionals()`|floats between 0 and 1 (exclusive)|          \n|`Double`|`doubles()`|any double|          \n|`Double`|`doubles(DoubleRange range)`|doubles within a given range|          \n|`Double`|`doubleFractionals()`|doubles between 0 and 1 (exclusive)|            \n|`Object`|`boxedPrimitives()`|`Integer`s, `Long`s, `Short`s, `Byte`s, `Double`s, `Float`s, `Boolean`s, or `Character`s|            \n|`Byte[]`|`byteArrays()`|byte arrays|            \n|`Byte[]`|`byteArrays(int size)`|byte arrays with a given size|            \n|`String`|`strings()`|any string|            \n|`String`|`stringsOfLength(int length)`|strings with a given length|            \n|`String`|`stringsOfLength(IntRange lengthRange)`|strings with a length within a given range|            \n|`BigInteger`|`bigIntegers()`|any `BigInteger`|            \n|`BigInteger`|`bigIntegers(BigIntegerRange range)`|`BigInteger`s within a given range|            \n|`BigDecimal`|`bigDecimals()`|any `BigDecimal`|            \n|`BigDecimal`|`bigDecimals(BigDecimalRange range)`|`BigDecimal`s within a given range|            \n|`BigDecimal`|`bigDecimals(int decimalPlaces, BigDecimalRange range)`|`BigDecimals` with a given number of decimal places and in a given range|            \n|`BigDecimal`|`bigDecimals(IntRange decimalPlaces, BigDecimalRange range)`|`BigDecimals` with a given range of decimal places and in a given range|            \n|`enum`|`valuesOfEnumClass(Class\u003cA\u003e enumType)`|any value from the supplied class|            \n|`LocalDate`|`localDates()`|any `LocalDate`|            \n|`LocalDate`|`localDates(LocalDateRange range)`|`LocalDate`s within a given range|            \n|`LocalDate`|`localDatesForYear(Year year)`|`LocalDate`s within a given year|            \n|`LocalDate`|`localDatesForMonth(YearMonth month)`|`LocalDate`s with in a given year and month|            \n|`LocalTime`|`localTimes()`|any `LocalTime`|            \n|`LocalTime`|`localTimes(LocalTimeRange range)`|`LocalTime`s within a given range|            \n|`LocalDateTime`|`localDateTimes()`|any `LocalDateTime`|            \n|`LocalDateTime`|`localDateTimes(LocalDateRange range)`|`LocalDateTime`s within a given range|            \n|`LocalDateTime`|`localDateTimes(LocalDateTimeRange range)`|`LocalDateTime`s within a given range|            \n|`Duration`|`durations()`|any `Duration`|            \n|`Duration`|`durations(DurationRange range)`|`Duration`s in a given range|            \n|`DayOfWeek`|`daysOfWeek()`|any day of the week|            \n|`Month`|`months()`|any month of the year|            \n|`UUID`|`uuid()`|any `UUID`|   \n\n#### Collections\n\n|Type|Method|Description|\n|---|---|---|\n|`Vector\u003c?\u003e`|`vectors()`|`Vector`s of any arbitrary type|\n|`Vector\u003c?\u003e`|`vectors(int size)`|`Vector`s of any arbitrary type, with a given size|\n|`Vector\u003c?\u003e`|`vectors(IntRange sizeRange)`|`Vector`s of any arbitrary type, with a given size range|\n|`Vector\u003cA\u003e`|`vectorsOf(Arbitrary\u003cA\u003e elements)`|`Vector`s with elements of a given type|\n|`Vector\u003cA\u003e`|`vectorsOf(int size, Arbitrary\u003cA\u003e elements)`|`Vector`s with elements of a given type, with a given size|\n|`Vector\u003cA\u003e`|`vectorsOf(IntRange sizeRange, Arbitrary\u003cA\u003e elements)`|`Vector`s with elements of a given type, with a given size range|\n|`NonEmptyVector\u003c?\u003e`|`nonEmptyVectors()`|`NonEmptyVector`s of any arbitrary type|\n|`NonEmptyVector\u003c?\u003e`|`nonEmptyVectors(int size)`|`NonEmptyVector`s of any arbitrary type, with a given size|\n|`NonEmptyVector\u003c?\u003e`|`nonEmptyVectors(IntRange sizeRange)`|`NonEmptyVector`s of any arbitrary type, with a given size range|\n|`NonEmptyVector\u003cA\u003e`|`nonEmptyVectorsOf(Arbitrary\u003cA\u003e elements)`|`NonEmptyVector`s with elements of a given type|\n|`NonEmptyVector\u003cA\u003e`|`nonEmptyVectorsOf(int size, Arbitrary\u003cA\u003e elements)`|`NonEmptyVector`s with elements of a given type, with a given size|\n|`NonEmptyVector\u003cA\u003e`|`nonEmptyVectors(IntRange sizeRange, Arbitrary\u003cA\u003e elements)`|`NonEmptyVector`s with elements of a given type, with a given size range|         \n|`ArrayList\u003c?\u003e`|`arrayLists()`|`ArrayList`s of any arbitrary type|         \n|`ArrayList\u003c?\u003e`|`arrayLists(int size)`|`ArrayList`s of any arbitrary type, with a given size|         \n|`ArrayList\u003c?\u003e`|`arrayLists(IntRange sizeRange)`|`ArrayList`s of any arbitrary type, with a given size range|  \n|`ArrayList\u003cA\u003e`|`arrayListsOf(Arbitrary\u003cA\u003e elements)`|`ArrayList`s with elements of a given type|         \n|`ArrayList\u003cA\u003e`|`arrayListsOf(int size, Arbitrary\u003cA\u003e elements)`|`ArrayList`s with elements of a given type, with a given size|         \n|`ArrayList\u003cA\u003e`|`arrayListsOf(IntRange sizeRange, Arbitrary\u003cA\u003e elements)`|`ArrayList`s with elements of a given type, with a given size range|        \n|`ArrayList\u003cA\u003e`|`nonEmptyArrayListsOf(Arbitrary\u003cA\u003e elements)`|`ArrayList`s with elements of a given type, and at least one element|        \n|`HashSet\u003cA\u003e`|`hashSetsOf(Arbitrary\u003cA\u003e elements)`|`HashSet`s with elements of a given type|        \n|`HashSet\u003cA\u003e`|`nonEmptyHashSetsOf(Arbitrary\u003cA\u003e elements)`|`HashSet`s with elements of a given type, and at least one element|        \n|`HashMap\u003c?, ?\u003e`|`hashMaps()`|`HashMap`s of any arbitrary key type and any arbitrary value type|        \n|`HashMap\u003cK, V\u003e`|`hashMaps(Arbitrary\u003cK\u003e keys, Arbitrary\u003cV\u003e values)`|`HashMap`s of a given key type and a given value type|        \n|`HashMap\u003cK, V\u003e`|`nonEmptyHashMapsOf(Arbitrary\u003cK\u003e keys, Arbitrary\u003cV\u003e values)`|`HashMap`s of a given key type and a given value type, with at least one entry|      \n\n#### Products\n\n|Type|Method|Description|\n|---|---|---|\n|`Tuple2`..`Tuple8`|`tuple2s()`..`tuples8s()`|`Tuple`s with arbitrary component types|\n|`Tuple2`..`Tuple8`|`tuplesOf(Arbitrary\u003cA\u003e a, Arbitrary\u003cB\u003e, `...`)`|`Tuple`s with component types of the provided `Arbitrary`s|\n\n#### Coproducts   \n\n|Type|Method|Description|\n|---|---|---|\n|`Choice2`..`Choice8`|`choicesOf(Arbitrary\u003cA\u003e a, Arbitrary\u003cB\u003e, `...`)`|values selected and drawn from provided arbitraries, with equal probability for each|\n|`Choice2`..`Choice8`|`choicesOf(Weighted\u003cArbitrary\u003cA\u003e\u003e a, Weighted\u003cArbitrary\u003cB\u003e\u003e, `...`)`|values selected and drawn from provided arbitraries, with custom probabilities|\n|`Maybe\u003cA\u003e`|`maybesOf(Arbitrary\u003cA\u003e a)`|`Maybe\u003cA\u003e` that is most frequently a `just`, with an occasional `nothing` thrown in| \n|`Maybe\u003cA\u003e`|`maybesOf(MaybeWeights weights, Arbitrary\u003cA\u003e a)`|`Maybe\u003cA\u003e` with custom probability of generating a `nothing` |\n|`Either\u003cL, R\u003e`|`eithersOf(Arbitrary\u003cL\u003e left, Arbitrary\u003cR\u003e right)`|equal probability of a `left` or a `right`|\n|`Either\u003cL, R\u003e`|`eithersOf(Weighted\u003cArbitrary\u003cL\u003e\u003e left, Weighted\u003cArbitrary\u003cR\u003e\u003e right)`|`Either\u003cL, R\u003e` with custom probabilities of selecting a `left` or a `right`|\n|`Either\u003cL, R\u003e`|`eithersOf(EitherWeights weights, Arbitrary\u003cL\u003e left, Arbitrary\u003cR\u003e right)`|`Either\u003cL, R\u003e` with custom probabilities of selecting a `left` or a `right`|\n|`These\u003cA, B\u003e`|`theseOf(Arbitrary\u003cA\u003e a, Arbitrary\u003cB\u003e b)`|equal probability of selecting an `a`, a `b`, or a `both`|\n\n# \u003ca name=\"license\"\u003eLicense\u003c/a\u003e\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fkschuetz%2Fgauntlet.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fkschuetz%2Fgauntlet?ref=badge_shield)\n\n*gauntlet* is distributed under [The MIT License](http://choosealicense.com/licenses/mit/).\n\nThe MIT License (MIT)\n\nCopyright (c) 2020 Kevin Schuetz\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkschuetz%2Fgauntlet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkschuetz%2Fgauntlet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkschuetz%2Fgauntlet/lists"}