How to use dates class of io.kotest.property.arbitrary package

Best Kotest code snippet using io.kotest.property.arbitrary.dates

Libraries.kt

Source:Libraries.kt Github

copy

Full Screen

...388 }389 subcategory("Mocks and Fakes") {390 link {391 github = "moove-it/fakeit"392 desc = "Generates realistic fake data — like names, emails, dates, countries — to be used in your Android development environment."393 setTags("testing", "android", "utility")394 }395 link {396 github = "bluegroundltd/kfactory"397 desc = "Fixture factory in Kotlin"398 }399 }400 subcategory("Dependency Injection") {401 link {402 github = "Kodein-Framework/Kodein-DI"403 desc = "Painless Kotlin Dependency Injection."404 setTags("di", "dependency injection")405 awesome()406 }407 link {408 github = "kailan/kodeinject"409 desc = "Constructor dependency injection for Kodein."410 setTags("di", "dependency injection", "kodein")411 }412 link {413 github = "traversals/kapsule"414 desc = "Minimalist dependency injection library for Kotlin."415 setTags("di", "dependency injection")416 }417 link {418 github = "JLLeitschuh/kotlin-guiced"419 desc = "Convenience Kotlin API over the Google Guice DI Library."420 setTags("Dependency Injection", "Guice")421 }422 link {423 github = "authzee/kotlin-guice"424 desc = "Guice DSL extensions for Kotlin"425 setTags("guice", "dependency injection", "di")426 }427 link {428 github = "Ekito/koin"429 desc = "A functional Kotlin dependency injection framework for Android and JVM."430 setTags("android", "dependency-injection", "injection", "functional")431 awesome()432 }433 link {434 github = "Rasalexman/KODI"435 desc = "light-weight KOtlin Dependency Injection Framework with or without reflection module without kapt"436 }437 link {438 github = "evant/kotlin-inject"439 setPlatforms(JVM)440 }441 link {442 github = "corbella83/PopKorn"443 desc = "Forget about modules and components. DI can be simple"444 setTags("di", "dependency injection", "android", "multiplatform")445 setPlatforms(ANDROID, COMMON, IOS, JS, JVM, NATIVE)446 }447 link {448 github = "sergeshustoff/dikt"449 desc = "Simple and powerful DI for kotlin multiplatform"450 setTags("di", "dependency injection", "android", "multiplatform")451 setPlatforms(ANDROID, COMMON, IOS, JS, JVM, NATIVE)452 }453 }454 subcategory("Coroutines") {455 link {456 github = "Kotlin/kotlin-coroutines"457 desc = "Design documents and examples for coroutines in Kotlin."458 setTags("coroutines")459 }460 link {461 github = "Kotlin/kotlinx.coroutines"462 desc = "Libraries built upon Kotlin coroutines."463 setTags("async", "await", "yield", "generator")464 awesome()465 }466 link {467 github = "soywiz/korio"468 desc = "Korio: Kotlin cORoutines I/O: Streams + Async TCP Client/Server + Virtual File System for JVM, Node.JS and Browser."469 setTags("vfs", "coroutiones", "io")470 }471 link {472 github = "soywiz/korim"473 desc = "Korim: Kotlin cORoutines IMaging utilities depending on Korio."474 setTags("image", "coroutiones")475 }476 link {477 github = "soywiz/korui"478 desc = "Korui: Kotlin cORoutines User Interfaces: korio + kimage + korui"479 setTags("ui", "coroutiones")480 }481 link {482 github = "konrad-kaminski/spring-kotlin-coroutine"483 desc = "Kotlin coroutine support for Spring."484 setTags("coroutines", "spring")485 }486 link {487 github = "marcoferrer/kroto-plus"488 desc = "Protoc plugin for bringing together Kotlin, Protobuf, Coroutines, and gRPC."489 setTags("coroutines", "grpc", "protobuf")490 }491 link {492 github = "cloudoptlab/cloudopt-next"493 desc = "A next-generation Java web lightweight framework based on vertx and kotlin. "494 setTags("web", "vertx", "spring", "restful", "springboot", "springboot", "cloudopt", "next")495 }496 link {497 github = "Rasalexman/coroutinesmanager"498 desc = "try-catch safety coroutines manager"499 }500 link {501 github = "rozkminiacz/FlowRiddles"502 desc = "Repository for learning Kotlin Flow API"503 setTags("kotlin", "kotlin-flow", "learning", "riddles")504 }505 link {506 github = "KingFalse/harrier"507 desc = "Simpler use of multithreading in Kotlin."508 setTags("Thread", "Coroutines", "Multithreading", "JVM")509 setPlatforms(JVM)510 }511 }512 subcategory("Functional Programming") {513 link {514 github = "arrow-kt/arrow"515 desc = "Functional companion to Kotlin's Standard Library."516 setTags("fp", "functional")517 }518 link {519 github = "arrow-kt/arrow-meta"520 desc = "Functional companion to Kotlin's Compiler."521 setTags("fp", "functional")522 }523 link {524 github = "ReactiveX/RxKotlin"525 desc = "RxJava bindings for Kotlin."526 setTags("fp", "functional")527 }528 link {529 github = "kittinunf/Result"530 desc = "The modelling for success/failure of operations in Kotlin."531 setTags("fp", "functional", "monad")532 }533 link {534 github = "brianegan/bansa"535 desc = "A state container for Kotlin & Java, inspired by Elm & Redux."536 setTags("fp", "functional", "UI", "Interface", "Redux")537 }538 link {539 github = "pardom/redux-kotlin"540 desc = "Direct port of Redux for Kotlin."541 setTags("fp", "functional", "UI", "Interface", "Redux")542 }543 link {544 github = "beyondeye/Reduks"545 desc = "A \"batteries included\" port of Reduxjs for Kotlin+Android"546 setTags("fp", "functional", "UI", "Interface", "Redux")547 }548 link {549 github = "michaelbull/kotlin-result"550 desc = "A Result monad for modelling success or failure operations - inspired by Elm, Rust, & Haskell."551 setTags("fp", "functional", "result", "monad", "either", "type")552 }553 link {554 github = "fork-handles/forkhandles"555 name = "fork-handles/result4k"556 desc = "Result monad for type safe error handling in Kotlin"557 href = "https://github.com/fork-handles/forkhandles/blob/trunk/result4k"558 setTags("fp", "functional", "result", "monad", "either", "type", "error handling")559 }560 link {561 github = "pakoito/Komprehensions"562 desc = "Do comprehensions for Kotlin and 3rd party libraries."563 setTags("comprehensions", "fp", "functional")564 }565 link {566 github = "h0tk3y/kotlin-monads"567 desc = "Monads for Kotlin"568 setTags("fp", "functional", "monads")569 }570 link {571 github = "poetix/klenses"572 desc = "Lenses for Kotlin."573 setTags("fp", "functional", "lenses")574 }575 link {576 github = "reactor/reactor-core"577 desc = "Non-Blocking Reactive Streams Foundation for the JVM. Natively supports Kotlin, since 3.1.0.M3."578 setTags("reactive", "stream", "functional")579 }580 link {581 github = "UrbanCompass/Snail-Kotlin"582 desc = "An observables framework for Kotlin."583 setTags("observables", "fp", "functional")584 }585 link {586 github = "RubyLichtenstein/RxTest"587 desc = "Kotlin DSL for testing RxJava2"588 setTags("rxjava2", "kotlin", "kotlin-android", "testing", "kotlin-dsl")589 setPlatforms(JVM)590 }591 }592 subcategory("Serialization") {593 link {594 github = "Kotlin/kotlinx.serialization"595 desc = "Kotlin multiplatform / multi-format reflectionless serialization"596 awesome()597 }598 link {599 github = "cbeust/klaxon"600 desc = "Lightweight library to parse JSON in Kotlin."601 setTags("json")602 }603 link {604 github = "SalomonBrys/Kotson"605 desc = "Gson for Kotlin, Kotson enables you to parse and write JSON with Google's Gson using a conciser and easier syntax."606 setTags("json")607 }608 link {609 github = "FasterXML/jackson-module-kotlin"610 desc = "Jackson module that adds support for serialization/deserialization of Kotlin classes and data classes."611 setTags("json", "jakson")612 setPlatforms(JVM)613 awesome()614 }615 link {616 github = "Shengaero/kotlin-json"617 desc = "A lightweight, stylistic, optimized, and multiplatform JSON library for Kotlin-JVM and Kotlin-JS"618 setTags("json", "multiplatform")619 }620 link {621 github = "fboldog/ext4klaxon"622 desc = "Type Extensions (Long, Int, Enum, Date) for Klaxon."623 setTags("json")624 }625 link {626 github = "marifeta/kvalidator"627 desc = "Kotlin validator (compatible with laravel validation rules) for json kotlinx.serialization!"628 setTags("json", "validation", "laravel", "laravel-validation")629 }630 link {631 github = "Jire/KTON"632 desc = "Object notation in pure Kotlin!"633 setTags("JSON", "XML")634 }635 link {636 github = "fluidsonic/fluid-json"637 desc = "A JSON library written in pure Kotlin."638 setTags("json")639 }640 link {641 github = "s4kibs4mi/kotlin-jsonq"642 desc = "A simple Kotlin library to Query over Json Data."643 setTags("json", "json-query", "json-manager", "kotlin-library", "kotlin-android")644 }645 link {646 github = "aafanasev/kson"647 desc = "Auto-generate GSON type adapters for Kotlin data classes"648 setTags("json", "gson", "type adapter", "annotation processing", "kapt")649 }650 link {651 github = "holgerbrandl/jsonbuilder"652 desc = "A tiny DSL to create json using idiomatic Kotlin"653 setPlatforms(JVM)654 setTags("json")655 }656 link {657 github = "qwertukg/xml-builder"658 desc = "Simplest XML builder for Kotlin"659 setTags("xml", "builder", "dsl")660 setPlatforms(JVM)661 }662 link {663 github = "lectra-tech/koson"664 desc = "A concise and lightweight Kotlin DSL to build JSON objects and render their String representations"665 setTags("json", "dsl", "builder")666 setPlatforms(JVM)667 }668 }669 subcategory("Validation") {670 link {671 github = "deva666/KValidation"672 desc = "Validation library"673 setPlatforms(JVM)674 setTags("validation", "validator")675 }676 }677 subcategory("Database") {678 link {679 github = "JetBrains/Exposed"680 desc = "Exposed is a prototype for a lightweight SQL library written over JDBC driver for Kotlin language."681 setTags("database", "query", "schema", "dao")682 awesome()683 }684 link {685 github = "JetBrains/xodus"686 desc = "Transactional schema-less embedded database used by JetBrains YouTrack and JetBrains Hub."687 setTags("embedded-database", "java", "kotlin", "key-value", "entity-store", "transactional", "log-structured", "schema-less", "snapshot-isolation", "nosql", "xodus", "db", "database", "youtrack")688 setPlatforms(JVM)689 awesome()690 }691 link {692 github = "ebean-orm/ebean"693 desc = "Ebean is a Java & Kotlin ORM including type safe kotlin queries"694 setTags("database", "sql", "orm", "query", "type-safe builder", "jpa")695 }696 link {697 github = "cheptsov/kotlin-nosql"698 desc = "NoSQL database query and access library for Kotlin."699 setTags("database", "mongodb", "query")700 }701 link {702 github = "jankotek/mapdb"703 desc = "MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine."704 setPlatforms(JVM)705 }706 link {707 github = "darkredz/Zeko-SQL-Builder"708 setTags("database", "sql", "query", "vert.x", "hikari-cp")709 }710 link {711 github = "seratch/kotliquery"712 desc = "A handy database access library in Kotlin."713 setTags("database", "sql", "query")714 }715 link {716 github = "andrewoma/kwery"717 desc = "Kwery is an SQL library for Kotlin."718 setTags("database", "sql", "query")719 }720 link {721 github = "square/sqldelight"722 desc = "Generates Java models from CREATE TABLE statements."723 setTags("database", "sql", "type-safe builder")724 awesome()725 }726 link {727 github = "bloomberg/selekt"728 href = "https://bloomberg.github.io/selekt"729 desc = "Android SQL database library wrapping the community edition of SQLCipher, an SQLite extension that provides 256-bit AES encryption. Selekt realises the maximum concurrency offered by SQLite3."730 setTags("android", "database", "sql", "sqlcipher", "sqlite")731 }732 link {733 github = "x2bool/kuery"734 desc = "Typesafe SQL with Kotlin."735 setTags("database", "sql", "type-safe builder")736 }737 link {738 github = "Litote/kmongo"739 desc = "KMongo - Kotlin toolkit for Mongo"740 setTags("database", "mongodb", "query")741 }742 link {743 github = "requery/requery"744 desc = "Modern SQL based query & persistence for Java/Kotlin/Android."745 setTags("database", "query", "type-safe builder")746 }747 link {748 github = "consoleau/kotlin-jpa-specification-dsl"749 desc = "This library provides a fluent DSL for querying spring data JPA repositories using spring data Specifications."750 setTags("database", "query", "jpa")751 }752 link {753 github = "Ganet/rxaerospike"754 desc = "RxJava2 wrapper for aerospike-client-java."755 setTags("database", "arospike", "rx", "rxjava2")756 }757 link {758 github = "Raizlabs/DBFlow"759 desc = "A blazing fast, powerful, and very simple ORM android database library that writes database code for you."760 setTags("orm", "jap", "kapt", "database")761 }762 link {763 github = "KotlinPorts/kt-postgresql-async"764 desc = "Kotlin/Gradle port of mauricio's async driver for postgres/mysql."765 setTags("postgres", "mysql", "database driver")766 }767 link {768 github = "shyiko/levelkt"769 desc = "LevelDB client for Kotlin and/or Java 8+."770 setTags("leveldb", "embedded")771 }772 link {773 github = "SubiyaCryolite/jds"774 desc = "Jenesis Data Store: a dynamic, cross platform, high performance, ORM data-mapper. Designed to assist in rapid development and data mining."775 setTags("orm", "postgres", "mysql", "mssql", "sqlite", "oracle")776 }777 link {778 github = "dizitart/nitrite-database"779 desc = "Potassium Nitrite is a kotlin extension of nitrite database, an open source nosql embedded document store with mongodb like api."780 href = "https://github.com/dizitart/nitrite-database/tree/master/potassium-nitrite"781 setTags("nosql", "embedded", "documentdb", "object-storage")782 }783 link {784 github = "pm-dev/kotlin-gremlin-ogm"785 desc = "Kotlin-gremlin-ogm is a type-safe object/graph mapping library for Gremlin enabled graph databases."786 setTags("nosql", "graph", "database", "gremlin", "janusgraph", "orm")787 }788 link {789 github = "fluidsonic/fluid-mongo"790 desc = "Coroutine support for MongoDB built on top of the official Reactive Streams Java Driver"791 setPlatforms(JVM)792 setTags("database", "mongodb", "nosql", "coroutines")793 }794 link {795 github = "jasync-sql/jasync-sql"796 desc = "Kotlin port of mauricio's async driver for postgres/mysql."797 setTags("postgres", "mysql", "database driver")798 }799 link {800 github = "kotlin-orm/ktorm"801 desc = "A lightweight ORM Framework for Kotlin. Provides strong-typed and flexible SQL DSL and convenient sequence APIs to reduce our duplicated effort on database operations. "802 setTags("ORM", "SQL", "DSL", "JDBC")803 }804 link {805 github = "TouK/krush"806 desc = "Idiomatic persistence layer for Kotlin, based on Exposed. It’s based on a compile-time JPA annotation processor that generates Exposed DSL table and objects mappings from your data classes."807 }808 link {809 github = "coupang/spring-data-requery"810 desc = "Spring Data for Requery (lightweight ORM)"811 setTags("spring", "spring-data", "requery", "java", "kotlin", "kotlin-coroutines", "orm", "jpa")812 setPlatforms(JVM)813 }814 }815 subcategory("Tools") {816 link {817 github = "SonarSource/sonarlint-intellij"818 desc = "An IDE extension that helps you detect and fix quality issues as you write code."819 setTags("scripting", "ide", "linter", "language")820 }821 link {822 github = "Kotlin/dokka"823 desc = "Documentation Engine for Kotlin."824 awesome()825 }826 link {827 github = "Vorlonsoft/EasyDokkaPlugin"828 desc = "Gradle Script plugin to generate documentation by Dokka for Kotlin and Java, Android and non-Android projects."829 }830 link {831 github = "Vorlonsoft/GradleMavenPush"832 desc = "Gradle Script plugin to upload Gradle Android/Kotlin/Java Artifacts to Maven repositories (JCenter, Maven Central, ...)."833 }834 link {835 github = "holgerbrandl/kscript"836 desc = "Scripting utils for Kotlin."837 setTags("bash", "scripting", "kts")838 }839 link {840 github = "kohesive/keplin"841 desc = "Secure Kotlin scripting and binary lambda-scripts."842 setTags("scripting", "kts")843 }844 link {845 github = "pinterest/ktlint"846 desc = "An anti-bikeshedding Kotlin linter with built-in formatter."847 setTags("style", "linter")848 awesome()849 }850 link {851 github = "cqfn/diktat"852 desc = "Strict coding standard for Kotlin and a custom set of rules for detecting and autofixing code smells."853 setTags("style", "linter", "static-analysis", "check style", "code smell")854 setPlatforms(COMMON)855 }856 link {857 github = "jtransc/jtransc"858 desc = "JVM AOT compiler created in Kotlin."859 setTags("aot", "compiller")860 }861 link {862 github = "detekt/detekt"863 desc = "Static code analysis for Kotlin."864 setTags("check style", "checkstyle")865 awesome()866 }867 link {868 github = "facebookincubator/ktfmt"869 desc = "Kotlin code formatter that reflows lines and always produces the same result."870 setTags("formatter", "pretty print")871 }872 link {873 github = "mkohm/detekt-hint"874 desc = "Detection of design principle violations as a plugin to detekt."875 }876 link {877 github = "cypressious/KotlinW"878 desc = "A small wrapper for the Kotlin compiler that can be used to execute .kts scripts."879 setTags("wrapper", "scripting")880 }881 link {882 github = "s1monw1/KtsRunner"883 desc = "Library for executing .kts files from regular Kotlin code using Java Scripting Engines API"884 setTags("dsl", "scripting")885 }886 link {887 github = "jmfayard/refreshVersions"888 desc = "Better Gradle dependencies management inside the IDE. Search for available updates."889 setTags("gradle", "plugin", "build", "development", "libraries", "versions")890 awesome()891 }892 link {893 github = "Kotlin/kotlin-interactive-shell"894 desc = "Kotlin Language Interactive Shell"895 setTags("shell")896 setPlatforms(JVM)897 }898 }899 subcategory("Compiler Plugins") {900 link {901 github = "google/ksp"902 desc = "Kotlin Symbol Processing API"903 setPlatforms(JVM)904 }905 link {906 github = "aafanasev/sekret"907 desc = "Kotlin compiler plugin to exclude secret properties from toString() of Data class"908 setPlatforms(JVM, ANDROID)909 setTags("Data class", "toString")910 }911 link {912 github = "AhmedMourad0/no-copy"913 desc = "A Kotlin compiler plugin that performs 'copy-erasure' on data classes."914 setPlatforms(ANDROID, COMMON, IOS, JS, JVM, NATIVE, WASM)915 setTags("data-class", "compiler-plugin", "value-based-classes", "binary-compatibility")916 }917 }918 subcategory("Continuous Integration") {919 link {920 github = "danger/kotlin"921 desc = "Stop saying \"you forgot to …\" in code review in Kotlin"922 setTags("danger", "ci", "continuous", "integration", "code", "review")923 }924 }925 subcategory("Code Generators") {926 link {927 github = "jhipster/jhipster-kotlin"928 desc = "A scaffold generator to generate web apps or APIs using springboot and angularJS or React"929 }930 }931 subcategory("Desktop") {932 link {933 github = "edvin/tornadofx"934 desc = "Lightweight JavaFX Framework for Kotlin/"935 setTags("javafx", "desktop", "application")936 }937 }938 subcategory("Http Clients") {939 link {940 github = "kittinunf/Fuel"941 desc = "The easiest HTTP networking library for Kotlin/Android."942 setTags("http", "http client", "file upload")943 }944 link {945 github = "jkcclemens/khttp"946 desc = "Kotlin HTTP requests library."947 setTags("http", "http client")948 }949 link {950 github = "egorzhdan/networkinkt"951 desc = "Multiplatform coroutine-based HTTP client."952 setTags("http", "http client", "coroutines")953 }954 link {955 github = "rybalkinsd/kohttp"956 desc = "Kotlin DSL-based HTTP client."957 setTags("http", "http client", "dsl", "okhttp")958 }959 link {960 github = "curiousnikhil/Asynkio"961 desc = "Make asynchronous calls painlessly with async/await style."962 setTags("http", "http client", "coroutines")963 }964 link {965 github = "speekha/httpmocker"966 desc = "Kotlin library to handle offline mode easily with OkHttp."967 setTags("http", "http client", "offline", "okhttp")968 }969 }970 subcategory("Networking") {971 link {972 github = "seniorjoinu/reliable-udp"973 desc = "Multiplexed, coroutine-powered reliable UDP for Kotlin using fountain codes"974 setPlatforms(JVM)975 setTags("networking", "reliable transport", "reliable udp", "no-arq", "fec")976 }977 }978 subcategory("Editors") {979 link {980 github = "JetBrains/intellij-community"981 desc = "IntelliJ IDEA Community Edition"982 setTags("editor", "ide", "language")983 awesome()984 }985 link {986 github = "alexmt/atom-kotlin-language"987 desc = "Adds syntax highlighting to Kotlin files in Atom"988 setTags("editor", "ide", "language")989 }990 link {991 github = "vkostyukov/kotlin-sublime-package"992 desc = "A Sublime Package for Kotlin."993 setTags("editor", "ide", "language")994 }995 link {996 github = "udalov/kotlin-vim"997 desc = "Kotlin Syntax Highlighter for Vim."998 setTags("editor", "ide", "language")999 }1000 link {1001 github = "sargunster/kotlin-textmate-bundle"1002 desc = "Kotlin bundle for TextMate."1003 setTags("editor", "ide", "language")1004 }1005 link {1006 github = "ice1000/NppExtension"1007 desc = "Kotlin Language extension for Notepad++"1008 setTags("editor", "ide", "language")1009 }1010 link {1011 github = "ftomassetti/kanvas"1012 desc = "A truly hackable editor: simple, lightweight, understandable."1013 setTags("editor", "ide", "language")1014 }1015 link {1016 github = "fwcd/KotlinLanguageServer"1017 desc = "Smart code completion, diagnostics and more for Kotlin using the Language Server Protocol. VS Code extension included."1018 setTags("editor", "ide", "language")1019 }1020 link {1021 github = "mathiasfrohlich/vscode-kotlin"1022 desc = "Kotlin language support for VS Code."1023 setTags("editor", "ide", "language")1024 }1025 }1026 subcategory("Syntax Highlighters") {1027 link {1028 github = "jneen/rouge"1029 desc = "A pure-ruby code highlighter that is compatible with pygments. (wip)"1030 setTags("syntax", "higlight")1031 }1032 link {1033 github = "isagalaev/highlight.js"1034 desc = "Javascript syntax highlighter. (out-of-date)"1035 setTags("syntax", "higlight")1036 }1037 link {1038 github = "github/linguist"1039 desc = "For Ruby/Github, uses Sublime package"1040 setTags("syntax", "higlight")1041 }1042 link {1043 bitbucket = "birkenfeld/pygments-main"1044 desc = "Python syntax highlighter."1045 setTags("syntax", "higlight")1046 }1047 link {1048 github = "cansik/kotlin-latex-listing"1049 desc = "A syntax highlighting template for the Kotlin language in LaTeX listings."1050 setTags("syntax", "higlight")1051 }1052 }1053 subcategory("Game Development") {1054 link {1055 github = "zeganstyl/thelema-engine"1056 desc = "3d graphics engine in Kotlin, based on sources of libGDX. Platforms: JVM, TeaVM, Koltin/JS, Kotlin/Native. See live demo: [TeaVM](https://zeganstyl.github.io/thelema-teavm-tests/), [Kotlin/JS](https://zeganstyl.github.io/thelema-kxjs-demo/)"1057 setTags("thelema-engine", "game dev", "games", "desktop", "webgl")1058 }1059 link {1060 github = "libktx/ktx"1061 desc = "Kotlin utilities for LibGDX applications."1062 setTags("LibGDX", "game dev", "games")1063 }1064 link {1065 github = "AlmasB/FXGL"1066 desc = "JavaFX 8 Game Library written in Java + Kotlin"1067 setTags("javafx", "desktop", "games", "game dev")1068 }1069 link {1070 github = "icela/FriceEngine"1071 desc = "Make game developing easy again!"1072 setTags("desktop", "games", "game dev")1073 }1074 link {1075 github = "vassilibykov/AdventKT"1076 desc = "A Kotlin-based DSL for text adventures, with a partial replica of the classic Colossal Cave as an example."1077 setTags("games", "text adventures")1078 }1079 link {1080 github = "Hexworks/zircon"1081 desc = "An extensible text GUI library which targets multiple platforms and designed specifically for game developers, written in Kotlin."1082 setTags("text-gui", "games", "game-dev")1083 }1084 link {1085 github = "korlibs/KorGE"1086 desc = "Modern Multiplatform Game Engine for Kotlin. Write games for the JVM, JavaScript, Android and iOS in no time using Kotlin."1087 setTags("desktop", "android", "games", "game-dev")1088 }1089 link {1090 github = "KogeLabs/Ockero"1091 desc = "Ockero: Kotlin OpenGl Game Engine"1092 setPlatforms(JVM)1093 }1094 }1095 subcategory("Misc") {1096 link {1097 github = "RationalityFrontline/kevent"1098 desc = "A powerful in-process event dispatcher based on Kotlin and Coroutines."1099 setTags("eventbus", "event-dispatcher", "event-driven", "publish–subscribe", "android", "swing", "javafx", "coroutines", "functional-programming")1100 }1101 link {1102 github = "themichailov/kache"1103 desc = "Kotlin functions caching library, reducing count of function executions."1104 setTags("cache")1105 }1106 link {1107 github = "Kotlin/kotlinx.reflect.lite"1108 desc = "Lightweight library allowing to introspect basic stuff about Kotlin symbols."1109 setTags("reflection")1110 }1111 link {1112 github = "puniverse/quasar"1113 desc = "Fibers, Channels and Actors for the JVM."1114 href = "https://github.com/puniverse/quasar/tree/master/quasar-kotlin"1115 }1116 link {1117 github = "MehdiK/Humanizer.jvm"1118 desc = "Humanizer.jvm meets all your jvm needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities."1119 setTags("pluralization")1120 }1121 link {1122 github = "mplatvoet/kovenant"1123 desc = "Promises for Kotlin and Android"1124 setTags("promise", "android")1125 }1126 link {1127 github = "kohesive/klutter"1128 desc = "A mix of random small libraries for Kotlin, the smallest reside here until big enough for their own repository."1129 }1130 link {1131 github = "DragonKnightOfBreeze/breeze-framework"1132 desc = "Integrated code framework base on Kotlin, provide many useful extensions for standard library and some frameworks."...

Full Screen

Full Screen

Libraries.awesome.kts

Source:Libraries.awesome.kts Github

copy

Full Screen

...390 }391 subcategory("Mocks and Fakes") {392 link {393 github = "moove-it/fakeit"394 desc = "Generates realistic fake data — like names, emails, dates, countries — to be used in your Android development environment."395 setTags("testing", "android", "utility")396 }397 link {398 github = "bluegroundltd/kfactory"399 desc = "Fixture factory in Kotlin"400 }401 }402 subcategory("Dependency Injection") {403 link {404 github = "Kodein-Framework/Kodein-DI"405 desc = "Painless Kotlin Dependency Injection."406 setTags("di", "dependency injection")407 awesome()408 }409 link {410 github = "kailan/kodeinject"411 desc = "Constructor dependency injection for Kodein."412 setTags("di", "dependency injection", "kodein")413 }414 link {415 github = "traversals/kapsule"416 desc = "Minimalist dependency injection library for Kotlin."417 setTags("di", "dependency injection")418 }419 link {420 github = "JLLeitschuh/kotlin-guiced"421 desc = "Convenience Kotlin API over the Google Guice DI Library."422 setTags("Dependency Injection", "Guice")423 }424 link {425 github = "authzee/kotlin-guice"426 desc = "Guice DSL extensions for Kotlin"427 setTags("guice", "dependency injection", "di")428 }429 link {430 github = "Ekito/koin"431 desc = "A functional Kotlin dependency injection framework for Android and JVM."432 setTags("android", "dependency-injection", "injection", "functional")433 awesome()434 }435 link {436 github = "Rasalexman/KODI"437 desc = "light-weight KOtlin Dependency Injection Framework with or without reflection module without kapt"438 }439 link {440 github = "evant/kotlin-inject"441 setPlatforms(JVM)442 }443 link {444 github = "corbella83/PopKorn"445 desc = "Forget about modules and components. DI can be simple"446 setTags("di", "dependency injection", "android", "multiplatform")447 setPlatforms(ANDROID, COMMON, IOS, JS, JVM, NATIVE)448 }449 link {450 github = "sergeshustoff/dikt"451 desc = "Simple and powerful DI for kotlin multiplatform"452 setTags("di", "dependency injection", "android", "multiplatform")453 setPlatforms(ANDROID, COMMON, IOS, JS, JVM, NATIVE)454 }455 }456 subcategory("Coroutines") {457 link {458 github = "Kotlin/kotlin-coroutines"459 desc = "Design documents and examples for coroutines in Kotlin."460 setTags("coroutines")461 }462 link {463 github = "Kotlin/kotlinx.coroutines"464 desc = "Libraries built upon Kotlin coroutines."465 setTags("async", "await", "yield", "generator")466 awesome()467 }468 link {469 github = "soywiz/korio"470 desc = "Korio: Kotlin cORoutines I/O: Streams + Async TCP Client/Server + Virtual File System for JVM, Node.JS and Browser."471 setTags("vfs", "coroutiones", "io")472 }473 link {474 github = "soywiz/korim"475 desc = "Korim: Kotlin cORoutines IMaging utilities depending on Korio."476 setTags("image", "coroutiones")477 }478 link {479 github = "soywiz/korui"480 desc = "Korui: Kotlin cORoutines User Interfaces: korio + kimage + korui"481 setTags("ui", "coroutiones")482 }483 link {484 github = "konrad-kaminski/spring-kotlin-coroutine"485 desc = "Kotlin coroutine support for Spring."486 setTags("coroutines", "spring")487 }488 link {489 github = "marcoferrer/kroto-plus"490 desc = "Protoc plugin for bringing together Kotlin, Protobuf, Coroutines, and gRPC."491 setTags("coroutines", "grpc", "protobuf")492 }493 link {494 github = "cloudoptlab/cloudopt-next"495 desc = "A next-generation Java web lightweight framework based on vertx and kotlin. "496 setTags("web", "vertx", "spring", "restful", "springboot", "springboot", "cloudopt", "next")497 }498 link {499 github = "Rasalexman/coroutinesmanager"500 desc = "try-catch safety coroutines manager"501 }502 link {503 github = "rozkminiacz/FlowRiddles"504 desc = "Repository for learning Kotlin Flow API"505 setTags("kotlin", "kotlin-flow", "learning", "riddles")506 }507 link {508 github = "KingFalse/harrier"509 desc = "Simpler use of multithreading in Kotlin."510 setTags("Thread", "Coroutines", "Multithreading", "JVM")511 setPlatforms(JVM)512 }513 }514 subcategory("Functional Programming") {515 link {516 github = "arrow-kt/arrow"517 desc = "Functional companion to Kotlin's Standard Library."518 setTags("fp", "functional")519 }520 link {521 github = "arrow-kt/arrow-meta"522 desc = "Functional companion to Kotlin's Compiler."523 setTags("fp", "functional")524 }525 link {526 github = "ReactiveX/RxKotlin"527 desc = "RxJava bindings for Kotlin."528 setTags("fp", "functional")529 }530 link {531 github = "kittinunf/Result"532 desc = "The modelling for success/failure of operations in Kotlin."533 setTags("fp", "functional", "monad")534 }535 link {536 github = "brianegan/bansa"537 desc = "A state container for Kotlin & Java, inspired by Elm & Redux."538 setTags("fp", "functional", "UI", "Interface", "Redux")539 }540 link {541 github = "pardom/redux-kotlin"542 desc = "Direct port of Redux for Kotlin."543 setTags("fp", "functional", "UI", "Interface", "Redux")544 }545 link {546 github = "beyondeye/Reduks"547 desc = "A \"batteries included\" port of Reduxjs for Kotlin+Android"548 setTags("fp", "functional", "UI", "Interface", "Redux")549 }550 link {551 github = "michaelbull/kotlin-result"552 desc = "A Result monad for modelling success or failure operations - inspired by Elm, Rust, & Haskell."553 setTags("fp", "functional", "result", "monad", "either", "type")554 }555 link {556 github = "fork-handles/forkhandles"557 name = "fork-handles/result4k"558 desc = "Result monad for type safe error handling in Kotlin"559 href = "https://github.com/fork-handles/forkhandles/blob/trunk/result4k"560 setTags("fp", "functional", "result", "monad", "either", "type", "error handling")561 }562 link {563 github = "pakoito/Komprehensions"564 desc = "Do comprehensions for Kotlin and 3rd party libraries."565 setTags("comprehensions", "fp", "functional")566 }567 link {568 github = "h0tk3y/kotlin-monads"569 desc = "Monads for Kotlin"570 setTags("fp", "functional", "monads")571 }572 link {573 github = "poetix/klenses"574 desc = "Lenses for Kotlin."575 setTags("fp", "functional", "lenses")576 }577 link {578 github = "reactor/reactor-core"579 desc = "Non-Blocking Reactive Streams Foundation for the JVM. Natively supports Kotlin, since 3.1.0.M3."580 setTags("reactive", "stream", "functional")581 }582 link {583 github = "UrbanCompass/Snail-Kotlin"584 desc = "An observables framework for Kotlin."585 setTags("observables", "fp", "functional")586 }587 link {588 github = "RubyLichtenstein/RxTest"589 desc = "Kotlin DSL for testing RxJava2"590 setTags("rxjava2", "kotlin", "kotlin-android", "testing", "kotlin-dsl")591 setPlatforms(JVM)592 }593 }594 subcategory("Serialization") {595 link {596 github = "Kotlin/kotlinx.serialization"597 desc = "Kotlin multiplatform / multi-format reflectionless serialization"598 awesome()599 }600 link {601 github = "cbeust/klaxon"602 desc = "Lightweight library to parse JSON in Kotlin."603 setTags("json")604 }605 link {606 github = "SalomonBrys/Kotson"607 desc = "Gson for Kotlin, Kotson enables you to parse and write JSON with Google's Gson using a conciser and easier syntax."608 setTags("json")609 }610 link {611 github = "FasterXML/jackson-module-kotlin"612 desc = "Jackson module that adds support for serialization/deserialization of Kotlin classes and data classes."613 setTags("json", "jakson")614 setPlatforms(JVM)615 awesome()616 }617 link {618 github = "Shengaero/kotlin-json"619 desc = "A lightweight, stylistic, optimized, and multiplatform JSON library for Kotlin-JVM and Kotlin-JS"620 setTags("json", "multiplatform")621 }622 link {623 github = "fboldog/ext4klaxon"624 desc = "Type Extensions (Long, Int, Enum, Date) for Klaxon."625 setTags("json")626 }627 link {628 github = "marifeta/kvalidator"629 desc = "Kotlin validator (compatible with laravel validation rules) for json kotlinx.serialization!"630 setTags("json", "validation", "laravel", "laravel-validation")631 }632 link {633 github = "Jire/KTON"634 desc = "Object notation in pure Kotlin!"635 setTags("JSON", "XML")636 }637 link {638 github = "fluidsonic/fluid-json"639 desc = "A JSON library written in pure Kotlin."640 setTags("json")641 }642 link {643 github = "s4kibs4mi/kotlin-jsonq"644 desc = "A simple Kotlin library to Query over Json Data."645 setTags("json", "json-query", "json-manager", "kotlin-library", "kotlin-android")646 }647 link {648 github = "aafanasev/kson"649 desc = "Auto-generate GSON type adapters for Kotlin data classes"650 setTags("json", "gson", "type adapter", "annotation processing", "kapt")651 }652 link {653 github = "holgerbrandl/jsonbuilder"654 desc = "A tiny DSL to create json using idiomatic Kotlin"655 setPlatforms(JVM)656 setTags("json")657 }658 link {659 github = "qwertukg/xml-builder"660 desc = "Simplest XML builder for Kotlin"661 setTags("xml", "builder", "dsl")662 setPlatforms(JVM)663 }664 link {665 github = "lectra-tech/koson"666 desc = "A concise and lightweight Kotlin DSL to build JSON objects and render their String representations"667 setTags("json", "dsl", "builder")668 setPlatforms(JVM)669 }670 link {671 name = "knbt"672 github = "BenWoodworth/knbt"673 desc = "Minecraft NBT support for kotlinx.serialization"674 setTags("nbt", "snbt", "minecraft", "kotlinx.serialization")675 setPlatforms(COMMON, ANDROID, IOS, JS, JVM, NATIVE)676 }677 }678 subcategory("Validation") {679 link {680 github = "deva666/KValidation"681 desc = "Validation library"682 setPlatforms(JVM)683 setTags("validation", "validator")684 }685 }686 subcategory("Database") {687 link {688 github = "JetBrains/Exposed"689 desc = "Exposed is a prototype for a lightweight SQL library written over JDBC driver for Kotlin language."690 setTags("database", "query", "schema", "dao")691 awesome()692 }693 link {694 github = "JetBrains/xodus"695 desc = "Transactional schema-less embedded database used by JetBrains YouTrack and JetBrains Hub."696 setTags("embedded-database", "java", "kotlin", "key-value", "entity-store", "transactional", "log-structured", "schema-less", "snapshot-isolation", "nosql", "xodus", "db", "database", "youtrack")697 setPlatforms(JVM)698 awesome()699 }700 link {701 github = "ebean-orm/ebean"702 desc = "Ebean is a Java & Kotlin ORM including type safe kotlin queries"703 setTags("database", "sql", "orm", "query", "type-safe builder", "jpa")704 }705 link {706 github = "cheptsov/kotlin-nosql"707 desc = "NoSQL database query and access library for Kotlin."708 setTags("database", "mongodb", "query")709 }710 link {711 github = "jankotek/mapdb"712 desc = "MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine."713 setPlatforms(JVM)714 }715 link {716 github = "darkredz/Zeko-SQL-Builder"717 setTags("database", "sql", "query", "vert.x", "hikari-cp")718 }719 link {720 github = "seratch/kotliquery"721 desc = "A handy database access library in Kotlin."722 setTags("database", "sql", "query")723 }724 link {725 github = "andrewoma/kwery"726 desc = "Kwery is an SQL library for Kotlin."727 setTags("database", "sql", "query")728 }729 link {730 github = "square/sqldelight"731 desc = "Generates Java models from CREATE TABLE statements."732 setTags("database", "sql", "type-safe builder")733 awesome()734 }735 link {736 github = "bloomberg/selekt"737 href = "https://bloomberg.github.io/selekt"738 desc = "Android SQL database library wrapping the community edition of SQLCipher, an SQLite extension that provides 256-bit AES encryption. Selekt realises the maximum concurrency offered by SQLite3."739 setTags("android", "database", "sql", "sqlcipher", "sqlite")740 }741 link {742 github = "x2bool/kuery"743 desc = "Typesafe SQL with Kotlin."744 setTags("database", "sql", "type-safe builder")745 }746 link {747 github = "Litote/kmongo"748 desc = "KMongo - Kotlin toolkit for Mongo"749 setTags("database", "mongodb", "query")750 }751 link {752 github = "requery/requery"753 desc = "Modern SQL based query & persistence for Java/Kotlin/Android."754 setTags("database", "query", "type-safe builder")755 }756 link {757 github = "consoleau/kotlin-jpa-specification-dsl"758 desc = "This library provides a fluent DSL for querying spring data JPA repositories using spring data Specifications."759 setTags("database", "query", "jpa")760 }761 link {762 github = "Ganet/rxaerospike"763 desc = "RxJava2 wrapper for aerospike-client-java."764 setTags("database", "arospike", "rx", "rxjava2")765 }766 link {767 github = "Raizlabs/DBFlow"768 desc = "A blazing fast, powerful, and very simple ORM android database library that writes database code for you."769 setTags("orm", "jap", "kapt", "database")770 }771 link {772 github = "KotlinPorts/kt-postgresql-async"773 desc = "Kotlin/Gradle port of mauricio's async driver for postgres/mysql."774 setTags("postgres", "mysql", "database driver")775 }776 link {777 github = "shyiko/levelkt"778 desc = "LevelDB client for Kotlin and/or Java 8+."779 setTags("leveldb", "embedded")780 }781 link {782 github = "SubiyaCryolite/jds"783 desc = "Jenesis Data Store: a dynamic, cross platform, high performance, ORM data-mapper. Designed to assist in rapid development and data mining."784 setTags("orm", "postgres", "mysql", "mssql", "sqlite", "oracle")785 }786 link {787 github = "dizitart/nitrite-database"788 desc = "Potassium Nitrite is a kotlin extension of nitrite database, an open source nosql embedded document store with mongodb like api."789 href = "https://github.com/dizitart/nitrite-database/tree/master/potassium-nitrite"790 setTags("nosql", "embedded", "documentdb", "object-storage")791 }792 link {793 github = "pm-dev/kotlin-gremlin-ogm"794 desc = "Kotlin-gremlin-ogm is a type-safe object/graph mapping library for Gremlin enabled graph databases."795 setTags("nosql", "graph", "database", "gremlin", "janusgraph", "orm")796 }797 link {798 github = "fluidsonic/fluid-mongo"799 desc = "Coroutine support for MongoDB built on top of the official Reactive Streams Java Driver"800 setPlatforms(JVM)801 setTags("database", "mongodb", "nosql", "coroutines")802 }803 link {804 github = "jasync-sql/jasync-sql"805 desc = "Kotlin port of mauricio's async driver for postgres/mysql."806 setTags("postgres", "mysql", "database driver")807 }808 link {809 github = "kotlin-orm/ktorm"810 desc = "A lightweight ORM Framework for Kotlin. Provides strong-typed and flexible SQL DSL and convenient sequence APIs to reduce our duplicated effort on database operations. "811 setTags("ORM", "SQL", "DSL", "JDBC")812 }813 link {814 github = "TouK/krush"815 desc = "Idiomatic persistence layer for Kotlin, based on Exposed. It’s based on a compile-time JPA annotation processor that generates Exposed DSL table and objects mappings from your data classes."816 }817 link {818 github = "coupang/spring-data-requery"819 desc = "Spring Data for Requery (lightweight ORM)"820 setTags("spring", "spring-data", "requery", "java", "kotlin", "kotlin-coroutines", "orm", "jpa")821 setPlatforms(JVM)822 }823 }824 subcategory("Tools") {825 link {826 github = "SonarSource/sonarlint-intellij"827 desc = "An IDE extension that helps you detect and fix quality issues as you write code."828 setTags("scripting", "ide", "linter", "language")829 }830 link {831 github = "Kotlin/dokka"832 desc = "Documentation Engine for Kotlin."833 awesome()834 }835 link {836 github = "Vorlonsoft/EasyDokkaPlugin"837 desc = "Gradle Script plugin to generate documentation by Dokka for Kotlin and Java, Android and non-Android projects."838 }839 link {840 github = "Vorlonsoft/GradleMavenPush"841 desc = "Gradle Script plugin to upload Gradle Android/Kotlin/Java Artifacts to Maven repositories (JCenter, Maven Central, ...)."842 }843 link {844 github = "holgerbrandl/kscript"845 desc = "Scripting utils for Kotlin."846 setTags("bash", "scripting", "kts")847 }848 link {849 github = "kohesive/keplin"850 desc = "Secure Kotlin scripting and binary lambda-scripts."851 setTags("scripting", "kts")852 }853 link {854 github = "pinterest/ktlint"855 desc = "An anti-bikeshedding Kotlin linter with built-in formatter."856 setTags("style", "linter")857 awesome()858 }859 link {860 github = "cqfn/diktat"861 desc = "Strict coding standard for Kotlin and a custom set of rules for detecting and autofixing code smells."862 setTags("style", "linter", "static-analysis", "check style", "code smell")863 setPlatforms(COMMON)864 }865 link {866 github = "jtransc/jtransc"867 desc = "JVM AOT compiler created in Kotlin."868 setTags("aot", "compiller")869 }870 link {871 github = "detekt/detekt"872 desc = "Static code analysis for Kotlin."873 setTags("check style", "checkstyle")874 awesome()875 }876 link {877 github = "Kotlin/kotlinx-kover"878 desc = "Gradle plugin for Kotlin code coverage agents."879 setTags("coverage", "code coverage", "jacoco")880 awesome()881 }882 link {883 github = "facebookincubator/ktfmt"884 desc = "Kotlin code formatter that reflows lines and always produces the same result."885 setTags("formatter", "pretty print")886 }887 link {888 github = "mkohm/detekt-hint"889 desc = "Detection of design principle violations as a plugin to detekt."890 }891 link {892 github = "cypressious/KotlinW"893 desc = "A small wrapper for the Kotlin compiler that can be used to execute .kts scripts."894 setTags("wrapper", "scripting")895 }896 link {897 github = "s1monw1/KtsRunner"898 desc = "Library for executing .kts files from regular Kotlin code using Java Scripting Engines API"899 setTags("dsl", "scripting")900 }901 link {902 github = "jmfayard/refreshVersions"903 desc = "Better Gradle dependencies management inside the IDE. Search for available updates."904 setTags("gradle", "plugin", "build", "development", "libraries", "versions")905 awesome()906 }907 link {908 github = "Kotlin/kotlin-interactive-shell"909 desc = "Kotlin Language Interactive Shell"910 setTags("shell")911 setPlatforms(JVM)912 }913 link {914 github = "krzema12/github-actions-kotlin-dsl"915 desc = "Authoring GitHub Actions workflows in Kotlin."916 setTags("github", "dsl", "scripting")917 setPlatforms(JVM)918 }919 }920 subcategory("Compiler Plugins") {921 link {922 github = "google/ksp"923 desc = "Kotlin Symbol Processing API"924 setPlatforms(JVM)925 }926 link {927 github = "aafanasev/sekret"928 desc = "Kotlin compiler plugin to exclude secret properties from toString() of Data class"929 setPlatforms(JVM, ANDROID)930 setTags("Data class", "toString")931 }932 link {933 github = "AhmedMourad0/no-copy"934 desc = "A Kotlin compiler plugin that performs 'copy-erasure' on data classes."935 setPlatforms(ANDROID, COMMON, IOS, JS, JVM, NATIVE, WASM)936 setTags("data-class", "compiler-plugin", "value-based-classes", "binary-compatibility")937 }938 }939 subcategory("Continuous Integration") {940 link {941 github = "danger/kotlin"942 desc = "Stop saying \"you forgot to …\" in code review in Kotlin"943 setTags("danger", "ci", "continuous", "integration", "code", "review")944 }945 }946 subcategory("Code Generators") {947 link {948 github = "jhipster/jhipster-kotlin"949 desc = "A scaffold generator to generate web apps or APIs using springboot and angularJS or React"950 }951 }952 subcategory("Desktop") {953 link {954 github = "edvin/tornadofx"955 desc = "Lightweight JavaFX Framework for Kotlin/"956 setTags("javafx", "desktop", "application")957 }958 }959 subcategory("Http Clients") {960 link {961 github = "kittinunf/Fuel"962 desc = "The easiest HTTP networking library for Kotlin/Android."963 setTags("http", "http client", "file upload")964 }965 link {966 github = "jkcclemens/khttp"967 desc = "Kotlin HTTP requests library."968 setTags("http", "http client")969 }970 link {971 github = "egorzhdan/networkinkt"972 desc = "Multiplatform coroutine-based HTTP client."973 setTags("http", "http client", "coroutines")974 }975 link {976 github = "rybalkinsd/kohttp"977 desc = "Kotlin DSL-based HTTP client."978 setTags("http", "http client", "dsl", "okhttp")979 }980 link {981 github = "curiousnikhil/Asynkio"982 desc = "Make asynchronous calls painlessly with async/await style."983 setTags("http", "http client", "coroutines")984 }985 link {986 github = "speekha/httpmocker"987 desc = "Kotlin library to handle offline mode easily with OkHttp."988 setTags("http", "http client", "offline", "okhttp")989 }990 }991 subcategory("Networking") {992 link {993 github = "seniorjoinu/reliable-udp"994 desc = "Multiplexed, coroutine-powered reliable UDP for Kotlin using fountain codes"995 setPlatforms(JVM)996 setTags("networking", "reliable transport", "reliable udp", "no-arq", "fec")997 }998 }999 subcategory("Editors") {1000 link {1001 github = "JetBrains/intellij-community"1002 desc = "IntelliJ IDEA Community Edition"1003 setTags("editor", "ide", "language")1004 awesome()1005 }1006 link {1007 github = "alexmt/atom-kotlin-language"1008 desc = "Adds syntax highlighting to Kotlin files in Atom"1009 setTags("editor", "ide", "language")1010 }1011 link {1012 github = "vkostyukov/kotlin-sublime-package"1013 desc = "A Sublime Package for Kotlin."1014 setTags("editor", "ide", "language")1015 }1016 link {1017 github = "udalov/kotlin-vim"1018 desc = "Kotlin Syntax Highlighter for Vim."1019 setTags("editor", "ide", "language")1020 }1021 link {1022 github = "sargunster/kotlin-textmate-bundle"1023 desc = "Kotlin bundle for TextMate."1024 setTags("editor", "ide", "language")1025 }1026 link {1027 github = "ice1000/NppExtension"1028 desc = "Kotlin Language extension for Notepad++"1029 setTags("editor", "ide", "language")1030 }1031 link {1032 github = "ftomassetti/kanvas"1033 desc = "A truly hackable editor: simple, lightweight, understandable."1034 setTags("editor", "ide", "language")1035 }1036 link {1037 github = "fwcd/KotlinLanguageServer"1038 desc = "Smart code completion, diagnostics and more for Kotlin using the Language Server Protocol. VS Code extension included."1039 setTags("editor", "ide", "language")1040 }1041 link {1042 github = "mathiasfrohlich/vscode-kotlin"1043 desc = "Kotlin language support for VS Code."1044 setTags("editor", "ide", "language")1045 }1046 }1047 subcategory("Syntax Highlighters") {1048 link {1049 github = "jneen/rouge"1050 desc = "A pure-ruby code highlighter that is compatible with pygments. (wip)"1051 setTags("syntax", "higlight")1052 }1053 link {1054 github = "isagalaev/highlight.js"1055 desc = "Javascript syntax highlighter. (out-of-date)"1056 setTags("syntax", "higlight")1057 }1058 link {1059 github = "github/linguist"1060 desc = "For Ruby/Github, uses Sublime package"1061 setTags("syntax", "higlight")1062 }1063 link {1064 bitbucket = "birkenfeld/pygments-main"1065 desc = "Python syntax highlighter."1066 setTags("syntax", "higlight")1067 }1068 link {1069 github = "cansik/kotlin-latex-listing"1070 desc = "A syntax highlighting template for the Kotlin language in LaTeX listings."1071 setTags("syntax", "higlight")1072 }1073 }1074 subcategory("Game Development") {1075 link {1076 github = "zeganstyl/thelema-engine"1077 desc = "3d graphics engine in Kotlin, based on sources of libGDX. Platforms: JVM, TeaVM, Koltin/JS, Kotlin/Native. See live demo: [TeaVM](https://zeganstyl.github.io/thelema-teavm-tests/), [Kotlin/JS](https://zeganstyl.github.io/thelema-kxjs-demo/)"1078 setTags("thelema-engine", "game dev", "games", "desktop", "webgl")1079 }1080 link {1081 github = "libktx/ktx"1082 desc = "Kotlin utilities for LibGDX applications."1083 setTags("LibGDX", "game dev", "games")1084 }1085 link {1086 github = "AlmasB/FXGL"1087 desc = "JavaFX 8 Game Library written in Java + Kotlin"1088 setTags("javafx", "desktop", "games", "game dev")1089 }1090 link {1091 github = "icela/FriceEngine"1092 desc = "Make game developing easy again!"1093 setTags("desktop", "games", "game dev")1094 }1095 link {1096 github = "vassilibykov/AdventKT"1097 desc = "A Kotlin-based DSL for text adventures, with a partial replica of the classic Colossal Cave as an example."1098 setTags("games", "text adventures")1099 }1100 link {1101 github = "Hexworks/zircon"1102 desc = "An extensible text GUI library which targets multiple platforms and designed specifically for game developers, written in Kotlin."1103 setTags("text-gui", "games", "game-dev")1104 }1105 link {1106 github = "korlibs/KorGE"1107 desc = "Modern Multiplatform Game Engine for Kotlin. Write games for the JVM, JavaScript, Android and iOS in no time using Kotlin."1108 setTags("desktop", "android", "games", "game-dev")1109 }1110 link {1111 github = "KogeLabs/Ockero"1112 desc = "Ockero: Kotlin OpenGl Game Engine"1113 setPlatforms(JVM)1114 }1115 }1116 subcategory("Misc") {1117 link {1118 github = "RationalityFrontline/kevent"1119 desc = "A powerful in-process event dispatcher based on Kotlin and Coroutines."1120 setTags("eventbus", "event-dispatcher", "event-driven", "publish–subscribe", "android", "swing", "javafx", "coroutines", "functional-programming")1121 }1122 link {1123 github = "themichailov/kache"1124 desc = "Kotlin functions caching library, reducing count of function executions."1125 setTags("cache")1126 }1127 link {1128 github = "Kotlin/kotlinx.reflect.lite"1129 desc = "Lightweight library allowing to introspect basic stuff about Kotlin symbols."1130 setTags("reflection")1131 }1132 link {1133 github = "puniverse/quasar"1134 desc = "Fibers, Channels and Actors for the JVM."1135 href = "https://github.com/puniverse/quasar/tree/master/quasar-kotlin"1136 }1137 link {1138 github = "MehdiK/Humanizer.jvm"1139 desc = "Humanizer.jvm meets all your jvm needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities."1140 setTags("pluralization")1141 }1142 link {1143 github = "mplatvoet/kovenant"1144 desc = "Promises for Kotlin and Android"1145 setTags("promise", "android")1146 }1147 link {1148 github = "kohesive/klutter"1149 desc = "A mix of random small libraries for Kotlin, the smallest reside here until big enough for their own repository."1150 }1151 link {1152 github = "DragonKnightOfBreeze/breeze-framework"1153 desc = "Integrated code framework base on Kotlin, provide many useful extensions for standard library and some frameworks."...

Full Screen

Full Screen

DateTest.kt

Source:DateTest.kt Github

copy

Full Screen

1package com.sksamuel.kotest.property.arbitrary2import io.kotest.assertions.throwables.shouldNotThrowAny3import io.kotest.core.spec.style.WordSpec4import io.kotest.inspectors.forAll5import io.kotest.matchers.collections.shouldContain6import io.kotest.matchers.date.shouldNotBeAfter7import io.kotest.matchers.date.shouldNotBeBefore8import io.kotest.matchers.shouldBe9import io.kotest.property.Arb10import io.kotest.property.RandomSource11import io.kotest.property.arbitrary.edgecases12import io.kotest.property.arbitrary.localDate13import io.kotest.property.arbitrary.localDateTime14import io.kotest.property.arbitrary.localTime15import io.kotest.property.arbitrary.period16import io.kotest.property.arbitrary.take17import io.kotest.property.arbitrary.yearMonth18import io.kotest.property.checkAll19import io.kotest.property.forAll20import java.time.LocalDate21import java.time.LocalDate.of22import java.time.LocalDateTime23import java.time.LocalTime24import java.time.Period25import java.time.YearMonth26class DateTest : WordSpec({27 "Arb.localDate(minYear, maxYear)" should {28 "generate valid LocalDates (no exceptions)" {29 shouldNotThrowAny {30 Arb.localDate().take(10_000).toList()31 }32 }33 "generate LocalDates between minYear and maxYear" {34 val years = mutableSetOf<Int>()35 val months = mutableSetOf<Int>()36 val days = mutableSetOf<Int>()37 checkAll(10_000, Arb.localDate(of(1998, 1, 1), of(1999, 12, 31))) {38 years += it.year39 months += it.monthValue40 days += it.dayOfMonth41 }42 years shouldBe setOf(1998, 1999)43 months shouldBe (1..12).toSet()44 days shouldBe (1..31).toSet()45 }46 "Generate LocalDates always in the range" {47 repeat(1_000) {48 val min = of(1970, 1, 1).plusDays(it.toLong())49 val max = min.plusYears(20)50 Arb.localDate(min, max).forAll { it >= min && it <= max }51 }52 }53 "Contain Feb 29th if leap year" {54 val leapYear = 201655 Arb.localDate(of(leapYear, 1, 1), of(leapYear, 12, 31)).edgecases() shouldContain of(2016, 2, 29)56 }57 "Be the default generator for LocalDate" {58 checkAll(10) { _: LocalDate -> /* No use. Won't reach here if unsupported */ }59 }60 }61 "Arb.localTime()" should {62 "generate N valid LocalTimes(no exceptions)" {63 Arb.localTime().generate(RandomSource.default()).take(10_000).toList()64 .size shouldBe 10_00065 }66 "Be the default generator for LocalTime" {67 checkAll(10) { _: LocalTime -> /* No use. Won't reach here if unsupported */ }68 }69 }70 "Arb.localDateTime(minLocalDateTime, maxLocalDateTime)" should {71 "generate N valid LocalDateTimes(no exceptions)" {72 Arb.localDateTime().generate(RandomSource.default()).take(10_000).toList()73 .size shouldBe 10_00074 }75 "generate LocalDateTimes between minLocalDateTime and maxLocalDateTime (same year test)" {76 val years = mutableSetOf<Int>()77 val months = mutableSetOf<Int>()78 val days = mutableSetOf<Int>()79 val hours = mutableSetOf<Int>()80 val minutes = mutableSetOf<Int>()81 val seconds = mutableSetOf<Int>()82 val minLocalDateTime = LocalDateTime.of(1998, 7, 1, 0, 0)83 val maxLocalDateTime = LocalDateTime.of(1998, 12, 31, 23, 59)84 checkAll(5000, Arb.localDateTime(minLocalDateTime, maxLocalDateTime)) {85 years += it.year86 months += it.monthValue87 days += it.dayOfMonth88 hours += it.hour89 minutes += it.minute90 seconds += it.second91 }92 years shouldBe setOf(1998)93 months shouldBe (7..12).toSet()94 days shouldBe (1..31).toSet()95 hours shouldBe (0..23).toSet()96 minutes shouldBe (0..59).toSet()97 }98 "generate LocalDateTimes between minLocalDateTime and maxLocalDateTime (different years)" {99 val years = mutableSetOf<Int>()100 val months = mutableSetOf<Int>()101 val days = mutableSetOf<Int>()102 val hours = mutableSetOf<Int>()103 val minutes = mutableSetOf<Int>()104 val seconds = mutableSetOf<Int>()105 val minLocalDateTime = LocalDateTime.of(1998, 1, 1, 0, 0)106 val maxLocalDateTime = LocalDateTime.of(1999, 12, 31, 23, 59)107 checkAll(5000, Arb.localDateTime(minLocalDateTime, maxLocalDateTime)) {108 years += it.year109 months += it.monthValue110 days += it.dayOfMonth111 hours += it.hour112 minutes += it.minute113 seconds += it.second114 }115 years shouldBe setOf(1998, 1999)116 months shouldBe (1..12).toSet()117 days shouldBe (1..31).toSet()118 hours shouldBe (0..23).toSet()119 minutes shouldBe (0..59).toSet()120 }121 "generate LocalDateTimes between minLocalDateTime and maxLocalDateTime (startTime and endTIme during the day)" {122 val minLocalDateTime = LocalDateTime.of(1998, 1, 1, 12, 0)123 val maxLocalDateTime = LocalDateTime.of(1998, 12, 31, 12, 0)124 val localDateTimes = mutableSetOf<LocalDateTime>()125 checkAll(5000, Arb.localDateTime(minLocalDateTime, maxLocalDateTime)) {126 localDateTimes += it127 }128 localDateTimes.forAll {129 it shouldNotBeBefore minLocalDateTime130 it shouldNotBeAfter maxLocalDateTime131 }132 }133 "Be the default generator for LocalDateTime" {134 checkAll(10) { _: LocalDateTime -> /* No use. Won't reach here if unsupported */ }135 }136 }137 "Arb.localDateTime(minYear, maxYear)" should {138 "generate LocalDateTimes between minYear and maxYear" {139 val years = mutableSetOf<Int>()140 val months = mutableSetOf<Int>()141 val days = mutableSetOf<Int>()142 val hours = mutableSetOf<Int>()143 val minutes = mutableSetOf<Int>()144 val seconds = mutableSetOf<Int>()145 checkAll(5000, Arb.localDateTime(1998, 1999)) {146 years += it.year147 months += it.monthValue148 days += it.dayOfMonth149 hours += it.hour150 minutes += it.minute151 seconds += it.second152 }153 years shouldBe setOf(1998, 1999)154 months shouldBe (1..12).toSet()155 days shouldBe (1..31).toSet()156 hours shouldBe (0..23).toSet()157 minutes shouldBe (0..59).toSet()158 }159 }160 "Gen.period(maxYears)" should {161 "Generate only periods with years <= maxYears" {162 checkAll(10_000, Arb.period(2)) {163 it.years <= 2164 }165 }166 "Generate all possible years in the interval [0, maxYears]" {167 val generated = mutableSetOf<Int>()168 checkAll(10_000, Arb.period(10)) {169 generated += it.years170 }171 generated shouldBe (0..10).toSet()172 }173 "Generate all possible intervals for Months and Days" {174 val generatedDays = mutableSetOf<Int>()175 val generatedMonths = mutableSetOf<Int>()176 checkAll(10_000, Arb.period(10)) {177 generatedDays += it.days178 generatedMonths += it.months179 }180 generatedDays shouldBe (0..31).toSet()181 generatedMonths shouldBe (0..11).toSet()182 }183 "Be the default generator for Duration" {184 checkAll(10) { _: Period -> /* No use. Won't reach here if unsupported */ }185 }186 }187 "Arb.yearMonth(minYearMonth, maxYearMonth)" should {188 "generate valid YearMonths (no exceptions)" {189 shouldNotThrowAny {190 Arb.yearMonth().take(10_000).toList()191 }192 }193 "generate YearMonths between minYearMonth and maxYearMonth" {194 val years = mutableSetOf<Int>()195 val months = mutableSetOf<Int>()196 checkAll(10_000, Arb.yearMonth(YearMonth.of(1998, 2), YearMonth.of(1998, 8))) {197 years += it.year198 months += it.monthValue199 }200 years shouldBe setOf(1998)201 months shouldBe (2..8).toSet()202 }203 "Contain Feb if leap year" {204 val leapYear = 2016205 Arb.yearMonth(YearMonth.of(leapYear, 1), YearMonth.of(leapYear, 12)).edgecases() shouldContain YearMonth.of(206 2016,207 2208 )209 }210 }211})...

Full Screen

Full Screen

InstanceCreatorTest.kt

Source:InstanceCreatorTest.kt Github

copy

Full Screen

...39 val strings = Strings::class.arbitraryInstance()40 println("strings = $strings")41 }42 @Test43 fun `can generate Java dates`() {44 val dates = Dates::class.arbitraryInstance()45 println(dates)46 }47 @Test48 fun `can generate UUIDs`() {49 val uuids = UUIDs::class.arbitraryInstance()50 println(uuids)51 }52 @Test53 fun `can generate kotlin enums`() {54 val kotlinNativeEnums = KotlinNativeEnums::class.arbitraryInstance()55 println(kotlinNativeEnums)56 }57 @Test58 fun `can generate kotlin nullable enums`() {59 val kotlinNativeNullableEnums = KotlinNativeNullableEnums::class.arbitraryInstance()...

Full Screen

Full Screen

dates.kt

Source:dates.kt Github

copy

Full Screen

1package io.kotest.property.arbitrary2import io.kotest.property.Arb3import java.time.Instant4import java.time.LocalDate5import java.time.LocalDateTime6import java.time.LocalTime7import java.time.Period8import java.time.Year.isLeap9import java.time.YearMonth10import java.time.temporal.ChronoUnit11import java.time.temporal.TemporalQueries.localDate12import java.time.temporal.TemporalQueries.localTime13import kotlin.random.Random14/**15 * Arberates a random [Period]s.16 *17 * This generator creates randomly generated Periods, with years less than or equal to [maxYear].18 *19 * If [maxYear] is 0, only random months and days will be generated.20 *21 * Months will always be in range [0..11]22 * Days will always be in range [0..31]23 */24fun Arb.Companion.period(maxYear: Int = 10): Arb<Period> = arbitrary(listOf(Period.ZERO)) {25 Period.of(26 (0..maxYear).random(it.random),27 (0..11).random(it.random),28 (0..31).random(it.random)29 )30}31fun Arb.Companion.localDate() = Arb.Companion.localDate(LocalDate.of(1970, 1, 1), LocalDate.of(2030, 12, 31))32/**33 * Arberates a stream of random LocalDates34 *35 * This generator creates randomly generated LocalDates, in the range [[minDate, maxDate]].36 *37 * If any of the years in the range contain a leap year, the date [29/02/YEAR] will always be a constant value of this38 * generator.39 *40 * @see [localDateTime]41 * @see [localTime]42 */43fun Arb.Companion.localDate(44 minDate: LocalDate = LocalDate.of(1970, 1, 1),45 maxDate: LocalDate = LocalDate.of(2030, 12, 31)46): Arb<LocalDate> {47 val leapYears = (minDate.year..maxDate.year).filter { isLeap(it.toLong()) }48 val february28s = leapYears.map { LocalDate.of(it, 2, 28) }49 val february29s = february28s.map { it.plusDays(1) }50 return arbitrary(february28s + february29s + minDate + maxDate) {51 minDate.plusDays(it.random.nextLong(ChronoUnit.DAYS.between(minDate, maxDate)))52 }.filter { it in minDate..maxDate }53}54/**55 * Arberates a stream of random LocalTimes56 *57 * This generator creates randomly generated LocalTimes.58 *59 * @see [localDateTime]60 * @see [localDate]61 */62fun Arb.Companion.localTime(): Arb<LocalTime> = arbitrary(listOf(LocalTime.of(23, 59, 59), LocalTime.of(0, 0, 0))) {63 LocalTime.of(it.random.nextInt(24), it.random.nextInt(60), it.random.nextInt(60))64}65/**66 * Arberates a stream of random LocalDateTimes67 *68 * This generator creates randomly generated LocalDates, in the range [[minYear, maxYear]].69 *70 * If any of the years in the range contain a leap year, the date [29/02/YEAR] will always be a constant value of this71 * generator.72 *73 * @see [localDateTime]74 * @see [localTime]75 */76fun Arb.Companion.localDateTime(77 minYear: Int? = null,78 maxYear: Int79): Arb<LocalDateTime> {80 return localDateTime(minYear ?: 1970, maxYear)81}82/**83 * Arberates a stream of random LocalDateTimes84 *85 * This generator creates randomly generated LocalDates, in the range [[minYear, maxYear]].86 *87 * If any of the years in the range contain a leap year, the date [29/02/YEAR] will always be a constant value of this88 * generator.89 *90 * @see [localDateTime]91 * @see [localTime]92 */93fun Arb.Companion.localDateTime(94 minYear: Int,95 maxYear: Int? = null96): Arb<LocalDateTime> {97 return localDateTime(minYear, maxYear ?: 2030)98}99/**100 * Arberates a stream of random LocalDateTimes101 *102 * This generator creates randomly generated LocalDates, in the range [[minYear, maxYear]].103 *104 * If any of the years in the range contain a leap year, the date [29/02/YEAR] will always be a constant value of this105 * generator.106 *107 * @see [localDateTime]108 * @see [localTime]109 */110fun Arb.Companion.localDateTime(111 minYear: Int,112 maxYear: Int113): Arb<LocalDateTime> {114 return localDateTime(115 minLocalDateTime = LocalDateTime.of(minYear, 1, 1, 0, 0),116 maxLocalDateTime = LocalDateTime.of(maxYear, 12, 31, 23, 59)117 )118}119/**120 * Arberates a stream of random LocalDateTimes121 *122 * This generator creates randomly generated LocalDates, in the range [[minLocalDateTime, maxLocalDateTime]].123 *124 * If any of the years in the range contain a leap year, the date [29/02/YEAR] will always be a constant value of this125 * generator.126 *127 * @see [localDateTime]128 * @see [localTime]129 */130fun Arb.Companion.localDateTime(131 minLocalDateTime: LocalDateTime = LocalDateTime.of(1970, 1, 1, 0, 0),132 maxLocalDateTime: LocalDateTime = LocalDateTime.of(2030, 12, 31, 23, 59)133): Arb<LocalDateTime> {134 return arbitrary(135 edgecaseFn = {136 generateSequence {137 val date = localDate(minLocalDateTime.toLocalDate(), maxLocalDateTime.toLocalDate()).edgecase(it)138 val time = localTime().edgecase(it)139 if (date == null || time == null) null else date.atTime(time)140 }.find { !it.isBefore(minLocalDateTime) && !it.isAfter(maxLocalDateTime) }141 },142 sampleFn = {143 generateSequence {144 val date = localDate(minLocalDateTime.toLocalDate(), maxLocalDateTime.toLocalDate()).single(it)145 val time = localTime().single(it)146 date.atTime(time)147 }.first { !it.isBefore(minLocalDateTime) && !it.isAfter(maxLocalDateTime) }148 }149 )150}151/**152 * Arberates a stream of random YearMonth153 *154 * If any of the years in the range contain a leap year, the date [02/YEAR] will always be a constant value of this155 * generator.156 *157 * This generator creates randomly generated YearMonth, in the range [[minYearMonth, maxYearMonth]].158 *159 * @see [yearMonth]160 */161fun Arb.Companion.yearMonth(162 minYearMonth: YearMonth = YearMonth.of(1970, 1),163 maxYearMonth: YearMonth = YearMonth.of(2030, 12)164): Arb<YearMonth> {165 val leapYears = (minYearMonth.year..maxYearMonth.year).filter { isLeap(it.toLong()) }166 val february = leapYears.map { YearMonth.of(it, 2) }167 return arbitrary(february + minYearMonth + maxYearMonth) {168 minYearMonth.plusMonths(it.random.nextLong(ChronoUnit.MONTHS.between(minYearMonth, maxYearMonth)))169 }.filter { it in minYearMonth..maxYearMonth }170}171typealias InstantRange = ClosedRange<Instant>172fun InstantRange.random(random: Random): Instant {173 try {174 val seconds = (start.epochSecond..endInclusive.epochSecond).random(random)175 val nanos = when {176 seconds == start.epochSecond && seconds == endInclusive.epochSecond -> start.nano..endInclusive.nano177 seconds == start.epochSecond -> start.nano..999_999_999178 seconds == endInclusive.epochSecond -> 0..endInclusive.nano179 else -> 0..999_999_999180 }.random(random)181 return Instant.ofEpochSecond(seconds, nanos.toLong())182 } catch (e: IllegalArgumentException) {183 throw NoSuchElementException(e.message)184 }185}186/**187 * Arberates a stream of random [Instant]188 */189fun Arb.Companion.instant(range: InstantRange): Arb<Instant> =190 arbitrary(listOf(range.start, range.endInclusive)) {191 range.random(it.random)192 }193/**194 * Arberates a stream of random [Instant]195 */196fun Arb.Companion.instant(197 minValue: Instant = Instant.MIN,198 maxValue: Instant = Instant.MAX199) = instant(minValue..maxValue)...

Full Screen

Full Screen

DynamoRestaurantItemRepositoryTest.kt

Source:DynamoRestaurantItemRepositoryTest.kt Github

copy

Full Screen

...51 val result = items.flatMap { target.get(it.restaurantId, it.date) }.distinct()52 result shouldContainExactlyInAnyOrder items53 }54 }55 should("Retrieve items only from particular dates") {56 val items = table.createItems()57 val result = target.get(1, items[0].date)58 val itemsFromDate = items.filter { it.date == items[0].date && it.restaurantId == 1 }59 result shouldContainExactlyInAnyOrder itemsFromDate60 }61 should("Retrieve items from both periods for a given restaurant") {62 val item1 = restaurantItemArb.next()63 val item2 = item1.copy(period = if(item1.period == Lunch) Dinner else Lunch)64 table.putItems(item1.toRestaurantEntity(), item2.toRestaurantEntity())65 target.get(item1.restaurantId, item1.date) shouldBe setOf(item1, item2)66 }67 should("Save items to table") {68 val items = restaurantItemArb.take(2).toSet()69 target.put(items)...

Full Screen

Full Screen

DailyBalancesPropJqwikTest.kt

Source:DailyBalancesPropJqwikTest.kt Github

copy

Full Screen

...30 }31 @Provide32 fun uniqueBalances(): Arbitrary<List<Balance>> {33 val balanceArbitrary = combine(34 Dates.dates().between(LocalDate.of(1970, 1, 1), LocalDate.of(2030, 12, 31)),35 Arbitraries.bigDecimals()36 ) { d, a -> Balance(d, a) }37 return balanceArbitrary.list().uniqueElements { it.date }.ofMaxSize(100)38 }39}

