Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bkosm/ktuple
A kotlin-native library introducing a tuple data class as a standard Collection implementation.
https://github.com/bkosm/ktuple
kotlin tdd testing tuple
Last synced: 19 days ago
JSON representation
A kotlin-native library introducing a tuple data class as a standard Collection implementation.
- Host: GitHub
- URL: https://github.com/bkosm/ktuple
- Owner: bkosm
- License: apache-2.0
- Created: 2022-11-16T15:58:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-09T16:13:23.000Z (about 2 years ago)
- Last Synced: 2024-11-14T19:45:54.240Z (3 months ago)
- Topics: kotlin, tdd, testing, tuple
- Language: Kotlin
- Homepage:
- Size: 109 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ktuple
![tests](https://github.com/bkosm/ktuple/actions/workflows/tests.yml/badge.svg)
![dependencies](https://github.com/bkosm/ktuple/actions/workflows/dependencies.yml/badge.svg)
![coverage](.github/badges/jacoco.svg)
![branches](.github/badges/branches.svg)
[![](https://jitpack.io/v/bkosm/ktuple.svg)](https://jitpack.io/#bkosm/ktuple)A kotlin-native library introducing a tuple data class as a standard Collection implementation.
It supports entries up to 10 in size, providing excellent DX on top.## easy to use tuples to speed up the creation of dynamic tests
https://github.com/bkosm/ktuple/blob/412c26ae38809359b4299e6dd1f7015f79868237/src/test/kotlin/com/bkosm/ktuple/examples/InMemoryPowerCalcTest.kt#L13-L34
## tests make the best documentation
https://github.com/bkosm/ktuple/blob/593a02d7ac1040d0af5c939856355d90f065468b/src/test/kotlin/com/bkosm/ktuple/TupleTest.kt#L9-L115
## currently available via JitPack
```kts
repositories {
// all the other ones that you might need...maven { url = uri("https://jitpack.io") }
}// and then
dependencies {
// all the other ones that you might need...
testImplementation("com.github.bkosm:ktuple:1.3.0")
}
```## you decide on the features!
Drop an issue with what functionality you could use in your Kotlin tuple or submit a PR!