Kotlin libraries

kotlin-test

kotlin.test

The kotlin.test library provides annotations to mark test functions and a set of utility functions for performing assertions in tests, independently of the test framework being used.

The test framework is abstracted through the Asserter class. A basic Asserter implementation is provided out of the box. Note that the class is not intended to be used directly from tests, use instead the top-level assertion functions which delegate to the Asserter.

The library consists of the modules:

  • kotlin-test-common – assertions for use in common code;

  • kotlin-test-annotations-common – test annotations for use in common code;

  • kotlin-test – a JVM implementation of assertions from kotlin-test-common;

  • kotlin-test-junit – provides an implementation of Asserter on top of JUnit and maps the test annotations from kotlin-test-annotations-common to JUnit test annotations;

  • kotlin-test-junit5 – provides an implementation of Asserter on top of JUnit 5 and maps the test annotations from kotlin-test-annotations-common to JUnit 5 test annotations;

  • kotlin-test-testng – provides an implementation of Asserter on top of TestNG and maps the test annotations from kotlin-test-annotations-common to TestNG test annotations;

  • kotlin-test-js – a JS implementation of common test assertions and annotations with the out-of-the-box support for Jasmine, Mocha, and Jest testing frameworks, and an experimental way to plug in a custom unit testing framework.

kotlin.test

The kotlin.test library provides annotations to mark test functions and a set of utility functions for performing assertions in tests, independently of the test framework being used.

The test framework is abstracted through the Asserter class. A basic Asserter implementation is provided out of the box. Note that the class is not intended to be used directly from tests, use instead the top-level assertion functions which delegate to the Asserter.

The library consists of the modules:

  • kotlin-test-common – assertions for use in common code;

  • kotlin-test-annotations-common – test annotations for use in common code;

  • kotlin-test – a JVM implementation of assertions from kotlin-test-common;

  • kotlin-test-junit – provides an implementation of Asserter on top of JUnit and maps the test annotations from kotlin-test-annotations-common to JUnit test annotations;

  • kotlin-test-junit5 – provides an implementation of Asserter on top of JUnit 5 and maps the test annotations from kotlin-test-annotations-common to JUnit 5 test annotations;

  • kotlin-test-testng – provides an implementation of Asserter on top of TestNG and maps the test annotations from kotlin-test-annotations-common to TestNG test annotations;

  • kotlin-test-js – a JS implementation of common test assertions and annotations with the out-of-the-box support for Jasmine, Mocha, and Jest testing frameworks, and an experimental way to plug in a custom unit testing framework.

kotlin.test

The kotlin.test library provides annotations to mark test functions and a set of utility functions for performing assertions in tests, independently of the test framework being used.

The test framework is abstracted through the Asserter class. A basic Asserter implementation is provided out of the box. Note that the class is not intended to be used directly from tests, use instead the top-level assertion functions which delegate to the Asserter.

The library consists of the modules:

  • kotlin-test-common – assertions for use in common code;

  • kotlin-test-annotations-common – test annotations for use in common code;

  • kotlin-test – a JVM implementation of assertions from kotlin-test-common;

  • kotlin-test-junit – provides an implementation of Asserter on top of JUnit and maps the test annotations from kotlin-test-annotations-common to JUnit test annotations;

  • kotlin-test-junit5 – provides an implementation of Asserter on top of JUnit 5 and maps the test annotations from kotlin-test-annotations-common to JUnit 5 test annotations;

  • kotlin-test-testng – provides an implementation of Asserter on top of TestNG and maps the test annotations from kotlin-test-annotations-common to TestNG test annotations;

  • kotlin-test-js – a JS implementation of common test assertions and annotations with the out-of-the-box support for Jasmine, Mocha, and Jest testing frameworks, and an experimental way to plug in a custom unit testing framework.

kotlin.test

The kotlin.test library provides annotations to mark test functions and a set of utility functions for performing assertions in tests, independently of the test framework being used.

The test framework is abstracted through the Asserter class. A basic Asserter implementation is provided out of the box. Note that the class is not intended to be used directly from tests, use instead the top-level assertion functions which delegate to the Asserter.

The library consists of the modules:

  • kotlin-test-common – assertions for use in common code;

  • kotlin-test-annotations-common – test annotations for use in common code;

  • kotlin-test – a JVM implementation of assertions from kotlin-test-common;

  • kotlin-test-junit – provides an implementation of Asserter on top of JUnit and maps the test annotations from kotlin-test-annotations-common to JUnit test annotations;

  • kotlin-test-junit5 – provides an implementation of Asserter on top of JUnit 5 and maps the test annotations from kotlin-test-annotations-common to JUnit 5 test annotations;

  • kotlin-test-testng – provides an implementation of Asserter on top of TestNG and maps the test annotations from kotlin-test-annotations-common to TestNG test annotations;

  • kotlin-test-js – a JS implementation of common test assertions and annotations with the out-of-the-box support for Jasmine, Mocha, and Jest testing frameworks, and an experimental way to plug in a custom unit testing framework.

kotlin.test

The kotlin.test library provides annotations to mark test functions and a set of utility functions for performing assertions in tests, independently of the test framework being used.

The test framework is abstracted through the Asserter class. A basic Asserter implementation is provided out of the box. Note that the class is not intended to be used directly from tests, use instead the top-level assertion functions which delegate to the Asserter.

The library consists of the modules:

  • kotlin-test-common – assertions for use in common code;

  • kotlin-test-annotations-common – test annotations for use in common code;

  • kotlin-test – a JVM implementation of assertions from kotlin-test-common;

  • kotlin-test-junit – provides an implementation of Asserter on top of JUnit and maps the test annotations from kotlin-test-annotations-common to JUnit test annotations;

  • kotlin-test-junit5 – provides an implementation of Asserter on top of JUnit 5 and maps the test annotations from kotlin-test-annotations-common to JUnit 5 test annotations;

  • kotlin-test-testng – provides an implementation of Asserter on top of TestNG and maps the test annotations from kotlin-test-annotations-common to TestNG test annotations;

  • kotlin-test-js – a JS implementation of common test assertions and annotations with the out-of-the-box support for Jasmine, Mocha, and Jest testing frameworks, and an experimental way to plug in a custom unit testing framework.

kotlin.test

The kotlin.test library provides annotations to mark test functions and a set of utility functions for performing assertions in tests, independently of the test framework being used.

The test framework is abstracted through the Asserter class. A basic Asserter implementation is provided out of the box. Note that the class is not intended to be used directly from tests, use instead the top-level assertion functions which delegate to the Asserter.

The library consists of the modules:

  • kotlin-test-common – assertions for use in common code;

  • kotlin-test-annotations-common – test annotations for use in common code;

  • kotlin-test – a JVM implementation of assertions from kotlin-test-common;

  • kotlin-test-junit – provides an implementation of Asserter on top of JUnit and maps the test annotations from kotlin-test-annotations-common to JUnit test annotations;

  • kotlin-test-junit5 – provides an implementation of Asserter on top of JUnit 5 and maps the test annotations from kotlin-test-annotations-common to JUnit 5 test annotations;

  • kotlin-test-testng – provides an implementation of Asserter on top of TestNG and maps the test annotations from kotlin-test-annotations-common to TestNG test annotations;

  • kotlin-test-js – a JS implementation of common test assertions and annotations with the out-of-the-box support for Jasmine, Mocha, and Jest testing frameworks, and an experimental way to plug in a custom unit testing framework.

kotlin.test

The kotlin.test library provides annotations to mark test functions and a set of utility functions for performing assertions in tests, independently of the test framework being used.

The test framework is abstracted through the Asserter class. A basic Asserter implementation is provided out of the box. Note that the class is not intended to be used directly from tests, use instead the top-level assertion functions which delegate to the Asserter.

The library consists of the modules:

  • kotlin-test-common – assertions for use in common code;

  • kotlin-test-annotations-common – test annotations for use in common code;

  • kotlin-test – a JVM implementation of assertions from kotlin-test-common;

  • kotlin-test-junit – provides an implementation of Asserter on top of JUnit and maps the test annotations from kotlin-test-annotations-common to JUnit test annotations;

  • kotlin-test-junit5 – provides an implementation of Asserter on top of JUnit 5 and maps the test annotations from kotlin-test-annotations-common to JUnit 5 test annotations;

  • kotlin-test-testng – provides an implementation of Asserter on top of TestNG and maps the test annotations from kotlin-test-annotations-common to TestNG test annotations;

  • kotlin-test-js – a JS implementation of common test assertions and annotations with the out-of-the-box support for Jasmine, Mocha, and Jest testing frameworks, and an experimental way to plug in a custom unit testing framework.

kotlin.test

The kotlin.test library provides annotations to mark test functions and a set of utility functions for performing assertions in tests, independently of the test framework being used.

The test framework is abstracted through the Asserter class. A basic Asserter implementation is provided out of the box. Note that the class is not intended to be used directly from tests, use instead the top-level assertion functions which delegate to the Asserter.

The library consists of the modules:

  • kotlin-test-common – assertions for use in common code;

  • kotlin-test-annotations-common – test annotations for use in common code;

  • kotlin-test – a JVM implementation of assertions from kotlin-test-common;

  • kotlin-test-junit – provides an implementation of Asserter on top of JUnit and maps the test annotations from kotlin-test-annotations-common to JUnit test annotations;

  • kotlin-test-junit5 – provides an implementation of Asserter on top of JUnit 5 and maps the test annotations from kotlin-test-annotations-common to JUnit 5 test annotations;

  • kotlin-test-testng – provides an implementation of Asserter on top of TestNG and maps the test annotations from kotlin-test-annotations-common to TestNG test annotations;

  • kotlin-test-js – a JS implementation of common test assertions and annotations with the out-of-the-box support for Jasmine, Mocha, and Jest testing frameworks, and an experimental way to plug in a custom unit testing framework.

kotlin.test

The kotlin.test library provides annotations to mark test functions and a set of utility functions for performing assertions in tests, independently of the test framework being used.

The test framework is abstracted through the Asserter class. A basic Asserter implementation is provided out of the box. Note that the class is not intended to be used directly from tests, use instead the top-level assertion functions which delegate to the Asserter.

The library consists of the modules:

  • kotlin-test-common – assertions for use in common code;

  • kotlin-test-annotations-common – test annotations for use in common code;

  • kotlin-test – a JVM implementation of assertions from kotlin-test-common;

  • kotlin-test-junit – provides an implementation of Asserter on top of JUnit and maps the test annotations from kotlin-test-annotations-common to JUnit test annotations;

  • kotlin-test-junit5 – provides an implementation of Asserter on top of JUnit 5 and maps the test annotations from kotlin-test-annotations-common to JUnit 5 test annotations;

  • kotlin-test-testng – provides an implementation of Asserter on top of TestNG and maps the test annotations from kotlin-test-annotations-common to TestNG test annotations;

  • kotlin-test-js – a JS implementation of common test assertions and annotations with the out-of-the-box support for Jasmine, Mocha, and Jest testing frameworks, and an experimental way to plug in a custom unit testing framework.

Packages

Link copied to clipboard
Common
JS
JUnit
JUnit5
JVM
Native
TestNG
Wasm-JS
Wasm-WASI

Annotations to mark test functions and top-level functions for performing assertions in tests.

Link copied to clipboard
JUnit
Link copied to clipboard
JUnit5
Link copied to clipboard
TestNG

Index

All Types

Thanks for your feedback!

Was this page helpful?
[フレーム]
How can we improve?
Enter your name and email address if you would like to receive a follow-up message or contact our support.
By submitting this form, I agree that JetBrains s.r.o. ("JetBrains") may use my name, email address, phone number, and country of residence to provide support. I agree that JetBrains may process said data using third-party services for this purpose in accordance with the JetBrains Privacy Policy.

AltStyle によって変換されたページ (->オリジナル) /