Full Screen

Full Screen

dates

Using AI Code Generation

copy

Full Screen

1 import io.kotest.property.arbitrary.dates 2 import io.kotest.property.arbitrary.datesBetween 3 import io.kotest.property.arbitrary.datesBetweenInclusive 4 import io.kotest.property.arbitrary.datesBetweenInclusiveWithPrecision 5 import io.kotest.property.arbitrary.datesBetweenWithPrecision 6 import io.kotest.property.arbitrary.datesInYear 7 import io.kotest.property.arbitrary.datesInYearMonth 8 import io.kotest.property.arbitrary.datesInYearMonthDay 9 import io.kotest.property.arbitrary.datesInYearMonthDayHour 10 import io.kotest.property.arbitrary.datesInYearMonthDayHourMinute 11 import io.kotest.property.arbitrary.datesInYearMonthDayHourMinuteSecond 12 import io.kotest.property.arbitrary.datesInYearMonthDayHourMinuteSecondNanos 13 import io.kotest.property.arbitrary.datesInYearMonthDayHourMinuteSecondNanosWithPrecision 14 import io.kotest.property.arbitrary.datesInYearMonthDayHourMinuteSecondWithPrecision 15 import io.kotest.property.arbitrary.datesInYearMonthDayWithPrecision 16 import io.kotest.property.arbitrary.datesInYearMonthWithPrecision 17 import io.kotest.property.arbitrary.datesInYearWithPrecision 18 import io.kotest.property.arbitrary.datesInYearWithPrecision 19 import io.kotest.property.arbitrary.datesInYears 20 import io.kotest.property.arbitrary.datesInYearsMonths 21 import io.kotest.property.arbitrary.datesInYearsMonthsDays 22 import io.kotest.property.arbitrary.datesInYearsMonthsDaysHours 23 import io.kotest.property.arbitrary.datesInYearsMonthsDaysHoursMinutes 24 import io.kotest.property.arbitrary.datesInYearsMonthsDaysHoursMinutesSeconds 25 import io.kotest.property.arbitrary.datesInYearsMonthsDaysHoursMinutesSecondsNanos 26 import io.kotest.property.arbitrary.datesInYearsMonthsDaysHoursMinutesSecondsNanosWithPrecision 27 import io.kotest.property.arbitrary.datesInYearsMonthsDaysHoursMinutesSecondsWithPrecision 28 import io.kotest.property.arbitrary.datesInYearsMonthsDaysWithPrecision 29 import io.kotest.property.arbitrary.datesInYears

