{"id":15111274,"url":"https://github.com/kotools/assert","last_synced_at":"2025-09-27T13:30:26.434Z","repository":{"id":51446749,"uuid":"458307252","full_name":"kotools/assert","owner":"kotools","description":"Kotlin Multiplatform library providing lightweight assertions.","archived":true,"fork":false,"pushed_at":"2023-11-25T11:16:15.000Z","size":341,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-09-27T00:02:49.017Z","etag":null,"topics":["assert","assertions","kotlin","kotlin-js","kotlin-jvm","kotlin-multiplatform","kotlin-native"],"latest_commit_sha":null,"homepage":"https://kotools.github.io/assert","language":"Kotlin","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/kotools.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-02-11T19:00:06.000Z","updated_at":"2023-11-25T11:19:29.000Z","dependencies_parsed_at":"2023-11-25T12:24:22.720Z","dependency_job_id":"835093f7-d90d-491c-9404-50c9d12f9671","html_url":"https://github.com/kotools/assert","commit_stats":{"total_commits":90,"total_committers":1,"mean_commits":90.0,"dds":0.0,"last_synced_commit":"082efd0781f4bac4123b0d61ff12cc8040f82208"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kotools%2Fassert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kotools%2Fassert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kotools%2Fassert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kotools%2Fassert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kotools","download_url":"https://codeload.github.com/kotools/assert/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234438020,"owners_count":18832605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["assert","assertions","kotlin","kotlin-js","kotlin-jvm","kotlin-multiplatform","kotlin-native"],"created_at":"2024-09-26T00:02:59.638Z","updated_at":"2025-09-27T13:30:26.150Z","avatar_url":"https://github.com/kotools.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e This project is deprecated.\n\u003e We recommend using the [testing library from Kotlin][kotlin.test] instead.\n\n[kotlin.test]: https://kotlinlang.org/api/latest/kotlin.test\n\n# Kotools Assert\n\n[![Maven Central](https://img.shields.io/maven-central/v/io.github.kotools/assert)](https://search.maven.org/artifact/io.github.kotools/assert)\n[![Kotlin](https://img.shields.io/badge/kotlin-1.5.31-blue.svg?logo=kotlin)][kotlin]\n\nKotools Assert is a multiplatform library providing lightweight assertions for\n[Kotlin].\n\u003e This library currently supports the JVM, JS and Native platforms.\n\n```kotlin\n1 assertEquals 1\n2 assertNotEquals 0\n\nassertNull { null }\nnull.assertNull()\n\nassertNotNull { 3 }\n3.assertNotNull()\n\nassertPass { println(\"Hello\") }\nassertFails { throw Exception() }\nassertFailsWith\u003cRuntimeException\u003e { throw RuntimeException() }\n```\n\n[kotlin]: https://kotlinlang.org\n\n## Installation\n\n### Gradle\n\n#### Kotlin DSL\n\n```kotlin\ntestImplementation(\"io.github.kotools:assert:3.0.2\")\n```\n\n#### Groovy DSL\n\n```groovy\ntestImplementation 'io.github.kotools:assert:3.0.2'\n```\n\n### Maven\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.kotools\u003c/groupId\u003e\n    \u003cartifactId\u003eassert\u003c/artifactId\u003e\n    \u003cversion\u003e3.0.2\u003c/version\u003e\n    \u003cscope\u003etest\u003c/scope\u003e\n\u003c/dependency\u003e\n```\n\n## Documentation\n\nLatest documentation of Kotools Assert is available\n[here](https://kotools.github.io/assert).\n\n## Contributing\n\nFeel free to contribute to the project with\n[issues](https://github.com/kotools/assert/issues) and\n[pull requests](https://github.com/kotools/assert/pulls).\n\nThis project follows the [Conventional Commits][conventional-commits] guidelines\nfor committing with Git.\nPlease read [the specifications][conventional-commits] before committing to this\nproject.\n\n[conventional-commits]: https://www.conventionalcommits.org/en/v1.0.0/\n\n## License\n\nThis project is licensed under the\n[MIT License](https://choosealicense.com/licenses/mit).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkotools%2Fassert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkotools%2Fassert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkotools%2Fassert/lists"}