# kotlin-test

> Standard Testing Library for Kotlin Applications

Latest version **1.9.25** (published 2024-07-19) · Apache-2.0 license · 142 weekly downloads

## Install

```sh
npm install kotlin-test
pnpm add kotlin-test
yarn add kotlin-test
bun add kotlin-test
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.9.25 |
| Published | 2024-07-19 |
| First published | 2017-10-19 |
| Weekly downloads | 142 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 267.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 53422 |
| Author | JetBrains |
| Maintainers | kotlin, bashor |
| Keywords | Kotlin, Language, Testing, JavaScript, JetBrains |

## Links

- npm: https://www.npmjs.com/package/kotlin-test
- Repository: https://git@github.com/JetBrains/kotlin
- Homepage: http://kotlinlang.org
- npm.io page: https://npm.io/package/kotlin-test

## Dependencies (1)

- [kotlin](https://npm.io/package/kotlin.md) 1.9.25

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 1.9.25 (latest) — 2024-07-19
- 1.9.20-RC2 (dev) — 2023-10-24
- 1.9.24 — 2024-05-07
- 1.9.23 — 2024-03-07
- 1.9.22 — 2023-12-21
- 1.9.21 — 2023-11-23
- 1.9.20 — 2023-10-31
- 1.9.20-RC — 2023-10-11
- 1.9.20-Beta2 — 2023-09-22
- 1.9.20-Beta — 2023-09-08
- 1.9.10 — 2023-08-23
- 1.9.0 — 2023-07-06
- 1.9.0-RC — 2023-06-19
- 1.8.22 — 2023-06-07
- 1.9.0-Beta — 2023-05-23
- … 142 more at https://npm.io/package/kotlin-test/versions

## README

# Kotlin Test

> [!WARNING]  
> This package has been deprecated.
>
> Kotlin/JS does not currently support working with npm packages.

The `kotlin-test` module is used by the [Kotlin/JS](https://kotlinlang.org/docs/tutorials/javascript/kotlin-to-javascript/kotlin-to-javascript.html)
compiler output for performing assertions in tests, independently of the test framework being used. 

The library includes out-of-the-box support for [Jasmine](https://jasmine.github.io/), 
[Mocha](https://mochajs.org/), [Jest](https://facebook.github.io/jest/),
and [QUnit](https://qunitjs.com).

Try out the [examples](https://github.com/JetBrains/kotlin-examples/tree/master/gradle/js-tests),
read the [forum post](https://discuss.kotlinlang.org/t/unit-testing-in-kotlin-js/3943)
and the [library documentation](https://kotlinlang.org/api/latest/kotlin.test/kotlin.test/index.html) 
for more information.

## Handy links

 * [Kotlin Site](https://kotlinlang.org/)
 * [Getting Started Guide](https://kotlinlang.org/docs/tutorials/javascript/getting-started-idea/getting-started-with-intellij-idea.html)
 * [Try Kotlin](https://try.kotlinlang.org/)
 * [Kotlin Standard Library](https://kotlinlang.org/api/latest/jvm/stdlib/index.html)
 * [Issue Tracker](https://youtrack.jetbrains.com/issues/KT)
 * [Forum](https://discuss.kotlinlang.org/)
 * [Kotlin Blog](https://blog.jetbrains.com/kotlin/)
 * [Follow Kotlin on Twitter](https://twitter.com/kotlin)
 * [Public Slack channel](https://slack.kotlinlang.org/)
 * [TeamCity CI build](https://teamcity.jetbrains.com/project.html?tab=projectOverview&projectId=Kotlin)

## Editing Kotlin

 * [Kotlin IntelliJ IDEA Plugin](https://kotlinlang.org/docs/tutorials/getting-started.html)
 * [Kotlin Eclipse Plugin](https://kotlinlang.org/docs/tutorials/getting-started-eclipse.html)
 * [Kotlin TextMate Bundle](https://github.com/vkostyukov/kotlin-sublime-package)

---
_Source: https://npm.io/package/kotlin-test · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