Full Screen

Full Screen

dates

Using AI Code Generation

copy

Full Screen

1import io.kotest.property.arbitrary.*2val arbitraryDate = dates()3val arbitraryLocalDate = localDates()4val arbitraryLocalTime = localTimes()5val arbitraryLocalDateTime = localDateTimes()6val arbitraryInstant = instants()7val arbitraryZonedDateTime = zonedDateTimes()8val arbitraryOffsetDateTime = offsetDateTimes()9val arbitraryOffsetTime = offsetTimes()10val arbitraryDuration = durations()11val arbitraryPeriod = periods()12val arbitraryYear = years()13val arbitraryYearMonth = yearMonths()14val arbitraryMonthDay = monthDays()15val arbitraryZoneId = zoneIds()16val arbitraryZoneOffset = zoneOffsets()17val arbitraryMonth = months()18val arbitraryDayOfWeek = daysOfWeek()19val arbitraryDayOfMonth = daysOfMonth()20val arbitraryDayOfYear = daysOfYear()21val arbitrarySecondOfMinute = secondsOfMinute()22val arbitrarySecondOfDay = secondsOfDay()23val arbitraryMinuteOfHour = minutesOfHour()24val arbitraryMinuteOfDay = minutesOfDay()25val arbitraryHourOfDay = hoursOfDay()26val arbitraryHourOfAmPm = hoursOfAmPm()27val arbitraryAmPm = amPms()28val arbitraryChronology = chronologies()29import io.kotest.property.*30val arbitraryDate = dates()31val arbitraryLocalDate = localDates()32val arbitraryLocalTime = localTimes()33val arbitraryLocalDateTime = localDateTimes()34val arbitraryInstant = instants()35val arbitraryZonedDateTime = zonedDateTimes()36val arbitraryOffsetDateTime = offsetDateTimes()37val arbitraryOffsetTime = offsetTimes()38val arbitraryDuration = durations()39val arbitraryPeriod = periods()40val arbitraryYear = years()41val arbitraryYearMonth = yearMonths()42val arbitraryMonthDay = monthDays()43val arbitraryZoneId = zoneIds()44val arbitraryZoneOffset = zoneOffsets()45val arbitraryMonth = months()46val arbitraryDayOfWeek = daysOfWeek()47val arbitraryDayOfMonth = daysOfMonth()48val arbitraryDayOfYear = daysOfYear()49val arbitrarySecondOfMinute = secondsOfMinute()50val arbitrarySecondOfDay = secondsOfDay()51val arbitraryMinuteOfHour = minutesOfHour()52val arbitraryMinuteOfDay = minutesOfDay()53val arbitraryHourOfDay = hoursOfDay()54val arbitraryHourOfAmPm = hoursOfAmPm()55val arbitraryAmPm = amPms()56val arbitraryChronology = chronologies()57import io.kotest.property.*58val arbitraryDate = dates()59val arbitraryLocalDate = localDates()

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run Kotest automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful